Introduction to MVC Programming with Agavi, part 5th: Adding paging, uploading files, and custom input validators for Agavi applications
Brief introduction
At the end of part 4th of this series, you already have a full-featured WEB application that includes management modules, search engines, and XML output capabilities. Now, you may be scratching your head about the topics discussed in this article, as the basic requirements for WEB automobiles Sales Platform (WASP) applications have been met.
In the final article, I'll discuss some of the additional techniques and concepts you must use to build your WEB application. These technologies cover a larger range, sorted from simple paging and database records, to complex upload and write custom input validators through Web form support files. For all of these cases, the Agavi framework provides some built-in tools to help you get your work done more easily, faster, and more securely. Let's get moving now!
Database records sorting
First, we introduce the paging and sorting of the result set. Figure 1 shows how to display the result set Http://wasp.localhost/admin/listing/index the summary page of the management module.
Figure 1. WASP List Summary Page