Databases are one thing in the modern development environments without which the world will come to a halt. Right from the small web applications which manage your to-do lists to those like Amazon, databases give them the life, the dynamism which drives the world 2.0 and beyond. QCubed
is one framework which takes care of handling databases a whole lot. Yeah, of course you have to create the tables and set them up yourself. QCubed is a development framework after all, not a frontend
to your DBMS! But there are a lot of thing which you do not have to worry about as long as you are with QCubed. We will talk about all of them in detail, later on. For now, we will introduce you to the wonders. Let's begin.
If you have been to Computer classes in your college days, chances are you are familiar with this term. The SQL (Structured Query Language) is the language in which you ask your database to insert, select, update and delete data from the tables you want according to the filters you set. But that is not easy to work with when you have tables with large numbers of attributes. QCubed makes sure that all the tables are treated as classes and the entries (the rows) are objects. It uses code generation to make sure that you do not have to mess with the queries. Instead, create an object of the class to which a table corresponds and you have all the insertion, deletion, selection and update functions made ready for you. Impressive huh? Some people might complain that there are better ways than code generation for the sake of saving disk space on the server. Some might love to have a framework which does all that dynamically. However, as the history of computing goes, there is always a performance-memory trade off. QCubed chooses to sacrifice a little bit of more space to allow better CPU utilization.