Hi I've just downloaded the MetaStorage an MetaL package and wanted to try it out. I could generate the classes and the schema file without any problems, but I...
Manuel Holtgrewe
grin@...
Apr 22, 2003 1:52 pm
125
Hello, ... Sorry, I have not had the time to document that properly. ... You are on the right track. What you need to do is to create a local_options.php file...
Hi Okay, I got the most current version from CVS. Where do I have to set the user for the SQL connection? Regards Manuel Holtgrewe...
Manuel Holtgrewe
grin@...
Apr 22, 2003 2:56 pm
127
Hello, ... Metastorage generates code to interface with Metabase. So, you just need to create the install/setup/local_options.php file with the connection ...
Hi I just tried to build my first more complex component definition file and I got the error: Error: support to add to variable reference collections is not...
Manuel Holtgrewe
grin@...
Apr 28, 2003 12:15 pm
129
Hello, ... I think you are just missing specifying in the collection definition the reference variable of the class of the objects of the collection that ...
Hi I created a Schema that uses tables with uppercase letters. This makes problems when querying with MySQL. I get: Table 'minitourney.tournament' doesn't...
Manuel Holtgrewe
grin@...
Apr 28, 2003 3:30 pm
131
Hello, ... You are supposed to install your schema with the installation class that Metastorage generates. Metastorage uses the same case that you use to ...
Hi ... I did this. Strange, I just deleted the files metastorage created and rebuilt them and now it works. Regards, Manuel Holtgrewe...
Manuel Holtgrewe
grin@...
Apr 28, 2003 3:54 pm
133
Hi Are there query types not yet documented? For example, I'd like to count some Fields without querying them all first and the do a count() in PHP. -- ...
Manuel Holtgrewe
grin@...
May 2, 2003 3:15 pm
134
Hello, ... No, not yet but it is a kind of function that could be added very easily. I can add it right away if you have an urgent need for this. I am just not...
Hi ... Are the "report classes" equal to the "factory classes"? -- Regards, Manuel Holtgrewe...
Manuel Holtgrewe
grin@...
May 3, 2003 10:50 am
136
Hello, ... No, report classes will be just wrappers to arbitrary queries allowing to mix and summarize data retrieved from objects of different classes. It...
Hi everybody. This is my first post on this list. I need a working example on how to use the generated code from metastorage. This is a little extract from my...
Hello, ... You need to include ./metabase/metabase_database.php and ./metabase/metabase_interface.php files. These provide the functions to interface to the...
Cool! It worked. Do you suggest another way to accomplish the same goal? I mean, inserting a new teacher in my example. ¿Which are the required steps to work...
Hello, ... Later I will provide examples of how to use the generated classes to achieve each of its possiblities. ... Yes, but I think you may need to call the...
Hi, First, I would like to congratulate you for the work you've done. I'm also working in a research team which is studying meta-modelisation :) and I'm...
Hello, ... Great. Unfortunately there is not much documentation on the MetaL engine because I have not had the time to do it myself but I plan to start ...
Hello, ... Currently not on the generated database schema. Currently Metastorage generates code and database schemas with Metabase. Metabase does not yet ...
... I think you're confussed about WHAT is the job of a DTD and/or XMLSchema. The DTD/XMLSchema would validate the tags, not their content. So, it can validate...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the metal-dev group. File : /cpml.dtd ...
metal-dev@yahoogroups...
May 21, 2003 3:45 am
147
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the metal-dev group. File : /cpml.schema ...
metal-dev@yahoogroups...
May 21, 2003 3:45 am
148
Hello, ... You are probably right as I do not deal with DTD and schema definitions. I just think DTD and schemas would not be sufficient to parse MetaL formats...
Hello, I just found a tool online that is able to reverse engineer DTD and XML schemas from sample XML documents. http://www.hitsw.com/xml_utilites/ So, as you...
Hi, I wonder why is there only a method to add an object to a collection and there is not a method to remove an object from a collection. Is there a way to do...
Hello, ... That is tricky because to assure relationship consistency, if you remove an object from a collection that defines a relationship with another ...
... you ... I want to delete it from any collection it may belong :) Let's take my example of Town and Street class. I would like to remove a street from a...
Hello, ... Ah, sorry, what I meant is that you should use validation to enforce referential integrity at the application level instead of making a database...