HI Astrid,

> Have you considered spending some time putting together a plugin offering 
widgets and macros to simplify the task of writing program-like tiddlers?

Maybe I misunderstand your point but I thought a lot about writing a plugin 
that would strenghen the view part of the TiddlyWikis MVC architecture.

Consider the PHP-Symfony Framework. It collects and delegates requests 
(controller) retrieves the data (model) and finally passes all information 
to the view (an html template). Templates are written in HTML and Twig and 
can be compared to WikiText tiddlers containing instructions (macros, 
widgets, markup) how to visualize the data.

Please see http://twig.sensiolabs.org/doc/templates.html

The point is: Twig has many commands that allow to "program" a template 
(for loops, if, else, concatination, etc.). I would love to see this for 
tiddlywiki. I know, loops can be minimally achieved by exploiting the list 
widget using each filter and if/else with the help of the reveal widget but 
this is as tobi said "
magick-voodoo-wikitext-kungfu." hard to understand, needs a lot of code...

When I have time, I might start a plugin project called "template 
programming".

-Felix

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to