mallemos | 16 Dec 2005 20:51
Picon
Favicon

New Metastorage version with support for large data variables (BLOBs)

Hello,

I have just finished implementing the support for BLOBs as class
variables.

These types are stored by variables of type largedata. By default
largedata variables are binary (BLOB) but they may also be of text (CLOB).

Two new types of functions were introduced to lazy load and store
largedata variables. They can be stored or retrieved from string
parameters or from files. This simplifies greatly the access to these
types of database fields and usually they require the use of prepared
queries.

I will be writing the necessary documentation this weekend. It will be
posted on the site soon. Meanwhile the latest changes are available
from the CVS repository:

http://www.meta-language.net/download.html#cvs

Regards,
Manuel Lemos

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
(Continue reading)

Manuel Lemos | 21 Dec 2005 08:25
Picon
Favicon

New large data variable (BLOB) support and database schema renaming

Hello,

A new version of Metastorage was released featuring support for large 
data variables, also known as BLOBs - Binary Large OBjects, and 
providing means to upgrade database schemas without destroying 
previously stored objects when classes, variables or collections are 
renamed.

Here is the full new article:

http://www.meta-language.net/news-2005-12-21-metastorage.html

--

-- 

Regards,
Manuel Lemos

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

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

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
(Continue reading)

Manuel Lemos | 21 Dec 2005 08:43
Picon
Favicon

Rate Metastorage

Hello,

In order to get greater visibility to the Metastorage project, it would 
be good if all of you that appreciate it could rate it in Hotscripts and 
Freshmeat. That would help getting greater visibility to the project and 
so attract more users to contribute at least to help testing Metastorage 
or suggest new features.

The Hotscripts rate box may be found here:

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

Or here:

http://www.hotscripts.com/Detailed/55432.html

Metastorage rating page in Freshmeat may be found here:

http://freshmeat.net/rate/33243/

--

-- 

Regards,
Manuel Lemos

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

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

Peter Howard | 23 Dec 2005 01:40
Picon

XMI to Metastorage XML converter - some progress

After more than a year, I've finally done some more playing on this.  I
thought I'd put it up in it's current form so that you can have a look.
Files have been updated at 

http://groups.yahoo.com/group/metal-
dev/files/metastorage/xmi2metastorage/

I'm working against Umbrello 1.4.1

The two main things to note are:
     1. Since I started, Umbrello has removed the name I used for the
        component name in the xmi.  As a result, the xsltproc invocation
        now has to look like: "xsltproc --stringparam project {name}
        conv.xslt {xmi file} > {xml file}
     2. The script now expects the classes it will deal with to be in a
        package named "Persistent".  If you compare test/singleTest.xmi
        to test/singleTest2.xmi you'll see the change needed.

Also, class member functions require a stereotype to indicate what type
of function it should be for metastorage purposes.

The resultant output still can't be processed by metastorage without
hand-editing of the xml output, but it is getting much closer.

--

-- 
Peter Howard
pjh <at> coastal.net.au
Jabber Id: pjhacnau <at> 12jabber.com
AIM Id: pjhacnau

(Continue reading)

Manuel Lemos | 24 Dec 2005 00:46
Picon
Favicon

Re: XMI to Metastorage XML converter - some progress

Hello,

on 12/22/2005 10:40 PM Peter Howard said the following:
> After more than a year, I've finally done some more playing on this.  I
> thought I'd put it up in it's current form so that you can have a look.
> Files have been updated at 
> 
> http://groups.yahoo.com/group/metal-
> dev/files/metastorage/xmi2metastorage/
> 
> I'm working against Umbrello 1.4.1
> 
> The two main things to note are:
>      1. Since I started, Umbrello has removed the name I used for the
>         component name in the xmi.  As a result, the xsltproc invocation
>         now has to look like: "xsltproc --stringparam project {name}
>         conv.xslt {xmi file} > {xml file}
>      2. The script now expects the classes it will deal with to be in a
>         package named "Persistent".  If you compare test/singleTest.xmi
>         to test/singleTest2.xmi you'll see the change needed.
> 
> Also, class member functions require a stereotype to indicate what type
> of function it should be for metastorage purposes.
> 
> The resultant output still can't be processed by metastorage without
> hand-editing of the xml output, but it is getting much closer.

Sounds great. I am going to create a small example project of a news 
system with a Web interface to demonstrate how to user Metastorage 
generated code.
(Continue reading)

Peter Howard | 24 Dec 2005 02:54
Picon

Re: XMI to Metastorage XML converter - some progress

On Fri, 2005-12-23 at 21:46 -0200, Manuel Lemos wrote:
> Hello,
> 
> on 12/22/2005 10:40 PM Peter Howard said the following:
> > After more than a year, I've finally done some more playing on this.
> I
> > thought I'd put it up in it's current form so that you can have a
> look.
> > Files have been updated at 
> > 
> > http://groups.yahoo.com/group/metal-
> > dev/files/metastorage/xmi2metastorage/
> > 
> > I'm working against Umbrello 1.4.1
> > 
> > The two main things to note are:
> >      1. Since I started, Umbrello has removed the name I used for
> the
> >         component name in the xmi.  As a result, the xsltproc
> invocation
> >         now has to look like: "xsltproc --stringparam project {name}
> >         conv.xslt {xmi file} > {xml file}
> >      2. The script now expects the classes it will deal with to be
> in a
> >         package named "Persistent".  If you compare
> test/singleTest.xmi
> >         to test/singleTest2.xmi you'll see the change needed.
> > 
> > Also, class member functions require a stereotype to indicate what
> type
(Continue reading)

