tags:

views:

1369

answers:

4

I want to start using framework to ease my new programming life.but am confuse on which to start using ,because am not that experienced in PHP. any suggestions,i would prefer a framework built on PHP5

A: 

I would suggest furthering your PHP skills before moving onto frameworks but otherwise I would reccommend the Zend Framework. I chose to learn to use ZF last year mainly because it was the only framework I could find using PHP5 effectively but also because it had OpenID functionality (and was unwilling to use the large JanRain library). Symfony is another great PHP5 framework (but I found it a little strange to start with).

Ross
+2  A: 

I'm not entirely convinced that using a framework to learn writing PHP is a good approach. Instead of needing to only understand the language, you'd need to understand the language AND learn the framework. This has a high risk of becoming a copy/paste style of learning, which is not only dangerous, it will bite you in the behind sooner or later.

Anyhow, since you are a beginner in PHP, I'm not sure whether you even need a framework yet. You probably are not going to write a complex web application any time soon, where the frameworks come to help you. I'd hazard to argue that frameworks make it actually more troublesome to be used with small projects, with all the setup overhead and whatnot.

Henrik Paul
For PHP I would recomend learning with some framework. If he gets his hands on the manual and combines that with lack of design patterns...It would be better to do for instance codeigniter copy paste rather than wite php spaghetti...
Marek Mollin
A: 

I've been using Zend's for a year now, it's a nice quickstart that will give you an idea.

patchinko
+1  A: 

I agree with others here. PHP is not like .NET programming where there is one obvious framework you must learn. With PHP you're best off learning the core language capabilities and bookmark and keep studying the PHP Manual.

Best way to learn I think is to solve some simple problems for yourself. Write a RESTful webservice. Or alternatively, download install and take a good look at a widely-used CMS like say Drupal. Knowing some practical applications of PHP like that will be better for your resume in the long run, believe me.

Scott Evernden