background preloader

Qcodo

Facebook Twitter

Bed_quickstart_v1_0_rev_c_0.pdf (application/pdf Object) PHP Code Generation with QCubed - Eliminating SQL Hassle | The TroZone. CodeGenerationORM – Trac | QCubed PHP5 Rapid Development Framework. Previous: Code Generation - the backbone of QCubed | Up: Getting Started Index | Next: Understanding the Generated Code - Form and Panel Drafts? Ah, the generated ORM. The generated ORM files created by QCubed are easily enough to make QCubed worth it even they were the only thing QCubed did. And the fantastic thing about QCubed is that if you wanted to act like that was the case, you could. You could ENTIRELY ignore the other generated files and the visual control aspects and strictly use the ORM files to connect to your database; the framework's flexibility gives that option.

Of course, in reviewing the rest of QCubed and seeing all it has to offer, you will probably decide against such an endeavor, but it may give some comfort to know the option is there. It is possible that you are sitting there asking, What is ORM? ORM stands for Object Relational Model. Now, let us move on to QCubed's ORM. You may recall that the person table had three fields. $objPersonArray = Person::LoadAll(); Comments | QCubed. Qcodo Development Framework - Forums. Apply MVC to Qcodo. Just before we start working on our front controller, let’s make sure that everybody understands how the MVC pattern will be applied to Qcodo.

This is how I do things, and I’ve found my approach to support anything I’ve ever wanted my web apps to perform, no matter how complex things get. But again, I’m not a guru or someone who knows these things best. So feel free to comment below whether you agree or not on my approach, and if not, please do provide an insight on how you would do things, and what advantages you see … I’m always up for a constructive discussion. MVC to the letter If you would read up on the MVC pattern, here’s a classic interpretation of the various components. The models are classes that put you in touch with your data, which could be a database, an XML feed, JSON data or anything else that provides you with a data source. MVC for Qcodo MVC can be applied to your Qcodo projects, and if you prefer, you can do it to the letter. Models for Qcodo Controllers for Qcodo.