Architecture of a backbone+pyramid single page app

2012-02-23 Thread tonthon
Hi all, I'm looking for some feedback on building a single page app with backbone and pyramid (I'm using Sqlalchemy as ORM). How do you handle Urls on the js side ? How do you handle form submission (I like deform but it doesn't seem to fit my needs here) ? Cheers, Gaston -- TJEBBES

Re: Architecture of a backbone+pyramid single page app

2012-02-23 Thread John Anderson
On Thu, Feb 23, 2012 at 3:47 AM, tonthon tontho...@gmail.com wrote: Hi all, I'm looking for some feedback on building a single page app with backbone and pyramid (I'm using Sqlalchemy as ORM). How do you handle Urls on the js side ? How do you handle form submission (I like deform but it

Re: Architecture of a backbone+pyramid single page app

2012-02-23 Thread John Anderson
On Thu, Feb 23, 2012 at 1:01 PM, John Anderson son...@gmail.com wrote: On Thu, Feb 23, 2012 at 3:47 AM, tonthon tontho...@gmail.com wrote: Hi all, I'm looking for some feedback on building a single page app with backbone and pyramid (I'm using Sqlalchemy as ORM). How do you handle Urls

Re: Architecture of a backbone+pyramid single page app

2012-02-23 Thread Jonathan Vanasco
here's an example of the method i use... https://gist.github.com/1896363 it's tailored to using jquery, but not hard to change. 1. i set everything to have an 'rval' that will return - at the least - an error or success note. 2. i keep everything in a versioned API . these views map to /api/