Il 16/01/2011 22:16, Geir Bækholt ha scritto:
On 10-01-2011 11:08, Yuri wrote:
Want to show a map in the html? Just drop down, choose map, and you're
done. The "map" variable could take the coordinates from a Location
field or from the context or whatever else (ask for parameters?). Or
fail, log in the error_log, and show nothing. Want to show folder
contents? Just drop down, choose "folder contents", and it is done.
Which folder? The context one, maybe, or what the coder choose.

   What do you think of this approach?

This is the original idea that appeared on the place to Europython 2007 and quickly developed and grew to be the (IMO) much more interesting Deco/Tiles plan.

Deco/Tiles solves exactly what you ask for and has layout control in addition.



I didn't look at Deco in this way :) I can't, with Deco, embed a map INSIDE the html widget, just put a widget before and one after. But, for the user, this is not a natural approach. It is ok for embed a map (or whatever else) in the PAGE, not in a TEXT.

A question? How Deco plays with Diazo? I mean, Deco fetch a page and apply his model, Diazo does similar things over the Deco rendered page?
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to