Author Archives: Alistair Stead

symfony APC cache and Memcache session storage

In a previous post I described some of the reasons why you would want to store your session data in an alternate location to temporary files on your server. I explained the setup of database session storage using Doctrine and how this would allow you to take advantage of storing session data in a database. [...]

Posted in php, symfony | Tagged , , , | 3 Comments

symfony Doctrine database session storage

Sessions are normally managed by your server and depending upon how involved you get with the PHP setup you need never know how this data is stored. The default setup for PHP is to store session data in temporary files on the server. So why would we want to change how sessions are handled and [...]

Posted in php, symfony | Tagged , , , | 16 Comments

YUI Connect asynchronous file uploads

I’m sure the problems with multi-part data that I have been working through this morning is very simple but there are a number of forum posts about this, so I will share my findings. When using YUI Connection Manager in conjunction with multi-part form data I have experienced problems creating the asynchronous request and canceling [...]

Posted in JavaScript | Tagged , , | 2 Comments

Propel doUpdate update multiple records in a single statement

I’ve been very busy with a number of project launches lately. While working on a little problem today I re-discovered a little gem for use with Propel to update multiple rows in a single statement, rather than iterating through a collection updating and saving each object in turn. This task is simple in SQL but [...]

Posted in php, symfony | Tagged , , | Leave a comment

How to: Magento eCommerce help and tutorials

Magento is an Open Source eCommerce platform developed using the Zend Framework by Varien. It is a fabulously customizable and extendible platform that once mastered can allow you to develop feature rich eCommerce solutions for your clients quickly and effectively. However for some mastering the Magento platform may not be that easy. Magento uses common [...]

Posted in Magento, php | 2 Comments