I was wondering if anyone has ever tried anything like this before: I
have an application that will be running mostly from data via Python
API calls. This means that I won't really need to use the database at
all. The problem with this approach, is that some important web2py
features are only available when using the DAL. I'll use CRUD and
SQLFORM as an example, but also plugins like PowerTables all require
the DAL and table definitions.

I had thought of loading some of the API's information into a
database, and working off of that, and periodically refreshing but I'd
have to do that every 30 seconds or so and that's a lot of extra work
that could potentially introduce bugs and make debugging harder.

So my question is: Is it possible to define a set of table definitions
(reference fields and all) and pull information from the API instead
of from the database so that I could use things like CRUD and
PowerTables?

Reply via email to