PHP Class Generator

Category: Python - Database Tools

The PHP Class Generator is a small windows desktop application that allows a PHP programmer to generate Entity classes from a MySQL database table. For instance, if the user has a table in his or her MySQL database called customers. With this app, that programmer can generate an Entity class called customer that will hold all of the proper getters and setters as well as constructor, destructor and loadById methods. The app also provides a DatabaseManager class, which will connect to the MySQL database using the provided connection parameters given by the user. This class can be modified to fit the users needs. The application allows for quick, easy and consistent class design for better web application implementation. PHP Class Generator was written using MS Visual Studio 2003 and the 1.1 .NET frameworks. It was written in VB.NET and uses a 3rd party component from Core to connect to the MySQL database. It also will make a copy of adodb to the class path provided at runtime. An MSI (Microsoft Installer) has been made for easy installation on windows machines (Linux version of the PHP Class Generator is not available). It requires the user to have MySQL and 1.1 .NET frameworks installed on a Windows XP, Windows 2000 Pro/Server or higher. Connection Parameters: The PHP Generator connects to a MySQL database via an ADO.NET connection. In order to connect to a MySQL database three parameters need to be supplied. The following three parameters can be provided in the "Connection Parameters" section of the PHP Class Generator. Some users in the MySQL database might not have a password. It is not essential to provide a password if not applicable. - Server - Name or IP of the MySQL Server - User Name - DB User Name - Password - DB Password The PHP Generator will create a class the contains a loadById, save and delete method. These methods will load, save/update and delete a record from the database based on the primary key, respectively. Setters and Getters will also be created, but only the checked fields in the field list box will be included. The primary key field is the essential identification field for the entity. It is used in the retrieval of the record from the database. As mentioned above, it will be used in the saving/updating and the deleting of the record. The class name defaults to the name of the database table. The user can change this to whatever name they would like, but it is traditionally left to be the name of the table. The final step to using the PHP Class Generator is the class path. The class path is the location were the entity project will be saved. ADODB will be installed one directory above the class path. Requirements: · .NET framework 1.1 Date: 19 March, 2012


PHP Class Generator - Php Class Maker - Php Classes - Php - Class - Generator

Homepage: http://sourceforge.net

Developer: SourceForge.net

License: Artistic License, GNU General Public License (GPL)

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Amnuts Madlibs is a multi-platform compatible easy to install and customize madlibs system.

developer Developer: amnuts
license License: Freeware
operating systems Operating System: All


Cafe Press Random Product is a multi-platform compatible script that displays a random product from your CafePress store.

developer Developer: Andrew Collington
license License: Freeware
operating systems Operating System: All


This class allows you to supply the values of the user quota (as you might gather from the file system, imap, or your own database driven system) and output them as a nice graph, or as text.

developer Developer: Andrew Collington
license License: Freeware
operating systems Operating System: All


TPLN is a new template class written in php that could interface with your database (PDO, MySQL , mSQL , Sybase, Interbase.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


eDToolbox is the toolbox gathering the PHP scripts needed by any PHP developer.

developer Developer: edreamers.org
license License: Freeware
operating systems Operating System: All


phpHtmllib is a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html 'widgets'.

developer Developer: phphtmllib.newsblob.com
license License: Freeware
operating systems Operating System: All


vLIB contains three classes: vlibTemplate, vlibDate and vlibMimeMail.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


Contains the official Vim configuration files for the compilation, indenting, and syntax highlighting of Ruby files.

developer Developer: files.rubyforge.vm.bytemark.co.uk
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS


Mojo Webstats is a simple web statistics tool.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris