PHP Classes
elePHPant
Icontem

Box Model: Create Web applications based on boxes

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (66)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-05-25 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 488 All time: 5,607 This week: 1,123Up
Version License PHP version Categories
box-model 1.00.07GNU Lesser Genera...5.3PHP 5, Libraries
Description Author

This package is a framework for creating Web applications based on boxes.

It takes the definition of boxes and the framework can display forms with defined inputs and output pages generated from templates.

The output templates are defined in separate files.

The texts used in the pages can be translated to different languages using separate locale definition files in XML format for each language.

Picture of philippe thomassigny
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

Details
Box Model - A pattern for Real-life Web Programming
(c) 2012 Philippe Thomassigny

Box Model is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Box Model is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Dominion.  If not, see <http://www.gnu.org/licenses/>.

----

Welcome to Box Model v1.

You need to install the box directory into your application somewhere accesible by your scripts to include box model scripts.

Once the directory is installed, just call the needed scripts and build your code !

Reference, manuals, examples: http://www.webability.info/?P=box
Follow us on twitter: @webability5

Thank you !

----

Languages:
EN - English language, native language
FR - French language, maintained by Philippe Thomassigny
ES - Spanish language, maintained by Philippe Thomassigny
NL - Dutch language, maintained by Roland van Wanrooy, abo at wanrooy dot be

----

Box Model v1 integrates DomCore into its structure. DomCore files libraries are copied into include/core, include/datasources and include/throwables

This is the build 7

- Change the build:
  edit Box.lib at the beginning and change the version number
  change this file and add comments on new build.

Important notes:

To do:
- Add set/get directly in boxes to read and set input/outputs instead of calling methods
- listBox
- enginebox Source ?
- examples for any box of the catalog example
- integrate new example as press room ? blog ? etc

----

Build 7: 2012/05/25:
- DomCore upgraded to 1.01.08 (template bug)
- New example added using the same boxes as the first example to show reusability

Build 6: 2012/05/17:
- Error corrected into engineBox to read the descriptor (bad variable name)
- parameterBox modified to use parameters input
- DomCore upgraded to 1.01.07
- Examples modified to meet bootstrap-like design for responsive web design

Build 5: 2012/03/27:
- parameterBox implemented
- Example of product catalog with XML and parameterBox added

Build 4: 2012/03/21:
- Messages adjusted to include DomCore messages
- translation to Netherland (NL - Dutch) added
- Markups added into XML language files to extract and insert entries automatically
- Messages added to engineBox contructor to use WAMessage
- Messages added to Box contructor to use WAMessage
- New messages added to the XML languages

Build 3: 2012/03/04:
- Box modified to support also TemplateSource and LanguageSource as inputs
- engineBox modified to read an XML file as flow definition

Build 2: 2012/02/28:
- Box modified to load template file and language file if the entry string is a file
- engineBox modified to read an XML file as flow definition

Build 1: 2012/02/17:
- First release

----
Screenshots  
  • boxmodel.png
  Files folder image Files  
File Role Description
Files folder imageexamples (23 files)
Files folder imageinclude (1 file, 5 directories)
Files folder imagemessages (4 files)
Files folder imageskins (1 directory)
Accessible without login HTML file index.html Doc. Documentation
Accessible without login Plain text file readme.txt Doc. Documentation

Downloadbox-model-2012-05-25.zip 114KB
Downloadbox-model-2012-05-25.tar.gz 74KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
DomCore Download .zip .tar.gz Core libraries Required
 Version Control Unique User Downloads Download Rankings  
 98%
Total:488
This week:0
All time:5,607
This week:1,123Up