Sử dụng dòng Zend_Tool trong Ví dụ 4-10 để tạo ra các hành động và xem. Ví dụ 4-10. Danh sách hành động với Zend_Tool zf hành động tạo ra danh sách lỗi Bây giờ mở bộ điều khiển lỗi để cập nhật hành động này. Trong thời gian này, điều này sẽ tạo ra một mới | CHAPTER 6 MANAGING CONTENT 112 Figure 6-3. The open page Summary In this chapter you learned how to use the abstract data models that you created in the previous chapter to manage your site s standard content pages. You created your CMS page form and then created the functions to create read update and delete content pages. Once this CRUD management was out of the way you created the list your default view and open views for the CMS. Download at C H A P T E R 7 Creating the Site Navigation Creating a clean design that catches your visitor s attention and writing compelling content are inarguably critical keys of a high-quality website but without efficient navigation your site will flounder. The attention span of a typical web surfer is measured in seconds so if they are not able to find the information they are looking for at a glance they will almost instantly click away to a competitor s site. When you are developing a CMS you need to develop tools that make it easy and intuitive for your site managers to build and manage efficient menus. How CMSs Manage Menus You have a range of options when managing navigation ranging from blog systems that automate the entire process following a linear convention that people have learned to low-level CMSs that require you to write custom code to create the menus. Each of these extremes has pros and cons. The blog approach takes navigation out of the hands of the writer so they do not have to worry about it. This works only for a site that follows the dictated convention so this approach lacks the flexibility that many sites require. The low-level CMSs give an experienced developer ultimate control over how the navigation works. The issue with this approach is that it usually requires some expertise to update and manage the navigation. Like most software solutions your CMS will be a compromise between these two extremes. It will not automate the menu creation but will make it easy for anyone to add pages to the .