Login   Register  
PHP Classes
elePHPant
Icontem

SQL Data: Generate classes to store objects in SQL databases

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-12-26 (6 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,429 This week: 1All time: 1,485 This week: 1,364Up
Version License Categories  
sqldata 1.0Custom (specified in a ...Databases, Code Generation
Description Author  

SQLData is an extension of the dm.DB class. SQLData provides object-relational mappings to store and retrieve persistent objects in an SQL database.

SQLData comes with additional scripts for generating classes to be used by applications to access given database tables using the SQLData class.

These scripts are meant to run from the command line. They retrieve the definitions of a given database table and then the generate classes to access the table rows as objects or to manipulate them via Web forms. They will generate classes and forms for any SQL database supported by dm.DB.

Experience has shown that the automatic generation handles about 80% of the repetitive work involved in building classes and forms for MySQL tables.

SQLData was designed to make it easy to automate the construction of the application specific classes interfacing to SQL tables. dm.DB provides a RDBMS independent access layer so, in principle, SQLData can be used by any database supported by dm.DB.

This class is officially compatible with PHP 5.

This is a major revision to SQLData which now supports all databases supported by dm.DB.

Picture of Richard Munroe
Name: Richard Munroe is available for providing paid consulting. Contact Richard Munroe .
Classes: 22 packages by
Country: United States United States
Age: 64
All time rank: 111 in United States United States
Week rank: 160 Down16 in United States United States Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file buildClass.php Appl. Class builder
Accessible without login Plain text file buildDatabaseConf.php Appl. Builds a file containing MySQL access information
Accessible without login Plain text file buildForm.php Appl. Input/Edit Form Builder
Accessible without login Plain text file buildProcessForm.php Appl. Build the "save" action associated with a generated form
Accessible without login Plain text file buildSyntacticValidation.php Appl. Generate JavaScript routines for field validation
Plain text file class.SQLData.php Class Generic MySQL Table abstraction base class
Accessible without login Plain text file class.SQLData.template Data C++ template like class for generating proper inhertances to specific database implementations.
Accessible without login Plain text file license.txt Lic. Modified NetBSD License
Accessible without login Plain text file options.php Aux. Common command line options handling.
Accessible without login Plain text file syntacticValidationFramework.css Data Cascading Style Sheet for the generated forms.
Accessible without login Plain text file syntacticValidationFramework.js Data JavaScript framework for validating generated form fields.

Downloadsqldata-2007-12-26.zip 21KB
Downloadsqldata-2007-12-26.tar.gz 13KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
requestUtils Download .zip .tar.gz Retrive data from access independent of GET or POST method Required
Structured Data Dumper Download .zip .tar.gz Debugging interfaces generated by the various build scripts need it. Required
dm.IS Layout Download .zip .tar.gz Provide C++ template like expansion of the SQLData class Required
dm.DB Download .zip .tar.gz MySQL database abstraction base class Required
 Version Control Unique User Downloads Download Rankings  
 0%Total:2,429All time:1,485
 This week:1This week:1,364Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1877