Discussion:
[bottlepy] Sqlalchemy and bottle
Nicholas Cole
2015-07-07 14:20:14 UTC
Permalink
Hi all,

I'm looking for a web framework to put a web front end on an existing
application, and bottle does all the things I need. I have one question
though.

I have an existing database and application that uses sqlalchemy. I would
like to use this same database with bottlepy and I see that there is a
bottle-sqlalchemy plugin. Is it possible to use this plugin for the web
front end while the same database still uses standard sqlalchemy for the
desktop application.

I hope that makes sense! Does anyone have any experience with this kind of
problem?

Best wishes,

Nicholas
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Iuri
2015-07-07 14:24:44 UTC
Permalink
Hi Nicholas,

I created this plugin. Yes, it is possible to do what you want.

The bottle-sqlalchemy plugin just use plain SQLAlchemy engine/metadata.

You can even share the same models with both applications.
Post by Nicholas Cole
Hi all,
I'm looking for a web framework to put a web front end on an existing
application, and bottle does all the things I need. I have one question
though.
I have an existing database and application that uses sqlalchemy. I would
like to use this same database with bottlepy and I see that there is a
bottle-sqlalchemy plugin. Is it possible to use this plugin for the web
front end while the same database still uses standard sqlalchemy for the
desktop application.
I hope that makes sense! Does anyone have any experience with this kind
of problem?
Best wishes,
Nicholas
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.

---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...