Plugin with an external database

12 views
Skip to first unread message

erinther

unread,
Jul 2, 2010, 6:55:53 AM7/2/10
to habari-users
Beside my usual habari installation I've another database (with a very
different DB schema). What's the best practice to make a plugin so
that users can interact with this database vi habari admin page?

Matt Read

unread,
Jul 20, 2010, 5:05:29 PM7/20/10
to habari...@googlegroups.com

depends really on the other DB schema. You can use Habari's built in
DB classes to create a new connection to your DB, that would involve
creating a QueryRecord class for your data.

That's the path I would take, although I haven't thought it through much.

(you should try habari-dev list ;)

--
Matt Read
http://mattread.info
http://mattread.com

Reply all
Reply to author
Forward
0 new messages