On Wed, Dec 19, 2001 at 06:39:43PM +0100, Fabio Di Fabio wrote: > Il 16:51, mercoled? 19 dicembre 2001, hai scritto: > > On Wed, Dec 19, 2001 at 01:28:50PM +0100, Fabio wrote: > > > Hi, > > > > > > in the process of separate the business logic from the web logic in my > > > project, it will very usefull to have something like jsp custom tags. > > > Midgard elements can simulate this behavior, but I don't know if they > > > are flexible to be parametrizable, so they can be reused in an easy way. > > > Support also for end tags will be good. > > > There is some work in this direction or a way to simulate this already? > > > > Scriptor (1.4+scripting capabilities in Ruby) is going to support > > so-called SimpleMarkup module for plain text -> html/xml formatting. It > > has simple way to extend number of supported tags. > Where I can find this tool, and how it integrates with midgard? and why > not in php? another language to learn :( Scriptor is aimed to ease Midgard's core development. We are moving non-critical for speed internals of Midgard-lib from C to Ruby so that more people can participate in the development and more modern methods of programming can be used for it. Scriptor does not a replacement for PHP but instead is a layer inside midgard-lib upon which other Midgard components will be built.
There still will be PHP extension provided but instead of linking to Midgard-lib C code it will be kind of connector between Scriptor and PHP allowing to use all objects and methods from Scriptor layer as native PHP objects and functions. This also doesn't limit binding to PHP only but allow all Midgard's users use their favorite language as 'frontend' in future. > I've found a templating engine "Smarty" in php that makes good things, > maybe it can be integrated too. Info about SimpleMarkup module? SimpleMarkup is part of Ruby's rdoc extension which is documentation tool similar to Java-doc. SimpleMarkup classes abstract formatting engine for plain text documents (that is what Midgard's &(foo:f); syntax) and allows to extend it easily to understand specific tags. See http://sourceforge.net/projects/rdoc/ for details about SimpleMarkup. -- / Alexander Bokovoy $ cat /proc/identity >~/.signature `Senior software developer and analyst for SaM-Solutions Ltd.` --- Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
