On Mon, 25 Mar 2013 11:48:48 -0400
Jacob Peck <[email protected]> wrote:

> On 3/25/2013 11:42 AM, Don Dwiggins wrote:
> >  If you're going to use a DB, take a look at SQLAlchemy, particularly 
> > the ORM layer.  You could achieve a level of independence from a 
> > particular DBMS, and might find it useful to have an object model.
> >
> I second this recommendation.  Having recently worked on a project using 
> SQLAlchemy, I have to say it's fairly simple to add SQLA's ORM to any 
> old Python class.  Trivial in most cases, even.
> -->Jake

I use Django's ORM a lot, and it is nice for complex schemas.  I've
used SQLAlchemy in the past too.  We can certainly go that way if
specializing the adapter layer for our 'cloud' storage becomes
burdensome, but I think initially our schema would be simple enough
that it wouldn't be worth the dependency, and we'd need to handle
things like git and non-sql DBs anyway.

Don't know what the adapter layer will look like yet, but I imagine it
will be something like

update = adapter.get_new_nodes(since=from_date)

and 

adapter.push(c.p)

etc.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to