Hello,

On 02/29/2004 12:42 AM, [EMAIL PROTECTED] wrote:
This is not exactly about going from UML to PHP but going from model
design to PHP with optional UML class diagram generation:

http://www.meta-language.net/metastorage.html

Hi manuel, this is excellent, i too have been looking into UML. I may investigate in this, there is a tool called Rational Rose which is an IBM product that does UML dont understand it enough just yet though. So what

Yes, we all know Rational Rose. The problem of most UML tools is that they are not specialized in domain problems.


Some UML tools are able to reverse engineer classes of objects and let you update the model diagrams and write the update classes code again.

However this is largely insufficient. I do not want just to the tool to keep the code synchronized with the model. I want the tool to be aware of specialized code generators that produce code based on intentional design model, i.e. a model that expresses the intention of what I want to do, and not just how I want to do it.


this does is you write the variables and functions in xml which will
generate the files ? Is this double handling, or having it in xml means it
can be portable to other languages please enlighten me.

No, Metastorage uses a custom XML format to express models of data object classes. UML tools also use a XML format named XMI but that is not sufficient to specify all the parameters and design artifacts that Metastorage is capable of understanding and generating code to provide an API based on classes of objects to manipulate those data objects.


It is possible to generate a design specification using the Metastorage XML format departing from XMI but the reverse would mean loosing design information.

Metastorage is a very high level tool for rapid development of applications that need to store data object information in persistent storage like for instance databases.

In practice this means that what people usally do by designing database table schemas and scripts with SQL code to access the information stored in such tables, Metastorage generates classes that encapsulate the functions and variables that do that for you. Over that it also generates forms and later also reports.

The point is to speed up development, testing and debugging that traditionally is done by hand. Think of this as the jump from the hand made product manufacturing to the industrial age.


--


Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to