From: Andy T. <an...@cr...> - 2001-08-20 12:29:07
|
Folks, Its not just Kevin who is grinding out code for PythonCard, despite any impressions to the contrary you may get from reading this list ;-) Although it has taken me longer than a couple of hours, I've finally got a working version of my sample application, dbBrowser. It is in the current cvs tree as a sample application (http://sourceforge.net/cvs/?group_id=19015). It probably isn't ready to be included in the daily package yet, but I will leave that call to Kevin. It does utilise some 'features' of PythonCard that aren't in the other samples though, mainly in the area of dynamic widget definition (and removal). dbBrowser is a PythonCard application designed to let you browse data that resides in a relational database. Over time it may grow into a more fully featured database client, but to do that I will need some feedback so please have a bash and let me know what you think. Now, the drawbacks; There is no documentation, so caveat emptor. dbBrowser currently only works with MySQL. In future versions I'm planning to support (at least) PostgreSQL, Oracle and some level of ODBC support. I'm also thinking about supporting csv and comma delimited files, but probably not just yet unless the clamour is deafening. If anyone wants to try plugging in another database my first documentation task is to define the interface that dbBrowser.py will expect to be exposed by plug in modules (if you want a head start have a look at mySQLBrowse.py). Now, the excuses; This is my first serious application in either Python or PythonCard so please, even if you haven't got MySQL, I'll welcome any constructive criticism of my code. Thanks in advance. The code is still under development, so feedback will help me build a better application. There are a couple of bits of code that even I reckon are necessary for revision and they are commented as such in the code. Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |