<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Message: 2<br>Date: Fri, 9 Sep 2011 13:17:36 +0100<br>From: Nick Ager &lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;<br>Subject: Re: [Seaside] Re: seaside Digest, Vol 105, Issue 11<br>To: Seaside - general discussion &lt;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>&lt;<a href="mailto:CABsFVz98mrj=OCWnU-S1NjH56+nB_w0rWxSA+6GLUX2fJUnraQ@mail.gmail.com">CABsFVz98mrj=OCWnU-S1NjH56+nB_w0rWxSA+6GLUX2fJUnraQ@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br><br>What is Soup?<br><br>Nick<div><br></div><div>--------------<br><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Hah, it's funny that I'm such a newbie and being asked to explain this! It's an XML parser; you can load it up, point it to a page on the web and it'll load up a bunch of XML nodes for you. That's as far as I got with it but I believe there maybe hooks for code generation too (at least, that's what I was hoping for). It's in the repository:&nbsp;<a href="http://www.squeaksource.com/Soup">http://www.squeaksource.com/Soup</a> (there's so much in there).<br><br></span></div><div>BTW: if anyone's interested: I've been working on a few bits of code that may become useful components when they're a bit more finished. I have a 'form generator' that generates edit, read-only and list views of a model object, decorated using pragmas (thanks to Ramon Leon for that idea). It validates using JQuery validation (now the standard in MS's <a href="http://ASP.Net">ASP.Net</a> MVC 3.0) or on the server (if JQuery fails - no Javascript or whatever). And I've ported and extended Sean Mallory's v. good MongoDB implementation in Dolphin Smalltalk. I've added a custom deserialiser to it and the end to end performance on my system now seems very fast: ~180 reasonably complex and sized pages per second on one of my MacBook's 1.86GHz CoreDuo cores. This is around *twice* the performance I was able to get from a parallel coded version of my app running in MS's MVC3 and SQL Server environment. I've also added a Smalltalk -&gt; Mongo query translator by hooking into Squeak's parser. This allows you to write queries in a simple SQL like dialect, rather than the tortuous Mongo dictionary and array syntax (well, JSON really). &nbsp; &nbsp;</div><div><br></div><div>T.</div><div><br></div><div>Ted Wrinch.</div>
<br><div><div>On 9 Sep 2011, at 13:30, <a href="mailto:seaside-request@lists.squeakfoundation.org">seaside-request@lists.squeakfoundation.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Send seaside mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre">        </span><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre">        </span>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre">        </span>seaside-request@lists.squeakfoundation.org<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre">        </span>seaside-owner@lists.squeakfoundation.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of seaside digest..."<br><br><br>Today's Topics:<br><br> &nbsp;&nbsp;1. Re: seaside Digest, Vol 105, Issue 11 (Ted Wrinch)<br> &nbsp;&nbsp;2. Re: Re: seaside Digest, Vol 105, Issue 11 (Nick Ager)<br> &nbsp;&nbsp;3. Re: Re: seaside Digest, Vol 105, Issue 11<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Boris Popov, DeepCove Labs)<br> &nbsp;&nbsp;4. Fwd: seaside Digest, Vol 105, Issue 11 (Ted Wrinch)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 9 Sep 2011 13:12:46 +0100<br>From: Ted Wrinch &lt;ted.wrinch@gmail.com&gt;<br>Subject: [Seaside] Re: seaside Digest, Vol 105, Issue 11<br>To: seaside@lists.squeakfoundation.org<br>Message-ID: &lt;A575BA94-ECAB-48CB-A37C-DA8352CFDEB1@googlemail.com&gt;<br>Content-Type: text/plain; charset="windows-1252"<br><br>Message: 5<br>Date: Fri, 9 Sep 2011 07:02:16 +0100<br>From: Nick Ager &lt;nick.ager@gmail.com&gt;<br>Subject: [Seaside] canvas translator &amp; new version of Seafox<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi,<br><br>I've been working on an html -&gt; canvas translator∑.<br><br><br>This is great Nick! I was thinking that I needed the very same app and was considering using Soup at some point to knock one up. Thanks very much for providing a useful piece of the web dev kit needed for Seaside.<br><br>T. <br><br>Ted Wrinch <br><br>On 9 Sep 2011, at 10:28, seaside-request@lists.squeakfoundation.org wrote:<br><br><blockquote type="cite">Message: 5<br></blockquote><blockquote type="cite">Date: Fri, 9 Sep 2011 07:02:16 +0100<br></blockquote><blockquote type="cite">From: Nick Ager &lt;nick.ager@gmail.com&gt;<br></blockquote><blockquote type="cite">Subject: [Seaside] canvas translator &amp; new version of Seafox<br></blockquote><blockquote type="cite">To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br></blockquote><blockquote type="cite">Message-ID:<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com&gt;<br></blockquote><blockquote type="cite">Content-Type: text/plain; charset="iso-8859-1"<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've been working on an html -&gt; canvas translator. Have a look at:<br></blockquote><blockquote type="cite">http://seafox.seasidehosting.st and click on "Canvas translator". Then in<br></blockquote><blockquote type="cite">another browser tab bring up your favourite web page (e.g.<br></blockquote><blockquote type="cite">http://www.seaside.st/) highlight a section and copy. Then return to the<br></blockquote><blockquote type="cite">"Canvas Translator" and paste into the text box below the default "Rendered<br></blockquote><blockquote type="cite">html" tab. Be amazed as the html is automatically translated into Seaside<br></blockquote><blockquote type="cite">canvas rendering methods. All the tabbed views are editable and you can<br></blockquote><blockquote type="cite">switch between them, allowing you to edit in one and see the translation in<br></blockquote><blockquote type="cite">another. For example try editing some raw html and flip to the canvas view<br></blockquote><blockquote type="cite">to see the translation to canvas methods.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The translator is based on the parser I created for the Seafox Firefox<br></blockquote><blockquote type="cite">plug-in. You can download a new version of the plug-in. Improvements<br></blockquote><blockquote type="cite">include:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">* Code formatting better conforms to Seaside's coding conventions.<br></blockquote><blockquote type="cite">* The plug-in now creates an editable syntax highlighted translation (if the<br></blockquote><blockquote type="cite">translation isn't highlighted by again - there's an occasional weird<br></blockquote><blockquote type="cite">first-time only bug)<br></blockquote><blockquote type="cite">* There's a small test-suite for the parser<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You can load the code into your Seaside image with:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Gofer it<br></blockquote><blockquote type="cite">squeaksource: 'Seafox';<br></blockquote><blockquote type="cite"> package: 'ConfigurationOfSeafox';<br></blockquote><blockquote type="cite"> load.<br></blockquote><blockquote type="cite">(ConfigurationOfSeafox project version: '0.2-baseline') load.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Note: I've tested mainly on the Mac in Safari. I'd be interested to hear<br></blockquote><blockquote type="cite">different platform browser combinations work.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nick<br></blockquote><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110909/8cc6b087/attachment-0001.htm<br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 9 Sep 2011 13:17:36 +0100<br>From: Nick Ager &lt;nick.ager@gmail.com&gt;<br>Subject: Re: [Seaside] Re: seaside Digest, Vol 105, Issue 11<br>To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CABsFVz98mrj=OCWnU-S1NjH56+nB_w0rWxSA+6GLUX2fJUnraQ@mail.gmail.com&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi Ted,<br><br>This is great Nick!<br><blockquote type="cite"><br></blockquote><br>Thanks<br><br><br><blockquote type="cite">I was thinking that I needed the very same app and was considering using<br></blockquote><blockquote type="cite">Soup at some point to knock one up.<br></blockquote><blockquote type="cite"><br></blockquote><br>What is Soup?<br><br>Nick<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110909/95fcf95b/attachment-0001.htm<br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 9 Sep 2011 08:21:54 -0400<br>From: "Boris Popov, DeepCove Labs" &lt;boris@deepcovelabs.com&gt;<br>Subject: Re: [Seaside] Re: seaside Digest, Vol 105, Issue 11<br>To: "Seaside - general discussion"<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;seaside@lists.squeakfoundation.org&gt;<br>Cc: "Seaside - general discussion"<br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID: &lt;D2668563-BA78-4D1C-923C-65113F9B374F@deepcovelabs.com&gt;<br>Content-Type: text/plain; charset="us-ascii"<br><br>1. A liquid dish, typically made by boiling meat, fish, or vegetables, etc., in stock or water. <br>2. A substance or mixture perceived to resemble soup in appearance or consistency. <br><br>/sorry<br><br>Sent from my iPhone<br><br>On 2011-09-09, at 8:16, "Nick Ager" &lt;nick.ager@gmail.com&gt; wrote:<br><br><blockquote type="cite">Hi Ted,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is great Nick!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I was thinking that I needed the very same app and was considering using Soup at some point to knock one up.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What is Soup?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nick<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">seaside mailing list<br></blockquote><blockquote type="cite">seaside@lists.squeakfoundation.org<br></blockquote><blockquote type="cite">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110909/4e3728d5/attachment-0001.htm<br><br>------------------------------<br><br>Message: 4<br>Date: Fri, 9 Sep 2011 13:30:09 +0100<br>From: Ted Wrinch &lt;ted.wrinch@gmail.com&gt;<br>Subject: [Seaside] Fwd: seaside Digest, Vol 105, Issue 11<br>To: Seaside general discussion - &lt;seaside@lists.squeakfoundation.org&gt;<br>Message-ID: &lt;E998A9E9-00CB-4721-B334-5B90F2040CDA@googlemail.com&gt;<br>Content-Type: text/plain; charset="windows-1252"<br><br>Further thoughts occur. This could help ease the acceptance of Seaside in some commercial environments as it should make it easier to add html from designers' files into Seaside html code. In the absence of a tool like this it might appear that template file technologies, like ASP.Net and RoR, provide a much more natural way to do this. <br><br>T.<br><br>Ted Wrinch<br><br><br><br><br>Begin forwarded message:<br><br><blockquote type="cite">From: Ted Wrinch &lt;ted.wrinch@googlemail.com&gt;<br></blockquote><blockquote type="cite">Subject: Re: seaside Digest, Vol 105, Issue 11<br></blockquote><blockquote type="cite">Date: 9 September 2011 13:12:46 GMT+01:00<br></blockquote><blockquote type="cite">To: seaside@lists.squeakfoundation.org<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Message: 5<br></blockquote><blockquote type="cite">Date: Fri, 9 Sep 2011 07:02:16 +0100<br></blockquote><blockquote type="cite">From: Nick Ager &lt;nick.ager@gmail.com&gt;<br></blockquote><blockquote type="cite">Subject: [Seaside] canvas translator &amp; new version of Seafox<br></blockquote><blockquote type="cite">To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br></blockquote><blockquote type="cite">Message-ID:<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com&gt;<br></blockquote><blockquote type="cite">Content-Type: text/plain; charset="iso-8859-1"<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've been working on an html -&gt; canvas translator∑.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is great Nick! I was thinking that I needed the very same app and was considering using Soup at some point to knock one up. Thanks very much for providing a useful piece of the web dev kit needed for Seaside.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">T. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Ted Wrinch <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 9 Sep 2011, at 10:28, seaside-request@lists.squeakfoundation.org wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Message: 5<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Date: Fri, 9 Sep 2011 07:02:16 +0100<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: Nick Ager &lt;nick.ager@gmail.com&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: [Seaside] canvas translator &amp; new version of Seafox<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Message-ID:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Content-Type: text/plain; charset="iso-8859-1"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've been working on an html -&gt; canvas translator. Have a look at:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://seafox.seasidehosting.st and click on "Canvas translator". Then in<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">another browser tab bring up your favourite web page (e.g.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.seaside.st/) highlight a section and copy. Then return to the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"Canvas Translator" and paste into the text box below the default "Rendered<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">html" tab. Be amazed as the html is automatically translated into Seaside<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">canvas rendering methods. All the tabbed views are editable and you can<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">switch between them, allowing you to edit in one and see the translation in<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">another. For example try editing some raw html and flip to the canvas view<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">to see the translation to canvas methods.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The translator is based on the parser I created for the Seafox Firefox<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">plug-in. You can download a new version of the plug-in. Improvements<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">include:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* Code formatting better conforms to Seaside's coding conventions.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* The plug-in now creates an editable syntax highlighted translation (if the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">translation isn't highlighted by again - there's an occasional weird<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">first-time only bug)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* There's a small test-suite for the parser<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">You can load the code into your Seaside image with:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Gofer it<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">squeaksource: 'Seafox';<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> package: 'ConfigurationOfSeafox';<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> load.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(ConfigurationOfSeafox project version: '0.2-baseline') load.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Note: I've tested mainly on the Mac in Safari. I'd be interested to hear<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">different platform browser combinations work.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Nick<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110909/1b6a75b6/attachment.htm<br><br>------------------------------<br><br>_______________________________________________<br>seaside mailing list<br>seaside@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br><br><br>End of seaside Digest, Vol 105, Issue 13<br>****************************************<br></div></blockquote></div><br></div></body></html>