Skip to content

My PHP , Wordpress and Linux Lab

Archive

Tag: Code Generator

It brings me tremendous pleasure to announce the first public release of PHP Viz.

PHP Viz is an open source PHP code generator , which is also written in PHP 5 , released under the GPL license. It allows you to create MySQL based sites rather than just pages. The resulting sites follow a very simplified MVC pattern, which allows re-usability and partitioning of code.

The best feature PHP Viz provides is the linking of Primary keys to Foreign keys and allows you to display records from linked tables. You can create modules for adding , editing , deleting and viewing data. Once you have created your modules, you can create pages which hold one or more of your modules. Reusing these modules in custom code is pretty easy as well and allows you create independant entities which can be plugged into any page.

The application is in a very early stage of development and I am hoping to get alot of feedback, based on which I will prioritize the features that need to go in there.  Soon I will make available an online demo version as well for quick viewing of all the features.

Please read the README file found in the zip to find the install instructions.

Please feel free to put in any comments and feedback in the comments area.

Download PHP Viz 0.2


Update : Sorry guys the link was broken earlier , thanks to some nifty logic in Wordpress , should be working now!

Some screenshots below:

Main Screen

Site Modules And Pages

Module Settings

Generated Site Login Screen

Generated Site View Data Screen


UPDATE: Please turn on “short open tags” in php.ini .. i will try to remove all the short tags in the next release.  My apologies for this oversight.

I have been so busy over the past 2 years that I almost forgot about this code generator that I started to write. But recently i resumed work on this and created a new version from scratch.  and I am very happy with the results so far :)

PHP Viz is written in PHP and lets you create MySQL driven PHP sites. A prime feature it provides is the support to link up multiple tables (based on foreign and primary keys) and create views from them.

The application lets you create “sites” rather than simple pages. You can even have Login protection on your site if you have a users table in there somewhere in your database. All the basic functions are there , you can create tabular views, single record view , add and edit view. The generated code is very clean , simple and based on a very very simplified MVC architecture. This allows for expansion and code re-usability with ease.

The application code itself  is very rough at this point and i just want to see some feedback from the community to make sure that i am heading in the right direction. I am hoping to add some more advanced level features down the line and hoping to make this an every day tool for the PHP developer.

PHP Viz 0.2 should be publicly available within the next week. I am hoping that the next Site Admin you make is built by PHP Viz :)