Skip to content

u/cyrex

In this archive from Jan 2012 to May 2023

1
posts
16
comments
1
media
38
score
1 saved before deletion

Top posts

Top comments

I'll provide an argument against Symfony 2:

It is actually a pain to get working out of the box. Following the instructions on their site to get it setup does not work on many systems without having to fix a few things. Documentation is poor and the internet is littered with lots of posts and content referencing problems and issues people had with Symfony (1) so when searching for help with Symfony 2, you will have difficulty weeding out what is current and what is not.

While Symfony 2 is definitely feature rich, it is written by a company that works on the framework, not a computer who actually uses it for real world projects. This means somethings were written for the sake of the framework and not real-world use. As an experience senior level developer (14 years), I've found Symfony to be more of a hinderance than a help. I'd go so far as to call it bloated rather than feature-rich.

A good framework is one that lets you just write your code with as little extra framework-related work as possible. I found with Symfony, I was doing more with the framework than my actual application to get things working. The command line tools are nice to have, but Symfony's CLTs are quite clunky and don't always work properly.

If you truly want to learn the MVC design pattern, I'd recommend doing some reading about design patterns and then go with something like Silex or Limonade.

Ultimately, it doesn't matter which framework you choose. Its going to take a while to get used to it and learn the ins and outs. Symfony is going to take longer than the rest if only because its so much bigger and there is more to learn.

If you go with Kohana, FuelPHP, or even Symfony 2, I urge you to embrace the crap out of it and learn as much as you can. Once you get started, be committed and don't quit when you run into problems. Fixing problems is one of the best ways to learn. Decide whether or not you like your framework only after you've mastered it.

8 points

Read these:

Read each of these they all provide extremely valuable information.

5 points

Globals are good when you are following a Registry design pattern. For example: $CONFIG or $db or something like that. These objects would contain functionality or data you need throughout your app, but don't want to pass to every function. On occasion, you do not need them, so using a global var for them works. Keep in mind that Global vars in PHP are not true global variables. They only live during the request unlike in other languages where a global variable persists.

If you are unsure of how and when to use them, I'd recommend reading up on SCOPE in the context of PHP programming. Its not a black and white issue. Its in the language and comes in quite handy when needed.

4 points

there are absolutely not irrelevant. Learning basic design (art) principles can help when doing the little bit of design work required of web development. Learning how to design a system (DoET) is extremely important for anyone in IT doing any sort of development. Learning to write well is useful for anyone that sits at a computer and needs to write documentation, reports, recommendations, emails, etc. I will teach you to be rich is just a good book to teach people how to manage money something you'll earn if you get any good at development. Mythical Man Month is really more important for project management, but still a great book for any developer to read.

The OP was asking for non-PHP related skills.. This is what was asked for. All of the technology responses are obvious choices. These touch on soft skills that most developer suck at.

3 points

It sounds like your project was too big. IF it was 17 pages, you should be able to easily break it down into more manageable mini projects. This allows you to set some pretty well defined milestones where you can change plans or go with a different developer if things aren't working out.

My hourly rate for freelance work is $125/hr. My clients get what they pay for. I wouldn't work on a project this big. I'd direct the client to break it up. For a large complicated system that is built from scratch, we'd first define a minimum viable system, build it, then add on features from there as separate projects. A good developer has to do this on their end anyways to complete the project. You can't often just take a HUGE list of changes and start working with everything in mind from day 1. You have to break it up.

3 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.