Web hosts - Part II: Developing Intranet Solutions Relational Database Business

Part II: Developing Intranet Solutions Relational Database Business Logic Your PHP Application PHP Application Framework Components HTML Template-based Presentation Layer INPUT OUTPUT Figure 4-3: High-level architecture diagram of an intranet application using our framework. Using an HTML template-based presentation layer All input and output to and from the application is handled via a template-driven HTML presentation layer. When the application needs input from the user, it presents an HTML page generated from an appropriate HTML template. Similarly, when the application needs to display output, it generates an HTML page by replacing special application-specific tags within the template. This ensures that cosmetic changes to the input or output interfaces can be done without requiring help from the application developer. For example, an application that uses the template-based presentation layer can have its interface modified by an HTML writer or graphics artist. Using PHP Application Framework components The components in the PHP Application Framework (PHPAF) layer implement the base application by providing the following services: . Database abstraction support: See the Relational database section later in this chapter for details. . Centralized authentication support: All applications defer the login and logout to the central authentication facility, as discussed earlier in this chapter.

Leave a Reply