3 things you should avoid in developing Web 2.0 apps
Hazrul Azhar Jamari • 21st Apr 2009 • My Notes, Business, Internet Presence, My Notes • FAQs Help and Tutorials, Frameworks, Languages, Model-view-controller, PHP, Programming, Scripts
- When writing in MVC, avoid a fat controller. Try a fat model layer instead. I’ve been trying this method and it makes my controller more understandable.
- Never write any line of code without proper planning. If you’re using those PHP MVC frameworks that don’t do database migrations like Rails, write the Model and its attributes in notepad and the basic flow of each controller to give you an understanding of what needs to be done.
- Don’t deploy without testing and going through at least 1 round of practice live migration. It will save you lots of time and headaches for when the problems do appear.
No Comments Comments Feed
Add a Comment
You must be logged in to post a comment.