Hi Jan, Nice work, the "Eleven" framework goes in the direction of what I was experimenting with for Seaside, but instead of trying to introduce that in Seaside without breaking everything else (as I failed to some extent) you went directly to replace and redo most of the stuff there (some with simplifications).
It's nice to see that you have ideas like OneTimeCallback and a FormHandler in it, because I had something similar going on. I didn't understand why you have a CSRF list of tokens in the Session. Thinking of Seaside, I think this would be something nice to introduce in Seaside 4.0 :-) Regards! El mar., 29 de septiembre de 2020 05:38, Jan Blizničenko < jan.bliznice...@fit.cvut.cz> escribió: > 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 >