Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-26 Thread Pierce Ng
On Fri, Feb 26, 2016 at 07:34:00AM +0100, Sven Van Caekenberghe wrote: > And Zn has a very simple one too (since recently): And I published WaterMint a few months ago. http://www.samadhiweb.com/blog/2015.09.26.watermint.html.html http://www.smalltalkhub.com/#!/~PierceNg/WaterMint-HTML |

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-26 Thread Johan Brichau
Well… It’s in a separate package called ‘Seaside-Canvas’. You should only need Seaside-Core as a prerequisite, as you can derive from the metacello config. I did not try, but let me know if you do. Johan > On 25 Feb 2016, at 23:07, stepharo wrote: > > Hi johan > > What

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-26 Thread MartinW
Sven Van Caekenberghe-2 wrote > And Zn has a very simple one too (since recently): > > generateHelp > "Generate an HTML page with links to all pages I support" > > ^ ZnHtmlOutputStream streamContents: [ :html | > html page: (self class name, ' Help') do: [ > html

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-26 Thread MartinW
stepharo wrote > Hi johan > > What would be good is to have it in a separate package because I wanted > to output HTML and loading seaside > for that was heavy. > > Stef Yes, this is exactly what I was looking for :) -- View this message in context:

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-25 Thread Sven Van Caekenberghe
And Zn has a very simple one too (since recently): generateHelp "Generate an HTML page with links to all pages I support" ^ ZnHtmlOutputStream streamContents: [ :html | html page: (self class name, ' Help') do: [ html tag: #h3 with: 'Available Pages'.

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-25 Thread Damien Cassou
MartinW writes: > I know, there are templating systems like Mustache, but I always loved > Seaside's Canvas/Brush metaphor for creating HTML. Is it available as a > standalone package, so it can be used outside of Seaside? Pillar has this which is less powerful thank Seaside

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-25 Thread stepharo
Hi johan What would be good is to have it in a separate package because I wanted to output HTML and loading seaside for that was heavy. Stef Le 25/2/16 19:33, Johan Brichau a écrit : Depends on what you mean with ‘outside of Seaside’ but maybe this is what you would be looking for:

Re: [Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-25 Thread Johan Brichau
Depends on what you mean with ‘outside of Seaside’ but maybe this is what you would be looking for: WAHtmlCanvas builder render: [ :html | html anchor url: 'htttp://www.seaside.st'; with: 'Seaside Homepage' ] See WABuilderCanvasTest for some examples.

[Pharo-users] Is Seaside's Canvas/Brush metaphor for creating HTML available outside of Seaside?

2016-02-25 Thread MartinW
Hi, I know, there are templating systems like Mustache, but I always loved Seaside's Canvas/Brush metaphor for creating HTML. Is it available as a standalone package, so it can be used outside of Seaside? Best regards, Martin. -- View this message in context: