PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 200 of 304

A brief introduction to the Coupling Between Objects metric

A brief introduction to the Coupling Between Objects metric
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 PHP_Depend. The Coupling Between Objects or CBO metric was originally defined by Chidamber & Kemerer in their IEEE paper "A Metrics Suite for Object Oriented Design" [1]. 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. It counts...

Use the IBM Cloud to build your PHP apps

Use the IBM Cloud to build your PHP apps
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 [...]

IBM developerWorks: Accessing third-party content with oEmbed and PHP

IBM developerWorks: Accessing third-party content with oEmbed and PHP
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's Blog: Zend Framework View Helpers

Rob Allen's Blog: Zend Framework View Helpers
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's Blog: Please ship your own coding standard as part of your project

Volker Dusch's Blog: Please ship your own coding standard as part of your project
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...

Ruslan Yakushev's Blog: PHP Manager for IIS is available in 5 languages

Ruslan Yakushev's Blog: PHP Manager for IIS is available in 5 languages
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' Blog: Include-Based vs Class-Based Architecture

Paul Jones' Blog: Include-Based vs Class-Based Architecture
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...

Query7.com: A Look At PHP 5.3 Frameworks - Symfony2

Query7.com: A Look At PHP 5.3 Frameworks - Symfony2
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 -...

Community News: Latest PEAR Releases for 03.14.2011

Community News: Latest PEAR Releases for 03.14.2011
Latest PEAR Releases: Console_Getopt 1.3.1 Config_Lite 0.1.1 pearweb_gopear 1.1.6 Net_SMTP 1.5.1 File_IMC 0.4.2

Improved URL auto-linking in Horde

Improved URL auto-linking in Horde
Horde now uses John Gruber's regex pattern for matching URLs in text (http://daringfireball.net/2010/07/improved_regex_for_matching_urls).

Include-Based vs Class-Based Architecture

Include-Based vs Class-Based Architecture
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. Include-Based 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 [...]

Big Data and APIs for PHP Developers

Big Data and APIs for PHP Developers
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...

Zend Developer Zone: DrupalCon '11 Thoughts (Parts 1 & 2)

Zend Developer Zone: DrupalCon '11 Thoughts (Parts 1 & 2)
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...

ConFoo - Hidden PHP Features

ConFoo - Hidden PHP Features
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.

Our First PHPCon

Our First PHPCon
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's Blog: Getting Started with Symfony2

Steve Francia's Blog: Getting Started with Symfony2
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...

PHPBuilder.com: Creating and Manipulating PDFs with PHP and FPDF

PHPBuilder.com: Creating and Manipulating PDFs with PHP and FPDF
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' Blog: Catching fatal errors in PHP

Ole Markus' Blog: Catching fatal errors in PHP
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's Blog: SQL Server Driver for PHP Connection Options: Encrypt & Failover_Partner

Brian Swan's Blog: SQL Server Driver for PHP Connection Options: Encrypt & Failover_Partner
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...

Site News: Popular Posts for the Week of 03.11.2011

Site News: Popular Posts for the Week of 03.11.2011
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...