Posts Aboutdoctrine

You Should Be Testing Your Symfony Plugins

As with any Open Source project, Symfony is only as good as its community. The best Open Source frameworks are those most beloved by its user base. I am one of those who love Symfony, and in an effort to ensure my framework has the best plugins possible, I challenge all symfony developers to write TESTS for your plugins.

You can read all about this process on my blog

Symfony Faux Form Serialization

Recently, I ran into an issue when building a Symfony plugin for Slideshow renderings.  When I added the support for multiple libraries, in this case Google Slideshow2 and JQuery Cycle, they had drastically different configuration options.  JQuery Cycle allows you to use a list of effects, such as blindX and blindY.  These effects are great, and I want the end user to be able to easily select between them.  Google Slideshow2 allows the adding of thumbnails and traversing controls.  Neither of these settings apply to the other, and this is only two slideshow renderers.  What happens when I add another one?  Five more?  I could create multiple tables for each renderer, such as google_slideshow2_options and jquery_cycle_options.  I could also just provide a textarea for key-value pairs (effect=blindX timeout=500) that the user typed in.  I did not like either of these options, as the former struck me as over-architecting, and the latter as unusable.

Continue reading "Symfony Faux Form Serialization"...

Doctrine 1.0 BETA1 Released

Great news! The first version of the Doctrine 1.0 branch has been released as BETA1. The project is on schedule to release Doctrine 1.0 on September 1st 2008.

Today I am happy to announce the release of Doctrine 1.0-BETA1. This marks the true start for the 1st generation Doctrine stable lifecycle. As you may already know, Doctrine 1.0 has been slated to be released on September 1st 2008 for quite some time now. We still have a few more pre-1.0 releases to go until 1.0. The roadmap for now is BETA1, RC1, RC2 and then 1.0 STABLE. You can see the roadmap in trac if you're interested in keeping up with the Doctrine schedule. More information on 1.0 and what other things to expect on September 1st will be given soon. Make some noise!

Continue reading "Doctrine 1.0 BETA1 Released"...

Tags: Doctrine, PHP

Doctrine officially supported by symfony

A few weeks ago on the symfony blog, Fabien announced that as of symfony 1.1, Doctrine is officially supported. The documentation will slowly be updated and converted from Propel to Doctrine. Right now, the My First Project tutorial and a new Getting started with Doctrine + symfony 1.1 tutorial have been published on the symfony-project website. More documentation coming soon and tutorials for using Doctrine with symfony coming soon.

How to use Doctrine with Zend Framework

I have been waiting on this for a while. Finally, someone has put together an article detailing how to use Doctrine with the Zend Framework. The article was linked from the Doctrine website, but you can also go directly to the original article here.

Tags: Doctrine, PHP

Doctrine Cheat Sheet

Check out the new Doctrine Cheat Sheet that was released today on the PHP Doctrine website.

I have put together a cheat sheet for all the day to day usage syntaxes of Doctrine. The cheat sheet can be found here. This is the first draft of the document so any comments and feedback would be very useful.

The cheat sheet document can be found here http://www.phpdoctrine.org/blog/doctrine-cheat-sheet

Tags: Doctrine, PHP

My First Doctrine Project Tutorial

Over at the Doctrine PHP ORM website they have just released a tutorial on how to get started using Doctrine in under 5 minutes!!!

"I have put together a short and sweet tutorial on how to get started using Doctrine in under 5 minutes. A few weeks ago, we announced the sandbox package which allows you to get started using Doctrine with a zero configuration sandbox environment. The tutorial is built using this sandbox package and shows you how Doctrine can be easily implemented and used in your web applications."

The tutorial can be found here

Using Doctrine in Drupal now!!

In my last post I talked about the possibility of Doctrine being in the core of Drupal 7. After some thought, and a little bit of work, I realized this is not necessary. Doctrine can be used in Drupal now with a custom module I wrote. It comes with schema files and models for the drupal core database schema so you can begin using Doctrine models immediately for interacting with your Drupal website database.

Doctrine & Drupal 7.0

The Drupal 7 development has started in the last couple of weeks and the Doctrine bug has been planted in the ear of the Drupal development team. Hopefully the power of Doctrine can be recognized and utilized to take Drupal and Doctrine both to the next level. You can find the discussion between myself and "chx" here.

Using Doctrine in CodeIgniter

I have been taking a peak around CodeIgniter tonight and I put together a little tutorial on how to integrate Doctrine with your CodeIgniter applications. It was fairly simple and took me about 15 minutes to figure out a nice and clean implementation. The wiki page can be found here.