[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Smalltalk
Hi Tim, To build HTML I use the HtmlElement in https://github.com/jgfoster/WebGS . James > On Sep 28, 2020, at 10:28 AM, Tim Mackinnon wrote: > > Hi - has anyone ever managed to extract the html builder out of seaside - or > written something equivalent? >

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Tim Mackinnon
Lots of good tips in this thread to explore - thanks everyone, I’ll report back on what I find works best… To Offray - with a template approach, I have often been tempted with that too but I like the idea of autocompletion and easier refactoring capabilities in Pharo… but you never know. Tim

[Pharo-users] Re: how to check for the statusCode

2020-09-28 Thread Roelof Wobben via Pharo-users
Op 28-9-2020 om 21:11 schreef Sven Van Caekenberghe: You *really* should read the HTTP chapters of http://books.pharo.org/enterprise-pharo/ in particular https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HT

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Offray Vladimir Luna Cárdenas
Hi, I know this is not what you're asking for, but maybe some lateral thinking could help with your need. Jump to the end for the TL;DR suggestion or bear with me some paragraphs for a practical example. In our project about "IndieWeb with Brea", we use Pandoc and some external tools to produce t

[Pharo-users] Re: how to check for the statusCode

2020-09-28 Thread Sven Van Caekenberghe
You *really* should read the HTTP chapters of http://books.pharo.org/enterprise-pharo/ in particular https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html not just the Web App chapters. Also, any general i

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Esteban Maringolo
I've been playing with something like that, but still using Seaside. I was calling it "WAStatelessApplication", which is nothing but a way to route requests to components, and have these components not using callbacks nor continuations. I'm really comfortable with the Seaside canvas way of doing

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Franz Josef Konrad
Am 28.09.2020 um 19:28 schrieb Tim Mackinnon: Hi - has anyone ever managed to extract the html builder out of seaside - or written something equivalent? I often find I want to build some HTML, but don’t want the full seaside - and was wondering if anyone has managed to extract it, or have some

[Pharo-users] how to check for the statusCode

2020-09-28 Thread Roelof Wobben via Pharo-users
Hello, Sorry for asking so much questions but I lost the big picture right now. Im trying to get the response object back from a api call. That I can do with : ` response := ZnEasy get: url. ` and I see that it has the fields statusline which has the field code I thought I could use it like

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Eric Gade
> On 28 Sep 2020, at 19:28, Tim Mackinnon wrote: > > > I often find I want to build some HTML, but don’t want the full seaside > - and was wondering if anyone has managed to extract it, or have something > similar? > I had a similar thought a few months back when I was looking for libraries to

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Sven Van Caekenberghe
Hi Tim, > On 28 Sep 2020, at 19:28, Tim Mackinnon wrote: > > Hi - has anyone ever managed to extract the html builder out of seaside - or > written something equivalent? > > I often find I want to build some HTML, but don’t want the full seaside - and > was wondering if anyone has managed to

[Pharo-users] Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Tim Mackinnon
Hi - has anyone ever managed to extract the html builder out of seaside - or written something equivalent? I often find I want to build some HTML, but don’t want the full seaside - and was wondering if anyone has managed to extract it, or have something similar? This combined with Renoir from B