PHPBuilder - Switchbox Page 4



RSS Twitter
Articles Application Architecture

Switchbox - Page 4

by: Vic Fryzel
|
March 7, 2003

We're trying to achieve an ideal application that's efficient, powerful, fast, reusable, etc. In order to achieve this, we had to put in five minutes of extra work, that will save us hours of time later. To add a new page to our application, we add a switch to the SwitchBox, and two lines of code to the page we're using the SwitchBox on.
The SwitchBox saved us processor load by only including files needed by each page, and in doing so also increased page loading speed. It also made our code extremely reusable. And even still, our SwitchBox has made updating our page far easier, as we have to enter one line of code into our SwitchBox to achieve a new include. The SwitchBox also acts as a plan for our application. If we're curious as to what files a page uses, or why a page is saying a function is not defined, we can simply view the SwitchBox, and it shows right there what files are being used or not used by the page.
There you have it. I hope that this article has helped everyone to better achieve their ideal applications.
--Vic Fryzel

« Previous Page
1
|
2
|
3
|
4

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Vic Fryzel

Comment:



Comment:

(Maximum characters: 1200). You have characters left.