Leon's Weblog

October 13, 2005

PHP Application Framework Design: 4 – Forms and Events

Filed under: Software Dev — Leon @ 9:41 am

This is part 4 of a multi-part series on the design of a complete application framework written in PHP. In part 1, we covered the basic class structure of the framework and laid out the scope of the project. The second part described methods for managing users and session data. The third part described a practical implementation of page templates. In this fourth and final section, we will expand on our implementation of page templates to provide the web application persistent form data capabilities. We will also apply the framework to built an error page and a page dispatcher.

(more…)

PHP Application Framework Design: 3 – Page Templates

Filed under: Software Dev — Leon @ 9:16 am

This is part 3 of a multi-part series on the design of a complete application framework written in PHP. In part 1, we covered the basic class structure of the framework and laid out the scope of the project. The second part described methods for managing users and session data. This part describes a practical implementation of page templates and the separation of application logic from the presentation layer.

(more…)

PHP Application Framework Design: 2 – Managing Users

Filed under: Software Dev — Leon @ 9:13 am

This is part 2 of a multi-part series on the design of a complete application framework written in PHP. In part 1, we covered the basic class structure of the framework and laid out the scope of the project. This part adds session handling to our application and illustrates ways of managing users.

(more…)

PHP Application Framework Design: 1 – Getting Started

Filed under: Software Dev — Leon @ 9:10 am

This article describes the design of a complete application framework written in PHP. The reader is assumed to have a working knowledge of PHP. This part of the series describes the scope of the framework and goes over the initial class hierarchy. The following parts cover everything from session handling to creating page templates.

(more…)