Re: [web2py] Re: Can web2py "front-end" an API?

2015-10-20 Thread Anthony
I think it's clear that by "model-less," Luis meant no db/database model definitions (at least not with regard to third party API's). In the past, the term "model-less" has also been used to describe an architecture that avoids use of files in the /models folder. The term is ambiguous because a

Re: [web2py] Re: Can web2py "front-end" an API?

2015-10-20 Thread Richard Vézina
Hmm... Model-Less application shouldn't be regarded as a web2py application without model properly defined... Model-Less web2py application is just an application written with web2py where the models are not defined in the models/ folder of web2py to avoid cost of parsing models definition at each

[web2py] Re: Can web2py "front-end" an API?

2015-10-20 Thread Luis Valladares
What if you use a model-less aplication? thats the way we handled this, we have a web2py application that consumes a lot of microservices, this application doesnt have any DB object and doesnt use the dal, it makes HTTP request to the api inside the controllers (Using the python requests librar

[web2py] Re: Can web2py "front-end" an API?

2015-10-19 Thread Massimo Di Pierro
yes. that would be really neat! On Sunday, 18 October 2015 04:20:52 UTC-5, Leonel Câmara wrote: > > You could make a a DAL adapter yes. In fact one could argue that all DAL > adapters are facades for APIs. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://git

Re: [web2py] Re: Can web2py "front-end" an API?

2015-10-19 Thread António Ramos
DAL as a webservice ? like a REST endpoint ? There is something like that and i like it http://loopback.io/ 2015-10-18 13:48 GMT+01:00 Anthony : > Maybe check out the IMAP adapter > for > some ideas. > > Anthony > > > On Sund

[web2py] Re: Can web2py "front-end" an API?

2015-10-18 Thread Anthony
Maybe check out the IMAP adapter for some ideas. Anthony On Sunday, October 18, 2015 at 1:25:50 AM UTC-4, pbreit wrote: > > Is there an easy way to use web2py to "front-end" and API? What I mean by > that is that given a publ

[web2py] Re: Can web2py "front-end" an API?

2015-10-18 Thread Leonel Câmara
You could make a a DAL adapter yes. In fact one could argue that all DAL adapters are facades for APIs. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- Y