yep, but I never used PhoneGap to know what is in "deployment files". My 
point was stating that you can generate views with response.render using 
web2py templates programmatically, but that generally using javascript 
frameworks the logic you usually "code" into controllers and views must be 
pushed into html and javascript only on the "views" side.

On Saturday, December 8, 2012 2:20:18 PM UTC+1, Alec Taylor wrote:
>
> Niphold: By generating decoupled views I mean generating the relevant 
> files for deployment into a PhoneGap app. 
>
> On Sat, Dec 8, 2012 at 4:35 AM, Niphlod <[email protected] <javascript:>> 
> wrote: 
> > I don't understand: using js frameworks like angularjs requires to move 
> the 
> > "logic" much more towards the View than the Controller... 
> > anyway, what do you mean by "generating decoupled views" ? 
> response.render() 
> > ? 
> > 
> > 
> > On Friday, December 7, 2012 7:43:31 AM UTC+1, Alec Taylor wrote: 
> >> 
> >> AngularJS is a great MVC framework from Google. There are a bunch of 
> >> others also. 
> >> 
> >> Currently I develop my web-apps by: 
> >> 1. Creating models in web2py 
> >> 2. Creating controllers in web2py 
> >> 3. Creating views in web2py* 
> >> 
> >> Then I create my mobile app (PhoneGap): 
> >> 1. Create models using AngularJS* 
> >> 2. Create controllers using AngularJS, that talk RESTfully with my 
> web2py 
> >> app 
> >> 3. Create views in AngularJS 
> >> 
> >> *sometimes 
> >> 
> >> Anything in the pipeline about generating decoupled views; so that I 
> >> don't need to reimplement my components "manually" in JavaScript? 
> >> 
> >> Thanks for all suggestions, 
> >> 
> >> Alec Taylor 
> > 
> > -- 
> > 
> > 
> > 
>

-- 



Reply via email to