Code Monkey home page Code Monkey logo

framework3's Introduction

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.

framework3's People

Contributors

snydergd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.