Home arrow PHP arrow Page 3 - An Introduction to Intranet Application Frameworks

Presentation Layer - PHP

You can use software in a number of ways to improve the efficiency of employees in a company. If there is an intranet set up, you may want to create applications that take advantage of it to help your workers keep track of various projects. To make this work, you'll want to start with an application framework.

  1. An Introduction to Intranet Application Frameworks
  2. The Intranet
  3. Presentation Layer
  4. Database Support
By: Chris Neeman
Rating: starstarstarstarstar / 8
July 18, 2007

print this article



The presentation layer will consist of an HTML template. This template will collect all the input from the user when required; it will also present output when required to do so by the user. HTML is generally used for this purpose.

The most common HTML data collection tool is the form. We are going to be seeing a lot of it during the course of this article. I've generated all the templates using Dreamweaver. Dreamweaver makes it easy to make cosmetic changes to aspects of a template that you want to change.

Application Framework

The application framework will consists of three core components:

Database support - This component will offer database abstraction to the applications. See the section on database support on the next page. 

Error handling - All applications will need debugging and error handling during and after development. This error handling class will offer such support. Therefore, all applications that use the framework will have to use this support to generate error messages in a uniform way.

Authorization and Authentication - None of the applications using the framework will have to deal with logging users in and out of the system. This will be done by the central authorization facility. Each application will have to use its own business logic to decide which users to grant and deny access. This component will use the database support from the framework to find out whether a user exists and if so, it will redirect the user to the index page of the intranet site; otherwise the user will be informed that her login details did not match.

>>> More PHP Articles          >>> More By Chris Neeman

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: