Pork.Generator, New PHP And Ajax Database Analyzer And Code Generator
Very new in the PHP world : Pork.Generator is an Ajax Database analyser and code generator. Version 1.01 have just been released under LGPL license. Pork.Generator is a completely customizable solution built in PHP5 and Mootools + Mocha UI to analyze the primary keys in your database and create a complete set of O/R mapped pork.dbObjects. Pork.dbObject is an O/R mapper combined with active record support in only 500 lines of pure PHP.
You can find a demo of Pork.Generator here to experiment the capabilities of this great framework. Pork.Generator is able to recognize what type of relation you mean (1:1, many:1, 1:many, many:many) and you can instantly create classes and plugins for cut-n-paste, or download an entire CRUD backend application zipped up and ready to deploy. You can also use Pork.Generator to generate a generates a GraphViz representation of your database.
Features of Pork.Generator 1.0 :
- Inspect the relations and properties of tables in your database in an MDI interface
- Generate a complete CRUD web-interface of your database
- CRUD interface has the ability to visually create connections between any defined relations
- Generate just classes with relations mapped between them for the tables found in your database
- Generate just the class you're inspecting right now
- Visualize the relations between tables in your database via GraphViz
- Semi-intelligent entity object naming (if you have an ID_Image object in your Images table the object will be named Image)
- Create custom mappings for fields in tables to internal object mapping
- Set database-wide generation options (create only constructor, create editor, display and displayShort functions)
- Interface generation is completely customizable. You can include your own stuff and work in your own favorite way!
- Includes custom PHP formgenerator, MooTools 1.2 beta, Mocha UI, FCKEditor, MooCalendar
More information and download from http://www.schizofreend.nl/Pork.Generator


Subscribe to AJAX Magazine's feed