Trackbacks with Google Blog Search and Zend Feed
Saturday, September 13th, 2008I’ve wanted to do automatic trackbacking by linking to posts that are linking to any given article of mine, for quite some time now.... Read More
I’ve wanted to do automatic trackbacking by linking to posts that are linking to any given article of mine, for quite some time now.... Read More
A friend just needed help, he wants people to be able to put the YouTube insert code into a database. However it seems that there are some display related things in there he can live without that people might mess with and of course we don’t want that.... Read More
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
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
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
Update: There is now a real world example called Shortening multiple URLs with jQuery, PHP, picolisp and bit.ly, you might want to check it out when you’re done here. It uses jQuery JSON extensively. Another one is Multiple select lists with jQuery and JSON.... Read More
I simply knew we would need the extension capability that the Mdl class allows for sooner or later, I didn’t expect it to be this soon though. The main problem here is saving a many to many relationship straight to the database from the $_POST array, to do that we can extend Doctrine Record with a new function I have named fromArrayExt which adds something extra to the normal fromArray method.... Read More
I’ve had problems with both Zend Session and the Zend Controller. It just feels like too much fighting and since the plan is to replace Zend DB with Doctrine there is only the controller and session left and unwanted to boot.... Read More
Recently I’ve had the need to extend the interface further, among other things with JSON support. I’ve used code published by Nicolas Crovatti to do this. There was one line in there though that wasn’t consistent with its purpose. If you use that code you have to replace if($i != $keys[$i]) with if($i !== $keys[$i]). On the other hand if you use PHP >= 5.2 you don’t need this function at all, you use json_encode instead.... Read More