Please don't tell me to ask developers, as it is just question not request
Why doesn't wx Have its own JDBC? Many app these days are DB driven but no official for wxWidgets. Is it inherited flaw from C++ itself?
I would like to hear your opinions
why wxWidgets have no "official" support for datab Topic is solved
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
why wxWidgets have no "official" support for datab
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
would you point those ones for C++? I know JDBC for Java and MySQL Connector C++ but this one has no way to compile with my favorite MinGW. Not everybody wants to switch to MSVCFrank wrote:Also, there are toolkits that specialize in DB-Access. So why would you roll your own, when it could never be of the same quality as the specialized?
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
JDBC is Java's couterpart of ODBC in C. It's a generic, database independet API.
But there are C++ APIs too (don't know any, it's been some years since I looked. I rolled my own for DB2, because I wanted to use every trick to get the best performance out of DB2. No generic API for me, thanks). I remember one API, where the resultset is just another STL-Like-Container, very elegant. Don't remember it's name though...
But there are C++ APIs too (don't know any, it's been some years since I looked. I rolled my own for DB2, because I wanted to use every trick to get the best performance out of DB2. No generic API for me, thanks). I remember one API, where the resultset is just another STL-Like-Container, very elegant. Don't remember it's name though...
-
- Super wx Problem Solver
- Posts: 401
- Joined: Wed Sep 21, 2005 8:17 am
- Location: Rostov-on-Don, Southern Russia
Of course, first of all wxWidgets is a GUI toolkit, but minimal database support probably should be has, as well as it has XML support...Auria wrote:I think the main rationale is that wxWidgets is a GUI toolkit, not an all-encompassing framework. So it has to make choices and concentrate on where to spend its limited resources
Win XP HE SP3, Vista
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0
-
- Super wx Problem Solver
- Posts: 401
- Joined: Wed Sep 21, 2005 8:17 am
- Location: Rostov-on-Don, Southern Russia
Sure I would make it with pleasure, but I'm afraid I don't have enough experience in database field hope in someday I'll get it and write a great, solid, stable database layer for wx.Auria wrote:Mojo: if someone steps in and writes a great, solid, stable database layer for wx, and is ready to maintain it, I'm sure it will be welcome. Meanwhile, wx does not have enough developers for that
Win XP HE SP3, Vista
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0
There is the wxCode component DatabaseLayer developed by Joseph Blough providing a JDBC-like interface and supporting several database systems (i.e. FireBird, MySQL, ODBC, Oracle, OTL, Postgres, SQLite, and TDS).Auria wrote:if someone steps in and writes a great, solid, stable database layer for wx, and is ready to maintain it, I'm sure it will be welcome.
Regards,
Ulrich
-
- Earned some good credits
- Posts: 115
- Joined: Sat Jul 23, 2005 3:52 pm
- Location: Germany
- Contact:
Re:
I think of DatabaseLayer as a definition how to adapt database systems to wxWidgets. I think about using interfaces (pure abstract classes) instead of a layer between wxWidgets and database backends. But then you are responsible to do much more than writing the backend.utelle wrote:There is the wxCode component DatabaseLayer developed by Joseph Blough providing a JDBC-like interface and supporting several database systems (i.e. FireBird, MySQL, ODBC, Oracle, OTL, Postgres, SQLite, and TDS).Auria wrote:if someone steps in and writes a great, solid, stable database layer for wx, and is ready to maintain it, I'm sure it will be welcome.
Regards,
Ulrich
I would argue that DatabaseLayer IS the one to be used for wxWidgets based applications. The library has a stable interface - in my view - as there are many backends, and thus it would be my choice if I write a plain wxWidgets database app.
Regards,
Lothar
OS: Windows 7, Mac OS X (Panther/Leopard/Snow Leopard), SuSE Linux, Debian (PPC), OpenMoko FreeRunner
Compiler: OpenWatcom, GCC
wxWidgets 2.8.x
IDE Makefile based.
RAD My own brewed, Code generation with XSLT and DialogBlocks
Compiler: OpenWatcom, GCC
wxWidgets 2.8.x
IDE Makefile based.
RAD My own brewed, Code generation with XSLT and DialogBlocks