So, recently here at CentreSource we've been working on a project which is using the brand spanking new xServe from Apple. First, let me say the server is pretty slick, but like any other software it has issues. The reason we went with the xServe was because we needed the ability to have web applications which have central authentication and calendaring data. Open Directory, CalDAV, PHP, Apache, and MySQL are just ready to go with xServe, so it made sense!

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.

This has to be one of the coolest and simplest things in PHP.

http://www.sitecrafting.com/blog/php-growl/

// Setup
$growl = new Growl();
$growl->setAddress('127.0.0.1');
$growl->addNotification("Test");
$growl->register();

// Send Notification
$growl->notify("Test", "Test Alert", "The body of the test alert!");

This simple class allows you to send OS X growl notifications to any valid network address. Pretty cool. Within a few minutes, Jared and I were Growling at each other in PHP.

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

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

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.

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.

Recently we had an issue with a website which had a flash upload feature using jqUploader. This feature worked flawlessly when we initially built it but when it was moved to a new server, issues started to come up. First, I discovered that trying to upload empty files results in the following error: "IO error with test.txt." So now I took it one step further and added 1 character to test.txt, now I don't get the error, but the flash never shows a progress bar, and never displays that the file was being uploaded. Although, the file was actually uploaded and sent to our php script.

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.

For the last 10 years of doing web development with PHP I have been searching for a proper way to build my domain model and represent it with a relational database and a set of PHP classes. This has not existed until recently I came across a young open source PHP project named Doctrine. I quickly jumped on the wagon and it has been quite an experience so far. Doctrine is an ORM for PHP that sits on top of a powerful DBAL (database abstraction layer).

Syndicate content

discuss your project

{ latest blog posts }