Technology news and Jobs
The Linux distillery
Rapid Linux apps using object databases
The Linux distillery
Rapid Linux apps using object databases | Rapid Linux apps using object databases |
|
| by David M Williams | |
| Wednesday, 11 June 2008 | |
|
Page 2 of 3 db4o, as you’ve likely sussed from the previous paragraph, stores its data in a different way to a relational database. Rather than flat tables with repeated primary key and foreign key values splattered throughout, db4o uses a different model. It builds upon the popular object oriented programming paradigm which will be familiar and comfortable to those who code in C++, Java, Smalltalk, Python and even, on the Windows side, Visual Basic.NET, Delphi and more.Featured Whitepaper
5 Best Practices for Smartphone Support
For coders this is a huge time saving, particularly if they are coming from a different platform and are not familiar with Linux mainstays such as MySQL. I’m not even talking just about fat client programs but also Web-based programs can benefit from this, after all they too use a database to store information. And, of course, beginning programmers also benefit from decreased complexity. Those learning PHP on their home Linux setup can focus on PHP itself, without having to worry about such housekeeping as how to save their data. Instead, db4o will save slabs of memory to disk with a minimum of fuss. You can get started by downloading db4o either from their direct web site or from SourceForge. You can also click directly through to the download page for the current version at the time of writing, version 6.4. Presently, db4o only contains libraries for Java (and .NET) so you will need to use Java on a Linux platform, or perhaps the Mono framework. There isn’t a C++ library at this time. Mind you, it is open source and all the code is there so hopefully an altruist will provide additional libraries for other languages. I’ve been spruiking this simplicity. Here’s some sample code to demonstrate. CONTINUED |
| < Next story in category | Previous story in the category > |
|---|








