PHP Classes

PHP MySQL class generator: Generate classes to manipulate MySQL table rows

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 71%Total: 13,830 All time: 77 This week: 34Up
Version License Categories
sql_class_generator 1.0.0FreewareDatabases, Code Generation
Description 

Author

This package can be used to generate classes that wrap rows of MySQL database tables providing an object oriented interface to manipulate the table row data.

It generates getter and setter functions to access the table row column values as class variables.

It also generates functions to insert, select, update and delete table row data.

The generated class uses another classes provided with this package to execute database access operations. That class must be configured to specify the MySQL database server host, user name and password.

When the table definition changes, the wrapper class code must be regenerated.

The MySQL database table that is wrapped must have one auto-increment primary key field.

Picture of marco voegeli
Name: marco voegeli <contact>
Classes: 3 packages by
Country: Switzerland Switzerland
Age: 44
All time rank: 821 in Switzerland Switzerland
Week rank: 214 Down3 in Switzerland Switzerland Down

Screenshots (1)  
  • screen1.gif
  Files folder image Files (11)  
File Role Description
Files folder imageexamples (5 files)
Files folder imagegenerated_classes (1 file)
Files folder imageimages (1 file)
Files folder imageresources (1 file)
HTML file documentation.htm Doc. documentation
Plain text file generator.php Appl. generator.php

  Files folder image Files (11)  /  examples  
File Role Description
  Plain text file test_update.php Example example
  Plain text file test_select.php Example example
  Plain text file test_insert.php Example example
  Plain text file test_delete.php Example example
  Plain text file class.test.php Output generated class

  Files folder image Files (11)  /  generated_classes  
File Role Description
  Plain text file root_of_generated_classes.txt Data directory of generated classes

  Files folder image Files (11)  /  images  
File Role Description
  Image file screen1.jpg Screen picture

  Files folder image Files (11)  /  resources  
File Role Description
  Plain text file class.database.php Class database connection layer

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:13,830
This week:0
All time:77
This week:34Up
User Ratings User Comments (4)
 All time
Utility:89%StarStarStarStarStar
Consistency:88%StarStarStarStarStar
Documentation:86%StarStarStarStarStar
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:71%StarStarStarStar
Rank:227