[web2py] Re: spinejs with Web2py

2011-10-07 Thread Carl
the latest version of spine (1.0.0 at spinejs.com) fixed the bugs and json can be retrieved. time to crack on!

[web2py] Re: spinejs with Web2py

2011-09-30 Thread Carl
p.s. I'm calling my controller from spinejs thus: http://127.0.0.1:8000/app/default/count.json ie I've added on ".json" in addition to decorating the function. when I call this function from another framework (Pyjamas) all is fine. It's something subtle no doubt! :)

[web2py] Re: spinejs with Web2py

2011-09-30 Thread Carl
VP... given that Web2py is written in Python it might adopt an existing JavaScript-based MVC framework for client side app development. As you've pointed out, it has already adopted the JavaScript-based library JQuery. JQuery doesn't have a app framework but there's quite a few putting effort in

[web2py] Re: spinejs with Web2py

2011-09-30 Thread VP
Just looking very briefly at spinejs, I think it's a bad idea to use it with web2py. Spinejs is supposed to be a framework itself, with its own models, views, etc. Where webp2y might fit in is providing server side storage. Hopefully, one day web2py's default option is to AJAX everything related