ola,
hopefully this isn't butting in manuel :)
>> Anyone working on some XSLT or other system to generate PHP code? In
>> particular with respect to generating database schemas with PHP object
>> wrappers.
Manuel is doing a project called MetaL which is effectively an XML code
representation -> PHP (or whatever other language).
binarycloud has a means of:
-writing an "entity definition" XML
-ripping:
-schema (XML in metabase format)
-"data access class" - binarycloud entity record class.
So, depending on what you're trying to do, Metal may be what you're looking
for, or that part of binarycloud may be what you're looking for.
> Database schema generators are already appearing (esp. Java),
>> but no one seems to be working on a tool to generate the corresponding
>> PHP classes either through the native PHP database functions or some
>> intermediate layer (Binary Cloud, Metabase, PHPDo).
Yes we have it!
>> Are you or anyone you know undertaking such a project? Do you/they want
>> any help?
> Coincidentally I am starting to work on a module for the MetaL compiler
> engine that is meant to generate object persistent layers eventually to
> SQL databases.
Yep cool :)
> Like you mentioned it will pick component descriptions and generate
> database schemas for SQL table mappings including any intermediate
> tables that are needed for many to many relationships. It will also
> generate classes in MetaL code that can be generated to any of the
> supported languages.
That's very cool. At the moment we do not have extremely sophisticated
schema generation capabilities based on entity definitions - we will. That's
where we could use some help.
> Anyway, if you have tried some of my classes from the PHP Classes site,
> you have most likely used MetaL generated code without knowing.
Yep :)
When Manuel releases metal open source, I want to try and get standard metal
templates working with binarycloud :)
> For more information, take a look at this page:
>
> http://www.meta-language.net/
>
_alex