Archive for December 19th, 2006

The Bakery Blog: SwiftMailer Component Tutorial

On The Bakery (the CakePHP blog) today, there’s a new tutorial covering the SwiftMailer Component:

I would still advise you read the Swift Mailer documentation here: http://www.swiftmailer.org/docs/
SwiftMailer Component isn’t an attempt to hide the already excellent class written by Chris Corbyn. Rather, the component tries to integrate and extend it (read, Cake-ish!).

They walk through the installation and where to unpack the download to ensure it works with your installation of CakePHP. You’ll need to add the component to the main controller, but other than that, you’re ready to go. From there it’s configuration issues:

  • connecting to the local MTA (like sendmail or a SMTP server)
  • configuring the authentication for sending
  • and, of course, creating a message to go out

They demonstrate the creation of this through a view in the application that can natively send both HTML and plain-text emails.

Continue Reading · Add comment

Edin Kadribasic’s Blog: Benchmarks

Edin Kadribasic has posted some benchmarks he’s created from the Zend bench.php tool on the latest build he’s created with the new version of Visual Studio from Microsoft.

Here is the comparison of running Zend/bench.php from the PHP source using VC++ 8.0 (Visual Studio 2005) and VC++ 6.0. The test was done on my Lenovo laptop with Celron M 1.6 GHz processor and 1.5 GB ram.

Overall, the differences are pretty minimal, but there are a few places that stand out and have more of a variance than the others (like the 12% difference in the “simplecall” test). Check out the post for the full list of the benchmark results.

Continue Reading · Add comment

Zend Developer Zone: Zend Studio 5.5 Walkthrough

As posted over on the Zend Developer Zone, there’s a walk-through that’s been posted for the just-released version of Zend’s editor - Zend Studio 5.5.

Earlier this month, I posted the release announcement for Zend Studio 5.5. Today, I got an email from my friend Avigail pointing me to a new web cast recorded by Yossi Leon the Product Manager, Zender, and all around nice guy has released a web cast walk through of some of the new features in this latest release.

The webcast shows off features like the Java code completion, Zend Framework code completion and integration functionality, and Zend Platform integration. If you’ve been looking around for a new IDE to work up code in, give the demo a look and see what you think.

Continue Reading · Add comment

PHPBuilder.com: Reading RSS feeds in PHP: Part 2

PHPBuilder.com has posted part two in their series looking at working with RSS feeds in PHP. This time, they pick up from the previous part and look at parsing two new feeds and pushing that content into a database.

These two sample feeds are loosely based on some of the feeds supplied by Independent Online. Note that unlike last month’s simplified example, each article item has a publication date. We’ll call the two feeds africa.rss and southafrica.rss.

They give the contents of the feeds to be parsed and what the info (as parsed by the code from the previous article) spit out the other side would look like. They also give the schema for the database table you can push all of the content into to store it. The rest of the article is the code listing to get this system working (including the code to parse the feed itself).

Continue Reading · Add comment

Ben Ramsey’s Blog: ZendCon & IPC Wrap-ups

Ben Ramsey, a speaker at both the Zend/PHP Conference 2006 and the International PHP Conference 2006, has posted a monster wrap up for both events to his blog today.

This post is long overdue, but I was finally able to sit down and type out my thoughts about the Zend/PHP Conference and Expo and the International PHP Conference.

First up is his look at the Zend conference - largely a good experience. He specifically mentions the talk from Rob Richards, the “Extending PHP” tutorial session (with Sara and Marcus), and the infamous misunderstanding about his laptop bag (which was resolved shortly after the conference had concluded).

His experience with the International PHP Conference went equally well, despite the location of the event being slightly more out of the way than some liked. He comments on the excellent conference materials provided, the types of attendees, and some of the talks he attended - Aaron Wormus’ “Mastering enterprise-level PHP tools PEAR, PhpDocumentor and testing” and Sata Golemon’s “Navigating Streams” being among them. If you like to check them out, he’s also posted some photos of the conference and a night out around the town he took.

Continue Reading · Add comment