Hi jan

can you do a PR to add eleven to the awesome list?

S

> On 29 Sep 2020, at 10:37, Jan Blizničenko <jan.bliznice...@fit.cvut.cz> wrote:
> 
> Hello,
> 
> I am using https://github.com/JanBliznicenko/eleven for one of my projects.
> It is also a full framework, yet much simplier than Seaside and stateless
> and I believe only the HTML building functionality can be used indpendently.
> 
> Example:
> htmlObject := HtmlBody
>               with:
>                       (HtmlDiv
>                               class: 'content'
>                               with:
>                                       (HtmlAnchor new
>                                               href: 'https://pharo.org';
>                                               targetBlank;
>                                               with: 'Pharo website';
>                                               yourself)).
> String streamContents: [:stream | htmlObject renderFor: nil on: stream]
> 
> The nil I am passing in the last line is there in place of an ELRequest
> entity and is not needed for simple HTML tags without custom components. You
> might check it out. Be aware that my former colleague created it for our
> specific project and I have never used it in any other place, so I just HOPE
> it would work like I imagine. It is also not documented or tested at all.
> 
> Best regards,
> Jan
> 
> 
> 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 extract it, or have something
>> similar?
>> 
>> This combined with Renoir from BA-ST would give a good little light weight
>> web potential to run with Zinc.
>> 
>> Tim
> 
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org 
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply via email to