Archive for the ‘PHP’ Category

Paypal integration with QCodo

Tuesday, November 7th, 2006

This article details a basic Paypal IPN processor implemented with QCodo. Details include the database schema, a simple form to direct the user to paypal for payment completion, and the paypal IPN processor which will store the transaction details in the previously defined database. The code for this example can be downloaded here.
(more…)

QCodo examples updated to beta 3

Wednesday, October 18th, 2006

In the spirit of being on the bleeding edge, I’ve just finished updating the qcodo examples to work with QCodo beta 3. I’ve also updated QMatrix.

For those who are contemplating updating a project to beta 3, you should know that it is a bit of work depending on the size of your project. There is nothing too difficult, but with a few constants changing names, and a query logic changing, you may have many simple changes to make to your code. So give yourself some time if you plan to bite the bullet and upgrade. In my limited (1 day) experience with beta 3, I will say that the upgrade is worth the effort. The sql query changes look like it will make it very easy to add custom queries to your project. I know there are many other changes, but that’s the one that jumped out and bit me first, and the one that took me the most time to accommodate. I’m not sure yet when I’ll bite the bullet for baseballdata, but I already did for another project I have going.

QMatrix released

Monday, October 2nd, 2006

I just finished releasing QMatrix. It’s at qforge. QMatrix is an extension QPaginated control which displays its datasource across multiple rows and columns as a single item per cell. This is slightly different than QDataGrid which displays a single item per row. My motivation for creating this class was a need to display a bunch of images in a table, but I’m sure there are other interesting uses. You can see QMatrix in action here.

Qcodo templates - Adding to the layout

Thursday, June 22nd, 2006

The first installment of this series described a technique for creating a flexible page templating system for Qcodo. This article picks up where that one left off and expands our template to create a more interesting layout for our pages. If you haven’t yet read the first article, you read it here.
(more…)

A Simple Template Technique for Qcodo

Monday, June 19th, 2006

Qcodo is a fantastic PHP framework which uses code generation to accelerate the process of developing database driven websites. It not only generates all of the CRUD code for data objects, it also has a set of form objects from which to build the presentation layer. Out of the box it generates some basic forms to view and edit the data objects. This is the first in a series of articles discussing a simple technique for creating a consistent look and feel for a Qcodo site, while at the same time making it very easy to change the look of all or some of the pages at any time.
(more…)