Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-07 Thread Werner Kassens
Is ironic if you think about, Pharo really lacks documentation even in basic areas, Are you joking? I spend my time writing books and chapters and their quality is quite good. Hi, i think in the meantime the docu _is quite good. i like the deep into pharo book, that also covered basic areas li

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-07 Thread Sven Van Caekenberghe
Kilon, You did start with converting PBE, right ? What is the current status ? I kind of liked the git book. And it is badly needed, indeed. Sven > On 07 Nov 2014, at 13:56, kilon alios wrote: > > Stef I did not meant it as offence, of course you do great amount of work for > documentation.

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-07 Thread kilon alios
Stef I did not meant it as offence, of course you do great amount of work for documentation. But I cannot ignore the fact that PBE is still stuck to 1.4, that there is no documentation for Pharo Morphic and most libraries if not all are partly documented."lacks documentation" does not mean that the

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-07 Thread stepharo
On 4/11/14 13:53, kilon alios wrote: I have welcomed Amber with open arms, but I have failed miserably to wrap my head around it. Is ironic if you think about, Pharo really lacks documentation even in basic areas, Are you joking? I spend my time writing books and chapters and their quality i

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-04 Thread kilon alios
I have welcomed Amber with open arms, but I have failed miserably to wrap my head around it. Is ironic if you think about, Pharo really lacks documentation even in basic areas, libraries are nowhere near as powerful as those offered by javascript yet I have found Pharo way easier to use. Web devel

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-04 Thread stepharo
I'm really interested to see how we could develop amber inside pharo and generate JS/amber code. May be you should look at spec instead of OB. On 4/11/14 03:55, Pierce Ng wrote: On Mon, Oct 27, 2014 at 10:21:18PM +0200, kilon alios wrote: Even though I always have been a supporter of Amber the

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-11-03 Thread Pierce Ng
On Mon, Oct 27, 2014 at 10:21:18PM +0200, kilon alios wrote: > Even though I always have been a supporter of Amber the IDE has still a > very long way to go. I've been meaning to build a code browser for Amber (and GST) in Pharo with Omnibrowser using the Shampoo protocol[1], once I get some copi

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-29 Thread Attila Magyar
Also, there is a serveStatic: '/statics' from: '/var/www/htdocs' if someone wants to store something outside the image. -- View this message in context: http://forum.world.st/How-not-to-serve-an-AngularJs-application-from-Pharo-tp4786980p4787433.html Sent from the Pharo Smalltalk Users mai

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-29 Thread Stephan Eggermont
Kilon wrote: >would it not be better to have the html / css and js code outside the image ? >so instead to load files instead of return strings ? Only for the things that are really static. All other parts should be in the image, and be generated, just like the seaside canvas does for html. Wor

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-29 Thread kilon alios
oh brilliant, I really like this design very much. Definitely will look a bit deeper into this . I guess it makes sense to pass the source files as string when the web app is finished to speed up loading times. I really like this workflow for creating web apps. Well done guys. On Wed, Oct 29, 20

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-29 Thread S Krish
"would it not be better to have the html / css and js code outside the image ? so instead to load files instead of return strings ? " *GET: '/index.html' -> [ self openspaceHtml ]; * can be modified to: *GET: '/index.html' -> [ self fetch: 'html/openspace.html' ]; * and the *fetch:* method c

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread kilon alios
would it not be better to have the html / css and js code outside the image ? so instead to load files instead of return strings ? this would make it easier to edit the code for html/css/js . GT js integration no idea how that works, does GT has for example syntax highlighting or other js specific

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread Stephan Eggermont
Kilon wrote >Really nice I now see the teapot stuff, for example this > >GET: 'demo/common/style.css' -> [ self styleCss ]; > >is really flexible meaning you can interpret http addresses and map them to >pharo methods. This a really cool idea indeed, I see now why people are >excited about teapot

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread kilon alios
Very interesting , I always wonder how you can combine those two together. Really nice I now see the teapot stuff, for example this GET: 'demo/common/style.css' -> [ self styleCss ]; is really flexible meaning you can interpret http addresses and map them to pharo methods. This a really cool ide

[Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread Stephan Eggermont
A small experiment in serving an AngularJs application from Pharo. Based on https://github.com/StephanEggermont/OpenSpace Gofer it smalltalkhubUser: 'StephanEggermont' project: 'OpenSpace'; configuration; loadDevelopment. OpenSpace new start. Start a browser and open it on http://lo