In this blog post I will give you a brief introduction into the Coupling Between Objects
metric, that is one of the metrics calculated by the static code analysis tool
The Coupling Between Objects or CBO metric was originally
defined by Chidamber & Kemerer in their IEEE paper "A Metrics Suite
for Object Oriented Design" . This
software metric represents the number of other types a class or interface is
coupled to. The CBO metric is calculated for classes and interfaces.
IBM developerWorks just published an article I wrote about using the Development and Test Cloud to create PHP applications.
The tutorial covers some scenarios that make the cloud compelling for PHP developers and then takes the reader through the installation of Zend Server with DB2 on the IBM Cloud.
If the content looks familiar, you may have [...]
On IBM's developerWorks there's a recent article from Vikram Vaswani about using the oEmbed tool to pull content into your site from sources like YouTube, Twitter and Facebook.If you have your photos in Flickr, your videos in YouTube, and your TV shows in Hulu, how do you bring them all into your blog posts on Blogger? Of course, you can do this by hyperlinking to the appropriate content, but wouldn't it be nicer if you could just embed them into your post at the appropriate place? Enter oEmbed.He gives...
Rob Allen has written up a post today consolidating some of the knowledge he has about using view helpers in the Zend Framework, starting with the basics and some code along the way.Zend Framework's Zend_View component supports helper methods known as view helpers. [...] typical Zend Framework project using Zend_Application, such as that generated using the zf command line tool, will have a folder called helpers within the views folder for each module. There will also be a helpers folder within the...
Volker Dusch has a suggestion for all of the PHP projects (or, really Open Source projects in general) that can help keep things cleaner in your codebase and make for simpler times when merging contributions - including your coding standard along with the rest of your project.Let me elaborate on [an important] point: Contribution. Most developers i know care about producing good code, especially then they are contributing to an open source project! Those people will respect your coding standard, naming...
In a quick post Ruslan Yakushev points out that the PHP Manager for IIS is now available in five different languages to make it even simpler for the non-English speakers out there to use.A new release of PHP Manager for IIS (version 1.1.2) is available for download. This release includes translations into 5 languages. [...] Note that this release still includes English and it is recommended to upgrade even if you do not need these translationsThe new languages are German, Dutch, Turkish, Japanese and...
Paul Jones has a new post to his blog looking at two approaches to building applications in PHP - either using an include-based of class-based architecture, briefly looking at the advantages and disadvantages of each.This is a topic I describe at length in my Organizing [Your PHP Projects] talk, but I would like to give the idea a home on my blog for easy reference.He talks about the typical structure of a PHP application - at least where most start out - being the "include" method. He talks about the...
On Query7.com today they've posted the first in a series looking at frameworks that are more PHP 5.3 centric. They start things off with a very popular framework that currently has a major update in the works - Symfony2.Ever since PHP5.3 was released we have seen several new frameworks pop up in the PHP community. In this series of articles we will look at and evaluate some of the next generation PHP frameworks. Today we look at Symfony2.He starts with an overview of what the framework has to offer -...
Latest PEAR Releases:
Horde now uses John Gruber's regex pattern for matching URLs in text (http://daringfireball.net/2010/07/improved_regex_for_matching_urls).
This is a topic I describe at length in my Organizing talk, but I would like to give the idea a home on my blog for easy reference.
Typical PHP uses what I call an include-based architecture. By this, I mean that the mere fact of including or requiring a file causes the execution of [...]
If you're in Austin, Texas for SXSW Interactive, be sure to check out the Big Data and APIs for PHP Developers Workshop that I'm curating. The Workshop speakers will be Julie Steele, Laura Thomson, Eli White, Dennis Yang, and David ZAlke. The session will be on Monday, March 14, 2011 from 11am to 1:30pm at the Sheraton in Capitol E-H. From the description:
Big Data creates problems and opportunities that do not exist when dealing with smaller datasets. You will learn how to scale, utilize, and visualize...
On the Zend Developer Zone Cal Evans has shared some of his thoughts and impressions as he attended this year's DrupalCon in Chicago, Illinois. He's shared them in two parts - general thoughts and some more specific ones on the details of the event.This week I am in downtown Chicago making new friends and attending sessions and parties at DrupalCon '11. I will have to say, I've been to a lot of conferences in the past 6 years but it is rare that I meet a community that is as enthusiastic and friendly as...
My slides for the "Hidden PHP Features" talk at ConFoo are now available at http://ilia.ws/files/confoo_2011_hidden_features.pdf.
If you were at the talk, please give me your feedback/suggestions at: http://joind.in/2905.
This April, the PHP community is going to descend upon Nashville, Tennessee for its inaugural PHPCon. Judging by the speakers and attendees, it's going to be a conference to remember and one that will be talked about for some time. It's being organized primarily by Ben Ramsey, Lisa Denlinger, and Nick Sloan, with plenty of help and support from the rest of the PHP community.
This is a conference I've been hoping would emerge for years. Conferences organized for profit have their place, but the heart and...
Steve Francia has posted a follow-up to his "On Symfony2" post to his blog today with an introduction to the framework that helps you get everything installed you'll need.In a follow up to my popular post on Symfony2, the open source PHP framework we use at OpenSky, I'm providing an easy guide to getting started using Symfony2. This isn't your basic "Hello World", but a practical guide to beginning a project with Symfony2.He walks you through bootstrapping a sample application, applying a fix those on...
On PHPBuilder.com today there's a new tutorial about creating editing PDFs with the help of the FPDF library.Because the Web has become the primary mechanism for distributing PDF documents, it's common to encounter questions on various web development forums pertinent to the dynamic creation of PDF documents using languages such as PHP. [...] Thankfully, such a demand for PDF manipulation capabilities exists within the PHP community that numerous alternative open source solutions have long been...
Ole Markus has a new post today looking at how you can catch fatal errors in your PHP applications a bit more gracefully than the usual failure messages.In dynamic languages like PHP [errors like E_ERROR and E_PARSE] happen all the time, for example when trying to call a method on a variable you assumed was an instance of a specific class, but which for some reason suddenly was not instantiated. Not only are they often not catched, but often it is also difficult to even know that they are occurring.His...
Brian Swan has posted two more in his "SQL Server Driver for PHP" series looking at some of the connection options that are available. In these two new articles he looks at the Failover_Partner and Encrypt options.Database mirroring is primarily a software solution for increasing database availability. [...] When a PHP application connects to the primary server, the Failover_Partner connection option specifies the name of the server to which the application should connect if the primary server is not...
Popular posts from PHPDeveloper.org for the past week:NetTuts.com: Language War: PHP vs. Ruby
DZone.com: What you must know about PHP errors...
Eric Lamb's Blog: Practical PHP Reflection
Webification.com: Roundup of 17 Best PHP Template Engines
David Behler's Blog: Dev-Box: Virtual Machines for Developers
Stoyan Stefanov's Blog: Automating HTTPWatch with PHP
ServerGrove Blog: Editing Twig Templates in Dreamweaver
WebDevHub: Scheduling emails in PHP
Dan Scott's Blog: Creating a MARC record from scratch in...