Hi all.
I have a Pyramid bootstrapped script that has to process thousands of
rows (on relatively complex model relationships) per call from command
line. Pyramid is bootstrapped to reuse models and helper functions from
the main web application this script is part of.
The problem I'm havin
/facepalm
Okay, debugtoolbar does that. If I disable it from config, everything
works fine. My fault. Been hunting for this memory leak for two days
straight and it never occurred to me that even the command line
bootstrapped Pyramid, when using development.ini, will have the debug
toolbar
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 Gasto
I've replied to this but sent both to SQLAlchemy list and here, seems it
never got here.
The problem was in the debug toolbar. It never occurred to me that using
a bootstrapped Pyramid from a command line script would use debug
toolbar (because I used development.ini which had it on), and de
On Thu, Feb 23, 2012 at 3:47 AM, tonthon 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 doesn't seem t
On Thu, Feb 23, 2012 at 1:01 PM, John Anderson wrote:
>
>
> On Thu, Feb 23, 2012 at 3:47 AM, tonthon 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 ?
>>
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/