Home arrow PHP arrow Page 5 - Scratching the Surface: Getting Started with PHP Fusebox

Fusebox Naming Conventions - PHP

Originally designed for ColdFusion, Fusebox is a methodology for designing web-applications with extensibility and ease of maintenance that is now available for PHP.

TABLE OF CONTENTS:
  1. Scratching the Surface: Getting Started with PHP Fusebox
  2. Step 1: Setting Up the Core Files
  3. What do the "core files" do?
  4. A Word on FuseDocs
  5. Fusebox Naming Conventions
  6. Picking Up Where We Left Off: Setting Up the Core Files
  7. Using XFAs
  8. Step 2: Creating the "Biography" Circuit
  9. Almost There!
  10. PHP-Fusebox Links
  11. Fusebox Links
By: Mike Britton
Rating: starstarstarstarstar / 8
May 29, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

You're trying to make a website, so you'll obviously need content.  The files that make up your Fusebox application are broken down into a few different categories:

fbx_xxx.php

The Fusebox "core" files, or files that act together to provide the Fusebox functionality.

dsp_xxx.php

Display fuses, prefixed with "dsp", are used to show information to the user.

qry_xxx.php

Query fuses, prefixed with "qry", contain all your database queries.

act_xxx.php

Action fuses, prefixed with "act", typically perform some kind of action, such as emailing someone with the mail() function.

url_xxx.php

Location fuses, prefixed with url, redirect the application to a new URL.

Keeping the responsibilities of each type of file in mind, it should become apparent how to properly fashion your FuseDocs.  A good rule of thumb is to make sure a developer who knows nothing about the overall application can code each fuse based entirely on the fusedoc.



 
 
>>> More PHP Articles          >>> More By Mike Britton
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- 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: