On the Codeception blog (an up and coming PHP-based testing tool) there's a new post showing how to use the tool to test your web services for either a SOAP or REST-based service.Codeception testing framework got significant improvements during last week. The first and the major one is that you don't even need PEAR and Composer to execute tests. Only one file codecept.phar required. This might save your time and mind of your testers.They've recently added modules for SOAP and REST support, making it...
Henry Hayes has a recent post to his blog looking at a the change for the user agent support for the browser detection functionality in the Zend Framework.Recently it has come to light that Zend Framework are dropping support for the WurflApi Features Adapter in the Zend_Http_UserAgent component. This is due to licensing issues. As of version 1.12 Zend_Http_UserAgent_Mobile constant DEFAULT_FEATURES_ADAPTER_CLASSNAME now specifies that Zend_Http_UserAgent_Features_Adapter_Browscap is now the default...
In this new post to his blog Mike Purcell gives you the full instructions to getting a CentoOS 6 system up and running with Memcached and PHP.Recently I started retro-fitting the MeLikeDrinks.com drink website to cache frequently used data to improve performance, as such I wrote a light, custom cache API which sits on top of PHP's Memcached API. [...] If you opt to use PHP Memcache, and because this article assumes you are using CentOS, you can simply have YUM install the entire stack for your via `yum...
On the NetTuts.com site there's a new tutorial introducing you to one of the relatively new players to the PHP framework scene - Laravel. In this article you'll see how to set up and create a basic Laravel app - a simple social app for sharing photos.In this Nettuts+ mini-series, we'll build a web application from scratch, while diving into a great new PHP framework that's rapidly picking up steam, called Laravel - a simple and elegant PHP 5.3 framework. First up, we'll learn more about Laravel, and why...
Easy DB Work
Number to Word (currency)
IP Blocking Class
In my last blog entry, I demo'd how to get started with Vagrant and the ShellProvisioner.
To further illustrate how amazingly simple it is to get started on some Ruby, I'll convert the shell script from my last blog post to a little recipe for chef. Same objective, we install a PEAR package - but it could be anything really.Follow me.ShellThis is the shell script from before:#!/bin/shapt-get update
apt-get install -y php5 php5-cli php-pear
pear install -f HTTP_Request2...
The Voices of the ElePHPant podcast has posted its latest episode, an interview with Lonnie Brown, a recruiter that's known within the PHP community.Cal talks to Lonnie about:
His first impressions of the PHP community
What the current PHP job market looks like
His thoughts on why some companies "get" telecommuting
You can listen to this latest episode either through the in-page player, by downloading the mp3 or by subscribing to their feed.
PHPBuilder.com has posted a new tutorial about creating automated FTP scripts to pull down information from a remote server (using FTP streams).In 2007 I began working on a website project for an investment company in my hometown of Cleveland, Ohio USA. The purpose of this website was to automatically download financial data of traded securities from two (2) remote Web servers. [...] Both of these PHP scripts were set up on the Web server's "crontab manager" to automatically run at a set time each...
If you're a PHP developer and are working on distributed applications (or might be in the future), you should probably read through this new article on PHPMaster.com with 8 common fallacies about these applications and their needs.These fallacies directly relate to us as PHP developers since we build distributed applications each and every day. We build mashups, applications that interact with SOAP and REST services, authenticate users via Facebook, Google, or Twitter APIs, retrieve information from...
On the NetTus.com site today there's a new tutorial showing how to use the Slim microframework to create a flat-file blog system as a stand alone PHP application.In this article, we will learn how to create a flat file blog engine in PHP using the Slim framework. If you don't understand the jargon, don't worry. We're simply going to create a spartan blogging application, which utilizes text files instead of a database to store data. If you're a beginner, fret not! We will start with the basics of using...
Latest PECL Releases:
I am pleased and proud to announce that I have been accepted to speak at the MySQL Connect and Zend Conference this fall.
The MySQL Connect conference is being held Sept 29-30th in San Francisco and I will present on my beginners journey into NoSQLand with MySQL's NoSQL implementation . Much of the technology for this talk I was not overly familiar with, so it is a lot of fun and very enlightening for me.
This years Zendcon is October 22 - 25th in Santa Clara and I will be presenting on MySQL...
In this new post to his blog Charles Spraggs takes a look at the Zend Framework 2 and talks about how to handle the configuration of the application and of your modules.As ZF2 increases the beta count and draws nearer to RC I've noticed more questions popping up in IRC regarding configuration. Questions like: "How do I setup XXX?", "Where do I add module options?" So, I decided to write up a quick blog explaining how configuration works in ZF2. By default, there are three types of configurations.He...
P√°draic Brady has a new post to his blog about the state of output escaping in PHP and the steps that need to be taken to help prevent and protect applications from the real threat of cross-site scripting.Automatic escaping has a certain appeal given its goal of removing the need to type escape() all over your templates. Funny thing, though, is that this is basically its one and only advantage. The second claimed goal is to remove a factor of human error (i.e. forgetting to type escape() somewhere),...
Gonzalo Ayuso has followed up his previous post about creating a simple SQL wrapper with PDO in PHP with this new post, a "part two" looking at improving it a bit with a new class to represent the tables.In one of our last post we built a simple SQL wrapper with PHP. Now we are going to improve it a little bit. We area going to use a class Table instead of the table name. Why? Simple. We want to create triggers. OK we can create triggers directly in the database but sometimes our triggers need to perform...
On DesignAeon.com there's a recent tutorial posted showing you how to extract URLs from your database and determine which ones are "dead" automatically with the help of cURL.Checking Deadlinks From the database manually is a Headache,So why not use a script which return the http status of the particular link and tell us if the link is dead or not.So how do we check the dead links from the database ? How do we programatically check whether the link is dead or not ? To check broken or dead links from...
When it comes to software architecture, stuff gets funny.A†
First we learn everything about it at university. We learn to use it as a part of our main project plan. We learn how to do risk evaluation. And, as a matter of fact, we learn how to create a lot of different UML diagrams:A†
data flow diagramsA†
Since we didn't have a lot of experience with software back then, the resulting...
On PHPMaster.com today there's a new tutorial showing how to route your web requests with the Aura.Router component from the AuraPHP component framework.Everyone is interested in SEO-friendly, REST-style URLs. Apache can do URL routing via mod_rewrite rules, but it's hard and error prone. Why not use PHP itself to handle routing instead? Aura is a independent collection of libraries for PHP 5.4 brought to you by Paul M Jones. Here we are going to introduce you Aura.Router. Aura.Router is a simple and...
Latest PEAR Releases: