News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Juozas Kaziukenas' Blog:
Zend Framework tips and tricks
February 01, 2010 @ 09:46:30

Juozas Kaziukenas has a new post to his blog with some tips and tricks for working with the Zend Framework including working with globals, using the framework part of the framework and getting form values a bit more correctly.

Most of the outlined problems and solutions are focused on testability, maintainability and other good code practices. If you are not familiar with them, I recommend read about them ASAP as there is big chance that you are doing those things described in this post and don't even realize how wrong they are. Believe me, you will soon find yourself a way better developer.

He also advocates splitting out logic and putting it into a model to make future enhancements easier (and make for cleaner code), avoiding the use of exit/die in your scripts and quick mentions of the includePaths setting in the application.ini file as well as things like addJavascriptFile/addStylesheet/addOnload.

0 comments voice your opinion now!
zendframework tip trick


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: The Story and Rebirth Of Zend_Service_Audioscrobbler, Part 1

Community News: Latest PECL Releases for 10.12.2010

Community News: Packagist Latest Releases for 06.23.2014

Jacques Marneweck's Blog: Smarty tip for including multiple javascript files

Community News: Packagist Latest Releases for 06.23.2013


Community Events





Don't see your event here?
Let us know!


framework refactor introduction community list developer testing threedevsandamaybe release series unittest language install podcast laravel symfony2 code opinion configure interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework