Simple Question

Posts   
 
    
Maxus
User
Posts: 76
Joined: 04-Aug-2006
# Posted on: 25-Sep-2006 04:08:19   

Hi People!

I'm just using the template studio and I have mostly ported over the manager template to 2.0 (I will be looking for some peer reviews if anyone is keen to try it out). Bu I was just wondering is it better to use the TDL template language or use the LPT template language?

Thanks M

worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 25-Sep-2006 04:23:04   

I beat u to it Maxus, sent it to Support last Friday stuck_out_tongue_winking_eye

If you examine the capabilities of the TDL language u'll probably find there are things in the you just cant do in TDL. TDL is simplistic.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 25-Sep-2006 10:01:01   

I'll upload Sam's version later today into the svn and on the website. It's too bad you lost time on this, Maxus.

I haven't looked into the code Sam's sent me, but perhaps both your code can be used. The v1 templates were for .NET 1.x, however llblgen pro now fully supports .NET 2.0, so I'm not sure which targetplatforms you guys have used / are using.

About TDL/lpt: TDL was created to have a templatelanguage which is more or less bugfree in the template: writing templates can be tedious if you have to debug a lot, so the main goal was that the statements would be straight forward and wouldn't lead to bugs which needed a debugger. This thus gives less flexibility.

Lpt templates give you maximum flexibility, but they're more lowlevel so you have to write more code sometimes to achieve the same thing. simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Maxus
User
Posts: 76
Joined: 04-Aug-2006
# Posted on: 27-Sep-2006 02:38:43   

Hi Guys,

Cool! great news to hear somones got it all done mine wasn't 100% yet, I will download it and have a play! simple_smile

Thanks Otis for the info on the diffrences between LPT and TDL.

Cheers M

mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 27-Sep-2006 03:31:13   

I do everything in LPT, just because pretty much anything special that needs to be generated requires more complicated logic than what TDL allows...at least in our templates simple_smile