aspose file tools*
The moose likes PHP and the fly likes PHP Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "PHP Framework" Watch "PHP Framework" New topic
Author

PHP Framework

Sneha Heda
Greenhorn

Joined: Aug 08, 2012
Posts: 2
Please sugeest best PHP framework to start learning as beginner?
Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

If you are new to PHP, I suggest that you write some apps in PHP first and not try to use a framework. The problem with starting with a framework is that if something goes wrong you will have no idea on what went wrong, if you did somethign incorrectly or if the framework did something incorrectly. If you have only PHP that you wrote, you will noit have this issue.

Once you are comfortable writing PHP apps, then you can start to look at frameworks.
Sneha Heda
Greenhorn

Joined: Aug 08, 2012
Posts: 2
Thanks Nick for quick reply. I have created an application using PHP, not many though But yes, for frameworks i am newbie. I was not sure which framework should i pickup to start. So, thought of taking views from forum. Hope you got my point.
Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

I've used CakePHP, which is a Rails-like framework for PHP.

Have you seen this: http://www.phpframeworks.com/top-10-php-frameworks/

Jared Drake
Greenhorn

Joined: Aug 26, 2012
Posts: 5

New to PHP = don't use anything other than basic PHP. You will develop terrible programming habits if you start using external classes and applications. Those are basically for advanced developers who have become lazy, but still understand PHP's fundamental nature. Too many people are switching to things like Ruby on Rails (language) or depending on classes like jQuery (javascript) and Cake (php). Please, please, please try to learn the basics first. It's going to hurt a whole web of programmers down the road


I am a writer for Web Programming Tutorial and Reference
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1776
    
  16

Jared Drake wrote:New to PHP = don't use anything other than basic PHP. You will develop terrible programming habits if you start using external classes and applications. Those are basically for advanced developers who have become lazy, but still understand PHP's fundamental nature. Too many people are switching to things like Ruby on Rails (language) or depending on classes like jQuery (javascript) and Cake (php). Please, please, please try to learn the basics first. It's going to hurt a whole web of programmers down the road

It's always good advice to learn the basics of your chosen language. But once you've done that, there can be a risk of wasting a lot of effort (or money) re-inventing a square wheel instead of using the nice round one that's provided by a suitably well-written framework. Also, once somebody is paying you to build a serious application, you need to be sure you are developing robust, maintainable code as effectively as possible using standard approaches/components, and a good framework can help you to achieve this in a way that saves time and means the next person to pick up your code has a chance of understanding it because they know the framework.

FWIW, I used Zend Framework a couple of years ago and I found it to be pretty good. You can use it to create a full-stack application, or you can mix and match individual components, so you're not tied into a monolithic framework (like Spring or Rails), and ZF provides a huge range of components to support all kinds of functionality. From what I could tell, the code seemed to be decent quality, unlike many smaller PHP libraries out there!


No more Blub for me, thank you, Vicar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PHP Framework