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: 485 This week: 1All time: 5,591 This week: 860Up
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  
Name: philippe thomassigny <contact>
Classes: 6 packages by
Country: Mexico Mexico
Age: 47
All time rank: 122615 in Mexico Mexico
Week rank: 482 Up6 in Mexico Mexico Up
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

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file matrix.en.xml Data Auxiliary data
  Accessible without login Plain text file matrix.template Data Auxiliary data
  Accessible without login Plain text file news.box.xml Data Auxiliary data
  Accessible without login Plain text file news.php Example Example script
  Accessible without login Plain text file news.template Data Auxiliary data
  Accessible without login Plain text file newscountBox.lib Data Auxiliary data
  Accessible without login Plain text file newspage.en.xml Data Auxiliary data
  Accessible without login Plain text file newspage.template Data Auxiliary data
  Accessible without login Plain text file newsqueryBox.lib Data Auxiliary data
  Accessible without login Plain text file pagination.en.xml Data Auxiliary data
  Accessible without login Plain text file pagination.template Data Auxiliary data
  Accessible without login Plain text file product.box.xml Data Auxiliary data
  Accessible without login Plain text file product.php Example Example script
  Accessible without login Image file product.png Data Auxiliary data
  Accessible without login Plain text file product.template Data Auxiliary data
  Accessible without login Plain text file product2.php Example Example script
  Accessible without login Plain text file productauto.php Example Example script
  Accessible without login Plain text file productcount.php Example Example script
  Accessible without login Plain text file productcountBox.lib Data Auxiliary data
  Accessible without login Plain text file productpage.en.xml Data Auxiliary data
  Accessible without login Plain text file productpage.template Data Auxiliary data
  Accessible without login Plain text file productpages.php Example Example script
  Accessible without login Plain text file productqueryBox.lib Data Auxiliary data

  Files folder image Files  /  include  
File Role Description
Files folder imagebox (7 files)
Files folder imagecore (13 files)
Files folder imagedatasources (6 files)
Files folder imagepatterns (3 files)
Files folder imagethrowables (6 files)
  Accessible without login Plain text file __autoload.lib Data Auxiliary data

  Files folder image Files  /  include  /  box  
File Role Description
  Plain text file Box.lib Class Auxiliary data
  Plain text file engineBox.lib Class Auxiliary data
  Plain text file matrixBox.lib Class Auxiliary data
  Plain text file paginationBox.lib Class Auxiliary data
  Accessible without login Plain text file parameterBox.lib Data Auxiliary data
  Plain text file templateBox.lib Class Auxiliary data
  Plain text file templateloopBox.lib Class Auxiliary data

  Files folder image Files  /  include  /  core  
File Role Description
  Plain text file WAClass.lib Class Auxiliary data
  Plain text file WADebug.lib Class Auxiliary data
  Accessible without login Plain text file WAError.lib Data Auxiliary data
  Plain text file WAException.lib Class Auxiliary data
  Plain text file WAFile.lib Class Auxiliary data
  Plain text file WALanguage.lib Class Auxiliary data
  Plain text file WALanguageCompiler.lib Class Auxiliary data
  Plain text file WAMessage.lib Class Auxiliary data
  Plain text file WAObject.lib Class Auxiliary data
  Plain text file WASHM.lib Class Auxiliary data
  Plain text file WASimpleXML.lib Class Auxiliary data
  Plain text file WATemplate.lib Class Auxiliary data
  Plain text file WAThrowable.lib Class Auxiliary data

  Files folder image Files  /  include  /  datasources  
File Role Description
  Plain text file DataSource.lib Class Auxiliary data
  Plain text file FastObjectSource.lib Class Auxiliary data
  Plain text file FileSource.lib Class Auxiliary data
  Plain text file LanguageSource.lib Class Auxiliary data
  Plain text file SHMSource.lib Class Auxiliary data
  Plain text file TemplateSource.lib Class Auxiliary data

  Files folder image Files  /  include  /  patterns  
File Role Description
  Accessible without login Plain text file Factory.lib Data Auxiliary data
  Accessible without login Plain text file Multiton.lib Data Auxiliary data
  Accessible without login Plain text file Singleton.lib Data Auxiliary data

  Files folder image Files  /  include  /  throwables  
File Role Description
  Accessible without login Plain text file BoxError.lib Data Auxiliary data
  Accessible without login Plain text file CoreError.lib Data Auxiliary data
  Accessible without login Plain text file DataSourceError.lib Data Auxiliary data
  Accessible without login Plain text file FileException.lib Data Auxiliary data
  Accessible without login Plain text file PatternError.lib Data Auxiliary data
  Accessible without login Plain text file SHMError.lib Data Auxiliary data

  Files folder image Files  /  messages  
File Role Description
  Accessible without login Plain text file message.es.xml Data Auxiliary data
  Accessible without login Plain text file message.fr.xml Data Auxiliary data
  Accessible without login Plain text file message.nl.xml Data netherland translation
  Accessible without login Plain text file readme.txt Doc. Documentation

  Files folder image Files  /  skins  
File Role Description
Files folder imagecss (1 file)

  Files folder image Files  /  skins  /  css  
File Role Description
  Accessible without login Plain text file boxmodel.css Data Auxiliary data

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:485
This week:1
All time:5,591
This week:860Up