Linux Today: Linux News On Internet Time.

More on LinuxToday

Ten Tips for Getting the Most from the Zend Framework

Sep 15, 2010, 17:34 (0 Talkback[s])


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

"To truly make your framework-driven websites hum you need to master your chosen framework's nuances, tricks and techniques. Unfortunately, uncovering these finer points often comes only after having suffered through a few poorly implemented projects. In this article I'll try to save relative newcomers to the Zend Framework some pain by identifying 10 key features that have become an indispensable part of my daily development activities.

"1. Configure Your Projects with ZF_Tool

"The Zend Framework removes many design decisions you'll need to make in terms of how your project is structured. It takes care of defining specific locations and file-naming conventions for the project's models, views, controllers, images and other ancillary files such as CSS and JavaScript. While you can manually create this structure and various MVC files, the Zend Framework offers a command-line utility known as Zend_Tool for not only generating a new project's directory structure, including the Bootstrap file and front controller, but also creating new controllers, actions, models and modules throughout the project. For instance, you can use the following four commands to create a new Zend Framework project, complete with a controller named Account containing the actions login, register and logout:"

Complete Story

Related Stories: