Skip to content

A PHP framework for quick and manageable data applications

Notifications You must be signed in to change notification settings

snydergd/framework3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

framework3

A PHP framework for quick and manageable data applications

Structure

There are 4 classes of objects:

  1. The Framework object simply decides, based http request information, what page, template, etc. to use
  2. Pages just are unique "Activities" (as they are called in android), which assign modules to positions on the template
  3. Modules define ways of displaying/managing pieces of information
  4. Queries define a piece of information for modules to work with

Files

In the framework, each parent objects for these are defined in a "lib" directory, and pages, modules, and queries have their own directories. Additionally templates and their image, css, and js resources are in a templates directory.

Implementation

To implement the framework, you would just define a "Query" object for each of the data objects in your application. These objects have functions which modify their object and return it for object chaining. After that, modules need to be defined for viewing or modifying pieces or sets of information. A calendar module might define a way of selecting a specific date. Each module may take one or more query objects, which could tell a calendar module whether it is viewing/changing information for a user's birthday or for an appointment date. Next, a template needs to be created to house our modules, with named positions. Finally, specific page objects need to be created and placed in the pages directory, defining what modules go where with which queries, and when the page should be chosen.

About

A PHP framework for quick and manageable data applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published