Archive for the ‘Doctrine’ Category
Thursday, May 28th, 2009
A few weeks ago I was discussing a project with Charlie Madison of ProWebScape. He mentioned H2O, that he would rather use that than Smarty. So I checked it out and it seemed like the natural evolution in PHP templating.... Read More
Tags: h2o, h2octrine, php doctrine, templating
Posted in Doctrine, h2o, PHP | No Comments »
Tuesday, March 17th, 2009
Update: Smoc is dead, long live h2octrine!... Read More
Tags: Doctrine, PHP, Smarty, smoc
Posted in Doctrine, PHP, Smarty | No Comments »
Friday, February 27th, 2009
In the prior version we just had the basics, automatic listings of all entries in a table, update/inster forms with text fields, text areas and drop downs through a single Doctrine relation (hasOne). Now we add check box groups which will manage multiple relations (hasMany) through an intermediary relation table, search and pagination of the search results. ... Read More
Tags: Doctrine, PHP, Smarty
Posted in Doctrine, PHP, Smarty | No Comments »
Wednesday, February 18th, 2009
Update: Since the below piece was written I’ve ported the little framework to H2O instead, H2O is a cleaner alternative to Smarty.... Read More
Tags: Doctrine, mysql, PHP, Smarty, zend framework
Posted in Doctrine, PHP, Smarty, Zend Framework | No Comments »
Monday, February 16th, 2009
I’m a bit rusty, after scouring the Doctrine manual for the import functions I found a script of my own that I totally had forgotten:... Read More
Tags: Doctrine, mysql, PHP
Posted in Doctrine | No Comments »
Sunday, October 26th, 2008
I just found myself wishing for automatic CRUD, for quick and simple administrative tasks, as it turned out a very easy thing to add. The first thing we have to do is move the label selection from having to be explicitly declared in the insert/update form – like we are doing now – to the model:... Read More
Tags: Doctrine, PHP, Smarty
Posted in Doctrine, PHP, Smarty | No Comments »
Tuesday, September 23rd, 2008
I had to start covering various Doctrine snippets for future reference. This post will be updated with more of them as they appear.... Read More
Tags: Doctrine, DQL, PHP
Posted in Doctrine, PHP | 2 Comments »
Wednesday, September 3rd, 2008
Things are starting to become more and more feature complete. Let’s look at how to implement general search and pagination. In the Product model:... Read More
Tags: Doctrine, pagination, PHP, search, Smarty
Posted in Doctrine, PHP, Smarty | No Comments »
Sunday, August 31st, 2008
It’s time to take a look at how file uploads can be integrated into the Doctrine validation and CRUD process. We will have a product in the form of a digital download as an example, it will have a screenshot image that can be maximum 250 pixels wide and high. The download itself will be a zipped file.... Read More
Tags: , Doctrine, file uploads, PHP
Posted in Doctrine, PHP | 1 Comment »
Sunday, August 24th, 2008
This piece is building on the prior tutorial, we now have Retrieve, Update and Delete in addition to the Create stuff. The prior tutorial has also been updated since the fromArrayExt method needed some adjustments to manage updating.... Read More
Tags: Database, Doctrine, orm, PHP, Smarty
Posted in Database, Doctrine, PHP, Smarty | No Comments »