Have you ever tried using AngularJS with Web2py? It's a mess because all 
the instructions I tried didn't work.
You can't use their templates at all, you have to do this:
<span ng:bind="item.name"></span> 

instead of the much easier {{item.name}}

I would love to use Angular or something similar because it takes one round 
trip away from the system, and makes your web applications faster. 
For example, I have a form to add an item to a list. I update the dom 
client side while also sending the server the 'add' command. So I don't 
have to wait for the roundtrip. I can fake it and make the client seem 
faster.

On Thursday, September 27, 2012 10:25:41 PM UTC-7, Alec Taylor wrote:
>
> AngularJS has been gaining a lot of popularity lately. 
>
> The idea that could make web2py [more] popular, is automatic 
> generating of completely decoupled client-side views in 
> JavaScript+HTML using REST. 
>
> On Fri, Sep 28, 2012 at 2:22 PM, Ezugworie Ikechukwu 
> <[email protected] <javascript:>> wrote: 
> > Please, is there any recipe for using web2py with the dojo toolkit? 
> > Thanks 
> > 
> > 
> > On Thu, Sep 27, 2012 at 9:19 PM, pbreit <[email protected]<javascript:>> 
> wrote: 
> >> 
> >> I keep looking at the various JavaScript frameworks and generally come 
> >> away disappointed in that I fail to grok them. I have really 
> appreciated 
> >> Web2py because it is very powerful yet very sensible. The JavaScript 
> >> frameworks I assume are powerful but don't seem very sensible. 
> >> 
> >> I'd love to see what Massimo would come up with! 
> >> 
> >> -- 
> >> 
> >> 
> >> 
> > 
> > 
> > -- 
> > 
> > 
> > 
>

-- 



Reply via email to