PHP Classes
Icontem

Class: PHP or Java Class Code Generator


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  PHP or Java Class Code Generator  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP or Java Class Code Generator Support forum
Base name: code_generator
Description: Generate PHP or Java database access classes
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 3228 users
All time rank: 659
Week users: 8 users
Week rank: 995
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Valics Lehel
Name: Valics Lehel <e-mail contact>
Published packages: 4 Browse this author's classes Browse this author's classes
Country: Romania Romania - PHP jobs in Romania
Home page: http://www.grafxsoftware.com/
Age: 37
All time rank: 128
Week rank: 441

Innovation Award

PHP Programming Innovation award winner
March 2004
Winner
Code generation is one way to increase software development productivity by automating the production of code components meant to execute repetitive well known tasks. Depending on the capabilies and maturity of the generator tool, the productivity increase may be huge.

Database access classes is a common application of code generation tools. Tables are abstracted by database access classes and the table rows are mapped to objects of those classes.

The approach of this code generation package is to use a well known template engine class, Fast Template, and make it process template files that define the skeleton of the database access classes to be generated.

The example templates for generating database access classes either in PHP or Java demonstrate that with a simple approach it can be provided a flexible solution for addressing a common problem especially in Web application development.

Despite the tool can be improved in many ways, it constitutes a good example of how to build your own code generation tool that may help other developers understand and become interested in this powerful approach.

Manuel Lemos

Groups

Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes

Detailed description

This package is meant is automate the generation of classes to access databases in Java beans style.

It uses the Fast Template engine to process template files that define the skeleton of functions and variables of classes that store and retrieve data object property values from a given database table, getter and setter functions to access those properties and a function to delete a data object row from the respective database table.

The package comes with templates to generate classes either in PHP or Java. The PHP template defines code to access data objects in a MySQL database. The Java template defines code to access data objects in any database supported by JDBC.

Freshmeat project

Project record: php-java-class-generator
Popularity score: 67.56
Vitality score: 5.02

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (68.8%)
Good (93.8%)
-
-
-
-
Not sure (43.8%)
1624
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
phpCodeBeautifier phpCodeBeautifier can be used if you want

Files

File Role Description
Plain text file begin.php Appl. app script
Plain text file CHANGELOG Doc. changelog
Plain text file config.inc.php Conf. Configuration file
Plain text file defines.inc.php Conf. defines
Plain text file example.php Example Example of call generated class
Plain text file field.php Appl. app script
Plain text file generate_code.php Appl. code generator PHP
Files folder image include
  Plain text file cls_fast_template.php Class Template system
  Plain text file cls_string.php Class Strings, verifications
  Plain text file connection.php Example Connection for examples
Plain text file index.php Appl. index
Files folder image programtemplates
  HTML file template_body.html Aux. the main template
  HTML file template_fields.html Aux. template file
  HTML file template_firstpage.html Aux. template file, firstpage
  HTML file template_generate.html Aux. template file
  HTML file template_host.html Aux. template file for mysql host
  Plain text file template_java_code_generator.html Data template for generating for Java
  HTML file template_php5_code_generator.html Aux. PHP5 template
  Plain text file template_php_code_generator.html Data template for generating for Java
  HTML file template_sql.html Aux. SQL html file
  HTML file template_table.html Aux. tables SQL HTML
Plain text file README.txt Data README
Plain text file start.php Appl. app script
Plain text file table.php Appl. app script
Download all files: code_generator.tar.gz code_generator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products