QCubed

QCubed Documentation

QCubed DocumentationWeb is a huge repository of resources, in form of text, media and resources which can help you earn money, solve various problems and at times even save lives. Web development is a highly dynamic field with an every growing demand of efficiency speed and rich user experience and yet, uncluttered. Simplicity is more than a buzzword but an actual strain which almost all developers around the world have to deal with. There are many things to take care of. Efficiency, customization, ease of use and a lot and lot of technical aspects to just begin with. There are people who actually take the pain to write every single line of code themselves, just to make sure that the power offered by the programming languages can be completely exploited. Although is is not bad in anyway, but it becomes tedious and difficult to manage as the application code base grows. It is this time when many of those who took the pain of writing things from scratch feel as if they have committed a mistake by doing things manually. The feeling of being in the middle of something unfinished and yet too far from the beginning can get frustrating. Hence, frameworks were born. Since, PHP is one of most used (or perhaps THE most used) language for programming web applications, we will be focusing on PHP. Moreover, QCubed is a PHP framework, so that would make more sense (in our opinion).

Who am I and why you can trust this documentation? Yes - you would ask yourself that question before and as you want to read this article and any that follow in this series. So here I tell you: My name is Vaibhav Kaushal and I am one of the core contributors to the QCubed project: http://trac.qcu.be/projects/qcubed/wiki/QcubedContributors . I also add to the QCubed wiki from time to time and usually you will find here on this site all that you will find there. There are however some pieces which you would not find here but I would give a link to those pages anyway. In case you are thinking about why a documentation on this site when it could have been all on the main project site itself, here are my selfish reasons:
  • I love to write.
  • When I bring out a new feature, I would write it here.
  • Other members are busy enough that they usually do not write any documentation (not that I am all free, but writing being something I enjoy, I write it)
  • This is a documentation (a blog, organized in an order) while the main site contains mostly a wiki where things are available.
  • I usually update things on this site first and then do that on the project wiki - the reason being - I usually fail to find the right article within the limited time I get and then update it.
  • I can have revisions of documents here which is a little difficult (and cumbersome) for me to create there.
  • This site displays some ads which gives me a few pennies to keep writing code which I can contribute back

QCubed ORM Relationships

QCubed does the heavy job done for you automatically so you do not have to worry! QCubed, during its ["Codegen"] process will create members in every class it generates. ORM or Object Relational Mapping is a way to inter-relate various objects to each other based on constraints and relationships among them. QCubed PHP Framework is built just for that. As is with any other ORM software, QCubed too has its own downsides!

App Includes - Including your own files easily in QCubed

A framework is goddamn useless. You know that right? Well, the framework provides you facilities. It is you who should actually use the features provided by the framework to create your application; and in that process sir, you are going to create more files. Of those files, there would be some files whose whole purpose is to be included elsewhere and such files are usually called as 'includes'. As such, the QCubed framework itself is contained in the includes directory of the installation.

QCubed - ORM Classes

From Wikipedia:

Object-relational mapping (ORM, O/RM, and O/R mapping) in computer software is a programming technique for converting data between incompatible type systems in object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to create their own ORM tools.

QCubed Documentation - Automated Code Generation for you

Application is made of code. To make an application you need to write code. If it is a web application, you need to create forms which could allow you to enter data into the database. No matter you are using PhpMyAdmin or PhpPgAdmin or any other database administration system, you cannot use it for long for the simple reason that they cannot be made a part of your very own application. If you do, you are risking the security and integrity of your database.

Pages

Subscribe to RSS - QCubed