From: Alex B. <en...@tu...> - 2001-09-22 21:32:25
|
>> Not really, because you're actually building logic with MetaL, whereas we're >> just doing string replacement that's supported by logic that figures out >> what to replace with. > > Actually that is precisely what the MetaL compiler module named template > does. You just say that there is some template data in a file and that you > want to clip some data from it and have some data replaced with variable > values that are specified in your program. > > Need examples? Hmmm... yes, that would be great. >> I.e. we have a tag for putting the correct language version of a string >> based on the current language code, or putting in a bunch of code for a >> static module call from page, etc. > > Those would be done with MetaL by passing variable values that would > represent the data that you want to replace in the the template. Ok. > >> I need to spend a little time with MetaL to get more comfortable with it, >> but I don't think what we're doing crosses. > > Yes, I think you could save yourself a lot of development effort if you > look closer into MetaL and realize that it does already what you need. > > What you are trying is one of the things that MetaL template can do, which > is replacing data within template data. MetaL can also replace template > data with code generated by some other module. To benefit from MetaL > power, obviously you don't need to use everything that it is capable of. Indeed, though I was not thinking that MetaL did that. hmmmmm _a |