Components

The Zoop PHP Framework is made up of a collection of components.

app

  • error handling, including logging.
  • XMLRPC client/server integration
  • public file handling (Javascript AJAX files)
  • general purpose functions

zone

  • url based front-controller
  • simple creation of new pages
  • encourages organization of similar or cooperative pages into zones.
  • separates GET requests from POST requests using page/post functions
  • Zone hierarchy allows for simplified security checking.
  • Encourages a Model/View/Controller architecture.

gui

  • Smarty integration
  • Powerful, light and efficient templating system.

guicontrols

  • Take control of your web forms!!
  • Highly extendable and reusable.
  • Integrated js and php type and format validation.
  • Best described as a php implementation of .Net's webcontrols, but more powerful.

db

  • database connectivity to any database supported by PEARDB
  • sql_* functions that use the default connection to return formatted data from your queries
  • ComplexUpdate for updates of multiple rows.
  • db_utils... a bunch of nice functions for dealing with database data.

forms

  • Automates Advanced Listing and searching of records from a single database table (includes sorting and pagination).
  • Automates the process of Viewing, Creating and Editing Records from a table.
  • Uses GuiControls so forms are automatically type and format validated.
  • Extremely quick and simple to use while providing detailed control for those desiring it.
  • Intended to tie the database and the gui together simply.

caching (since 1.2)

  • A Quick and Secure caching system intended to store data.
  • Integrated throughout the zones for super easy usage.
  • Avoid unnecessary sql queries.
  • Cache has a lifespan to keep data fresh.

sequence

  • Use XML to describe navigation sequences.
  • Automate wizard-style user navigation.
  • Avoid complicated logic to handle user navigation.
  • Access these sequences manually or extend zone_sequence.

validate

  • server-side validation
  • client-side (javascript) validation
  • supports many common formats

mail

  • Templated generation of mail
  • Supports multi-part html and text email
  • Supports SMTP and sendmail for sending messages.

pdf

  • Uses Library from http://www.ros.co.nz/pdf for generating pdf files.
  • Wraps library with HTML-alike structures such as PdfTable, PdfTableRow, PdfTableCell.
  • Easily create new PdfObjects to do your custom content.

session

  • Use a database instead of standard files to store sessions.
  • more session handlers to come...

storage

  • Store files in the filesystem, or in a database.
  • Transparent to your code.

userfiles (deprecated)

  • store files in a db

spell

  • Spell checking, including user added word management.