Manuel Lemos Founder Of PHPClasses.org gave a wonderful insight on PHP, following are some key points that stand out.
To begin with here is an opening statement:
Focus On The Problems Rather Than The Means To Solve Them
- This is the #31st set of PHP Interview to help aspiring PHP developers and PHP fans alike to get inspired by listening from those PHP guys who are already highly involved into the PHP Ocean
- Its is an opportunity for new PHPers to get to know their PHP Elders
- PHP is the pragmatic spirit of the people that developed the language features
- Developers that have came out of college recently are a bit obsessed to use all the design patterns they learned in school.
- Your software should be self-explanatory even without comments. It should be easy to read and understand what it does.
- Unnecessary complexity will cost more to develop
- IMP: Practice a lot
- If your day job is to work for somebody else, try creating your own sites for an useful purpose
- The best PHP book: The PHP online manual
- To debug your PHP code : error_log() and print_r() is what I often use in my development environment to inspect values and output them in a way that does not interfere with the execution of the code
- PHP is so powerful that it already provides the basic building blocks to do it with minimal amount of code.
- For database abstraction I use Metabase which is package that I started in 1999
For more information on PHP Interview With Manuel Lemos Founder Of PHPClasses.org visit :
Based on the interview I can easily say that we should apply the KISS principle (“Keep it simple, stupid”), as it becomes very easy to manage and run code and keeping in mind the end result i.e. Users Satisfaction