Peter Howard | 26 Dec 2005 05:59
Picon

Re: XMI to Metastorage XML converter - some progress

(See extra comment inline below)

On Sat, 2005-12-24 at 12:54 +1100, Peter Howard wrote:
> On Fri, 2005-12-23 at 21:46 -0200, Manuel Lemos wrote:
> > Hello,
> > 
> > on 12/22/2005 10:40 PM Peter Howard said the following:
> > > After more than a year, I've finally done some more playing on
> this.
> > I
> > > thought I'd put it up in it's current form so that you can have a
> > look.
> > > Files have been updated at 
> > > 
> > > http://groups.yahoo.com/group/metal-
> > > dev/files/metastorage/xmi2metastorage/
> > > 
> > > I'm working against Umbrello 1.4.1
> > > 
> > > The two main things to note are:
> > >      1. Since I started, Umbrello has removed the name I used for
> > the
> > >         component name in the xmi.  As a result, the xsltproc
> > invocation
> > >         now has to look like: "xsltproc --stringparam project
> {name}
> > >         conv.xslt {xmi file} > {xml file}
> > >      2. The script now expects the classes it will deal with to be
> > in a
> > >         package named "Persistent".  If you compare
(Continue reading)

jonbouyw | 30 Dec 2005 16:57
Picon
Favicon

Re: Rate Metastorage

--- In metal-dev <at> yahoogroups.com, Manuel Lemos <mlemos <at> a...> wrote:
>
> Hello,
> 
> In order to get greater visibility to the Metastorage project, it would 
> be good if all of you that appreciate it could rate it in Hotscripts
and 
> Freshmeat. That would help getting greater visibility to the project
and 
> so attract more users to contribute at least to help testing
Metastorage 
> or suggest new features.
> 
> The Hotscripts rate box may be found here:
> 
> http://www.meta-language.net/metastorage.html
> 
> Or here:
> 
> http://www.hotscripts.com/Detailed/55432.html
> 
> Metastorage rating page in Freshmeat may be found here:
> 
> http://freshmeat.net/rate/33243/
> 
> -- 

> 
> Regards,
> Manuel Lemos
(Continue reading)

Manuel Lemos | 31 Dec 2005 02:22
Picon
Favicon

Re: XMI to Metastorage XML converter - some progress

Hello,

on 12/23/2005 11:54 PM Peter Howard said the following:
>> Sounds great. I am going to create a small example project of a news 
>> system with a Web interface to demonstrate how to user Metastorage 
>> generated code.
>>
>> I already have UML diagrams done with Umbrello. So, I will be able to 
>> test your XSLT soon.
>>
> 
> Oh, goody.  This should provide extra motivation for me to get the
> conversion to the point that metastorage processes it without errors.
> 
> There is one or two problems I still have with the XML metastorage
> accepts, but they are not an immediate issue; they are only of issue
> once I try to do comparisons on re-generation.

Great, I have been working on a plug-in for the forms generation and 
validation class that allows to link several select inputs and use AJAX 
to dynamically fetch groups of options from a database depending on the 
option selected on the previous select input.

http://www.phpclasses.org/browse/view/html/file/9879/name/test_linked_select_page.html

http://groups.yahoo.com/group/forms-dev/files/beta/

Despite this can be used with Metastorage generated code, this 
development is not related. I just wanted to mentioned that once I 
finish this I will be working on the example Metastorage project. I just 
(Continue reading)

Manuel Lemos | 31 Dec 2005 02:33
Picon
Favicon

Re: XMI to Metastorage XML converter - some progress

Hello,

on 12/26/2005 02:59 AM Peter Howard said the following:
>>> Sounds great. I am going to create a small example project of a
>> news 
>>> system with a Web interface to demonstrate how to user Metastorage 
>>> generated code.
>>>
>>> I already have UML diagrams done with Umbrello. So, I will be able
>> to 
>>> test your XSLT soon.
>>>
>> Oh, goody.  This should provide extra motivation for me to get the
>> conversion to the point that metastorage processes it without errors.
>>
> 
> In particular, I'm having trouble working out how to translate
> functions.  The reality of metastorage seems a bit behind the
> documentation (e.g. "custom" functions not being supported yet).  If you

I am not sure what you mean. custom functions are supported since a 
couple of months ago and are documented:

http://www.meta-language.net/news-2005-11-02-metastorage.html

> could provide me with an umbrello model containing a class which has a
> function in it of each possible type (with the type being the
> stereotype) along with a "hand-translation" of what you'd expect in the
> resultant metastorage XML, it would make things much easier for me.

(Continue reading)


Gmane