Craig Latta wrote
> Oh, it wasn't clear to me that this was one of Sean's requirements.
I would say "sorry" but I'm glad I wasn't clear because I learned something
cool from your reply ;)
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Hi Norbert--
> > In Pharo on the SqueakJS virtual machine in a web browser[1], I
> > sketch with live DOM objects, and write them out as HTML. This way,
> > the DSL is the actual JavaScript DOM API which is sitting in the web
> > browser anyway, although driven with Smalltalk messages over the
> Am 18.09.2017 um 09:03 schrieb Craig Latta :
>
>
> Hi Sean--
>
>> I'd like to create HTML via a DSL, like Seaside's canvas builder, but
>> without loading a whole web framework. Any ideas?
>
> In Pharo on the SqueakJS virtual machine in a web browser[1], I
>
Hi Sean--
> I'd like to create HTML via a DSL, like Seaside's canvas builder, but
> without loading a whole web framework. Any ideas?
In Pharo on the SqueakJS virtual machine in a web browser[1], I
sketch with live DOM objects, and write them out as HTML. This way, the
DSL is the actual
NorbertHartl wrote
> There could be a lot of synergies here because web frameworks, pillar,
> PharoJS are all working close to something like that.
I first thought along these lines when using Amber. I was writing Bootstrap
support and saw that it was already available for Seaside and thought,
Ok I will try to digest it :)
I do not remember how this is done in Pillar but this is a visitor and
it could call a streaming generator.
Stef
On Sun, Sep 17, 2017 at 2:10 PM, Norbert Hartl wrote:
>
>
>> Am 17.09.2017 um 13:34 schrieb Stephane Ducasse
> Am 17.09.2017 um 13:34 schrieb Stephane Ducasse :
>
> Norbert can you explain the difference between "a HTML model that can
> be used for streaming, too, instead just the streaming."
> because indeed in Pillar we have another HTML exporter and I would
> like to reuse
Norbert can you explain the difference between "a HTML model that can
be used for streaming, too, instead just the streaming."
because indeed in Pillar we have another HTML exporter and I would
like to reuse :)
On Sun, Sep 17, 2017 at 1:29 PM, Norbert Hartl wrote:
>
>
>> Am
> Am 17.09.2017 um 12:12 schrieb Pierce Ng :
>
>> On Mon, Sep 11, 2017 at 06:25:55PM +0200, Stephane Ducasse wrote:
>> Hi Pierce Ng
>> How different is the API from Seaside?
>> Because I would like to use it.
>> I like to think modularly :)
>
> Hi Stef,
>
> I modeled it
On Mon, Sep 11, 2017 at 10:14:54AM -0300, Esteban A. Maringolo wrote:
> I don't know how modular it is, but maybe loading only the 'Seaside-Canvas'
> package you can use the WAHtmlCanvas to create the HTML content.
I also experimented with loading enough of Seaside in bits and pieces to get
the
On Mon, Sep 11, 2017 at 06:25:55PM +0200, Stephane Ducasse wrote:
> Hi Pierce Ng
> How different is the API from Seaside?
> Because I would like to use it.
> I like to think modularly :)
Hi Stef,
I modeled it after Seaside's API. However, it was really just a start and needs
much more work. I
Stephane Ducasse wrote:
Hi Pierce Ng
How different is the API from Seaside?
Because I would like to use it.
I like to think modularly :)
Stef
Maybe porting Silk and let it write to some simulated DOM could be
interesting as well... :-)
https://lolg.it/herby/silk
Herby
On Mon, Sep 11,
Interestingly the Seaside team has realized this as well
https://github.com/SeasideSt/Seaside/issues/976
On 9/11/17, Stephane Ducasse wrote:
> Hi Pierce Ng
>
> How different is the API from Seaside?
> Because I would like to use it.
> I like to think modularly :)
>
Hi Pierce Ng
How different is the API from Seaside?
Because I would like to use it.
I like to think modularly :)
Stef
On Mon, Sep 11, 2017 at 12:31 PM, Pierce Ng wrote:
> On Fri, Sep 08, 2017 at 03:15:56PM -0700, Sean P. DeNigris wrote:
>> I'd like to create HTML via a
I don't know how modular it is, but maybe loading only the 'Seaside-Canvas'
package you can use the WAHtmlCanvas to create the HTML content.
I used it together with Mandrill client by creating the mail body with the
result of `WAHtmlCanvas builder render: [ :html | ... ]`.
HTH.
Regards,
On Fri, Sep 08, 2017 at 03:15:56PM -0700, Sean P. DeNigris wrote:
> I'd like to create HTML via a DSL, like Seaside's canvas builder, but without
> loading a whole web framework. Any ideas?
I wrote this but subsequently decided that loading the whole of Seaside into my
image just for this
Sven Van Caekenberghe-2 wrote
> not really a DSL
I disagree ;) It looks perfect!
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Hannes Hirzel wrote
> the question is of course - is it the HTML only model you are
> interested in or is it rather a 'web document model'
Thanks for the detailed replies! Yes, you are right. I should've given more
info about my use case. I had some HTML that I was using for an email
signature
Sean,
the question is of course - is it the HTML only model you are
interested in or is it rather a 'web document model' (i.e. something
which is displayed in a browser) thus including HTML and CSS.
--HH.
On 9/9/17, H. Hirzel wrote:
> On 9/9/17, Sean P. DeNigris
On 9/9/17, Sean P. DeNigris wrote:
> I'd like to create HTML via a DSL, like Seaside's canvas builder, but
> without
> loading a whole web framework. Any ideas?
>
Hello Sean
1.
One idea is _not_ to go for a HTML builder DSL but for a document
model plus a generator.
The
Hi sean
I want the same :). Now I have to finish my lectures for within two
weeks and I should not read this mailing-list :)
I do not remember what we did in Pillar.
Now if you extract the canvas/builder from Seaside and rename it to
avoid conflict I'm all ears.
Stef
On Sat, Sep 9, 2017 at
There is ZnHtmlOutputStream, not really a DSL, but it might help.
> On 9 Sep 2017, at 00:15, Sean P. DeNigris wrote:
>
> I'd like to create HTML via a DSL, like Seaside's canvas builder, but without
> loading a whole web framework. Any ideas?
>
>
>
> -
> Cheers,
>
I'd like to create HTML via a DSL, like Seaside's canvas builder, but without
loading a whole web framework. Any ideas?
-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
23 matches
Mail list logo