PHP
  Home arrow PHP arrow Page 2 - The Design of an Intranet Application ...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Moblin 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

The Design of an Intranet Application Framework
By: Chris Neeman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 6
    2007-07-25

    Table of Contents:
  • The Design of an Intranet Application Framework
  • Intranet File Structure
  • Design Code/Templates
  • More on Templates

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    The Design of an Intranet Application Framework - Intranet File Structure


    (Page 2 of 4 )

    All applications that are going to be used on this intranet must adhere to the following rules:

    • They must all have a configuration file that contains application specific data such as the name of the application and database access credentials:

    $appname="appname";
    $dbsupport =FALSE or TRUE;
    //db connection details
    $dbtype = 'mysql';
    $dbhost = 'localhost';
    $dbname = '';
    $dbusername = 'root';
    $dbpass = '';
    $dbpath = "$dbtype://$dbuser:$dbpass@$dbhost/$dbname";
    $requires_db_access=TRUE;

    • All applications must be object oriented in nature. This is not as much a rule as an optional requirement. An application does not have to be object oriented, but for the sake of consistency, if nothing else, I would suggest that it is written in object oriented code.

    The file structure itself is very simple. Each application is going to have only one page which will take input and show output. How exactly a given application will function will be shown when we actually create the applications later on. The overall intranet file structure will look like this:

    Below is a screen shot of what the intranet front page looks like:

    More PHP Articles
    More By Chris Neeman


       · The article is OK, but the intranet requires more modules than stated on this...
       · it's true!
     

       

    PHP ARTICLES

    - Sub Classing Exceptions in PHP 5
    - Authentication for Web Application Security
    - Building a Content Management System with Co...
    - Filters and Login Systems for Web Applicatio...
    - Working with the Email Class in Code Igniter
    - Building Your Own System Tray Application Us...
    - Structuring Your Projects for Web Applicatio...
    - Inserting, Updating and Deleting Database Ro...
    - Building Your Own Desktop Notepad Applicatio...
    - Web Application Security Overview
    - Working with the Active Record Class in Code...
    - Generate PDF Documents with PHP on the Windo...
    - Sending Email with PHP Networking
    - Performing Strict Validation with the Code I...
    - The preg_replace_callback() function in PHP





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT