Hi Didier
That is the reason why I changed the Torque internal data-structure from
DatabaseMap to AppData. At the moment they are pretty similar, but I feel that
stuff like this should not be part of DatabaseMap (which is now possible :-)
I posted a mail earlier to explain my problems with my ISP so you'll just have to
hang on for a while so I can sort things out before you can really look at
newtorque :-( My main cvs checkout can cvs client is on my work PC and I'm
currently sending e-mail from home, and it'll take me some time to set everything
up...
A "read-only" feature is not available at the moment, but it will definitely be
possible! Because the generation will be template based this shouldn't be too
hard... I was thinking of adding an extra section in the torque xml file for
doing things like this - extra functionality on top of the database schema. I
haven't really come up with an idea - maybe someone can comment on this?
~ Leon
> Hi Leon,
>
> Sorry if the following does not apply here.
>
> We use some table that are 'read-only' (languages, countries which are
> based on iso std).
> Is there something that can explain Torque that thos tables cannot be
> modified (no 'set' accessor)?? This would prevent our programmer
> modifiying those kind of info.
>
> One could even imagine a Proxy/Cache system that would avoid loading
> this kind of information more than once,....?
>
>
> I did not had time to take a deep look at the new Torque, but felt
> really impressed by the work about 1 month ago. I hope my question is
> not out of subject.
>
> Regards,
> Didier.
>
>
>
>
> Leon Messerschmidt wrote:
> >
> > Hi,
> >
> > I added a new version of Torque that uses WM templates in
> > org.apache.turbine.samples.newtorque
> >
> > Check out the example build.xml in the same directory on how to use it. It
> > can create an xml schema from sql and create OM classes and SQL schema from
> > the xml schema. The sql template generation still needs some work, but I'll
> > do this over the weekend and the beginning of next week.
> >
> > I am not entirely happy with the way the templates look like, but that is
> > because WM was not designed for source code, but for html. As soon as
> > Velocity gets a bit more stable I'll try to create a "source code grammar"
> > for the new Torque.
> >
> > I'm open for suggestions, criticism, inputs and insults :-)
> >
> > ~ Leon
> >
> > ps Sorry for the mutiple cvs commits I had a *bunch* of problems with my
> > f***g ISP.
> > :-( :-( :-(
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
>
> --
> mailto:[EMAIL PROTECTED] http://www.idbsoft.ch
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]