|
Posted by Manuel Lemos on 09/28/25 12:01
Hello,
on 01/29/2008 12:12 AM Gilles Ganault said the following:
> Thanks guys, but
>
> 1. considering that CRUD is the bread-and-butter of computer
> programming, isn't there a couple of major tools to do this for PHP?
I thought you wanted something simple. Major tools are not simple.
I use Metastorage. This is not exactly a framework but rather a code
generation tool.
Metastorage takes the definition of a model with your application
persistent objects, including relationships, validation rules, and base
functions that you need your model to implement.
Then it generates the code for the classes to store and retrieve your
objects from database tables, as well any custom functionality you
requested to make the classes match the needs of your application.
Metastorage also generates a database schema definition and a special
class to install or upgrade the schema in the database of your
application enviroment.
It also generates report data extraction classes, which are more
efficient to retrieve data from the database for read only operations,
than using model access classes.
The generated code is very compact and practically as efficient as if I
would written in manually. The code is commented and is also database
independent. It supports MySQL, PostgreSQL, SQLite, Oracle and Microsoft
SQL server.
There would be a lot more to say about Metastorage. I just can tell you
in a few words that I have been using it since 2002 to speedup my PHP
database driven application development.
This is a very mature tool. It has saved me many hundreds of development
time when compared with traditional application development based on
writing your own database model access code manually.
If you want to know more you can find more information in:
http://www.metastorage.net/
Here you can see some screenshots of the code generator Web interface
and sample application pages:
http://www.meta-language.net/screenshots.html
Here you can see a sample application:
http://www.meta-language.net/metanews.html
Here you can see a quick start tutorial:
http://www.meta-language.net/metastorage-tutorial.html
> It seems like no tool really gained traction. How come?
Not everybody in the PHP world has the same views about a single
solution for the same problem.
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|