[Seaside] HTML templating

Siemen Baader siemenbaader at gmail.com
Thu Jun 22 09:49:23 UTC 2017


Thanks for the link, Sabine! This is worth a try. As my personal taste I'd
prefer templating at DOM object level like WACanvas and jQuery do, but it
is a pragmatic solution to my problem.

-- Siemen

On Thu, Jun 22, 2017 at 11:25 AM, Sabine Manaa <manaa.sabine at gmail.com>
wrote:

> Hi Siemen,
>
> do you know mustache?
>
> http://norbert.hartl.name/blog/2013/10/03/mustache-
> templates-for-smalltalk/
>
> Regards
> Sabine
>
> 2017-06-22 11:10 GMT+02:00 Siemen Baader [via Smalltalk] <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4952234&i=0>>:
>
>> Hi all,
>>
>> I use an external program to design & update my HTML pages and would like
>> to use them as templates in Seaside. In the front end, I used to extract
>> elements by IDs and then added content to them using jQuery. That left the
>> templates as valid HTML and felt very consistent to me.
>>
>> Is there a similar approach to use within Seaside? Eg. getting a canvas
>> cursor inside a specific element of the HTML file?
>>
>> Other approaches welcome, I just want to keep my templates as valid HTML
>> outside the image so I can use external dev tools on them.
>>
>> -- Siemen
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4952231&i=0>
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://forum.world.st/HTML-templating-tp4952231.html
>> To start a new topic under Seaside General, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4952234&i=1>
>> To unsubscribe from Seaside, click here.
>> NAML
>> <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: HTML templating
> <http://forum.world.st/HTML-templating-tp4952231p4952234.html>
> Sent from the Seaside General mailing list archive
> <http://forum.world.st/Seaside-General-f86180.html> at Nabble.com.
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170622/a2135e8a/attachment.html>


More information about the seaside mailing list