PHPMaster.com has posted the second part of their series introducing you to one of the more popular design patterns in PHP frameworks right now - the Front Controller pattern. Part 1 introduced some of the fundamental concepts and this new article expands on that, getting more into the request and reponse handling process.One of the best things about front controllers is that you can keep them running as tight structures, just routing and dispatching incoming requests, or you can let your wild side show...
On NetTuts.com there's a new tutorial that wants to show you a practical approach to using TDD in your development (test-driven development) through a simple project.In this tutorial, I will present an end-to-end example of a simple application - made strictly with TDD in PHP. I will walk you through each step, one at a time, while explaining the decisions I made in order to get the task done. The example closely follows the rules of TDD: write tests, write code, refactor.They start off by defining what...
The Voices of the ElePHPant podcast has released their latest interview with a PHP community member - Josh Lockhart, creator of the PHP - the Right Way project.Cal's three questions center around his involvement in this project:
Why did you start "PHP - The Right Way"?
What makes "PHP - The Right Way" different from other beginner PHP resources out there?
Who can contribute to "PHP - The Right Way"?
You can listen to this latest episode either through the in-page player, by download the mp3 or subscribe...
The latest issue of the Web and PHP Magazine has just been released - Issue 5. In this issue you'll find:
#Trending: What's hot and what's not in the PHP and web dev community at the moment
An interview with Zeev Suraski
A Look Ahead to ZendCon 2012
"5 Reasons To Maximize Your Use Of PHP's Built-In Feature"
Stefan Priebsch On Soccer.
As always, you can download the issue for free to get the PDF version or you can download the iPad application and get the latest issues there.
Latest PECL Releases:
On the Changeblog there's a recent post showing you how to get both PHP 5.2 and PHP 5.3 installed on the same machine for your development or testing needs (they target it at Durpal users, but it applies for any PHP app).Although Drupals 7+ run smoothly on PHP 5.3, Drupal 6 still feels much better with PHP 5.2. Even though D6 core is compatible with PHP 5.3 for quite some time now, a lot of contributes modules still get nasty hiccup when asked to run on the newer version. Therefore developing for both D7...
In this new post to DZone.com today Leigh Shevchik kicks off a series of posts looking at the "unknown databases" that PHP developers might not think about when working on their applications.In this day and age, there a plethora of options available to us. In this three part series, I'm going to walk you through five alternative databases that you may or may not have heard of. [...] Whether you're involved in embedded development, OLTP, OLAP, massive scalability and storage or simple database-backed...
Every developer who studies computer science (and most who haven't) has heard the phrase "Garbage In, Garbage Out" before. It's such a logical concept that it's almost beyond refuting. Almost. While the phrase still definitely holds true for some situations, it doesn't hold for most. How can such a logical and straight forward saying lead us down the wrong path?Read more A»
In this recent post to his site, Anthony Ferrara takes an the phrase "reinventing the wheel" and wonders if, maybe, it's not such a bad thing sometimes."Don't Reinvent The Wheel" is a phrase that we hear used all the time in software development. Usually it's used in the context where a library exists to do what the user wants, but they are writing their own. While the sentiment is usually correct, I can't stand the implication of the phrase. Therefore, I can't stand it when people use that phrase...
Joshua Thijssen has a recent post to his site about the MultiParamConverter available for the Symfony 2 framework - a tool he's created to make working with multiple slugs and entities.If you know Symfony2, you probably are using (or at least, have heard of) the @paramConverter annotation from the SensioFrameworkExtraBundle. This is a really simple way to convert slugs into entities. But lots of times I find myself having multiple slugs inside my routes, and this is something the @paramConverter...
So I have noticed that people don't like it when I talk about all the cool stuff Jackrabbit can do. Many people are still scared of running Java stuff in production which I guess is to be expected since PHP shops tend to .. guess what .. PHP. So in this post I just want to talk about all the cool features we have ready to use in the pure PHP Doctrine DBAL based implementation of PHPCR. Just to say it again: PHP, no Java. So first up the implementation with all its features works with MySQL, PostgreSQL...
PHPMaster.com has a new tutorial that wants to help you access one of the most popular file sharing sites out there, Dropbox, through your code (via the DropBox API).In this article we'll explore the Dropbox API by building a simple client for accessing files in a Dropbox account. The client will perform some basic operations, such as authentication, listing files, and uploading and downloading files.You can grab the full code on github that provides you with some of the base you'll need to access the...
In this recent post to Reddit, a reader is starting out with his work in PHP MVC frameworks and is asking for some advice:I've had a lot of experience using OO PHP but have so far written my own code. I'd like to dive in and finally learn to use a decent modern MVC framework (something I've been putting off for a while due to the time needed to get past the learning curve). From what I've seen the leading contenders are FuelPHP and Kohana, but I really don't know how to judge one over another.Of course,...
In this new tutorial posted to his site Cory Fowler shows you how to set up and deploy a CakePHP-based website to a Microsoft Azure instance.One day Last week, I set out to get a simple CakePHP site up and running on Windows Azure Web Sites. [...] CakePHP is a framework, which means ideally, there should not be anything specific to get it working on any platform.He includes a complete guide to getting the framework, a sample "web.config" configuration file (for the Azure instance) and links to some other...
The PHPClasses.org site has release their latest "Lately in PHP" podcast episode today - a look at the performance improvements in PHP 5.4 and the external tools (extensions) you can use to make it even faster.Despite PHP 5.4 was released some time ago, only now PHP caching extensions like eAccelerator and APC are being adapted to work with PHP 5.4. [...] They also discussed the latest PHP 5.4.5 and PHP 5.3.15 releases, the planned implementation of generators and the yield keyword in PHP 5.5, the...
"Don't Reinvent The Wheel" is a phrase that we hear used all the time in software development. Usually it's used in the context where a library exists to do what the user wants, but they are writing their own. While the sentiment is usually correct, I can't stand the implication of the phrase. Therefore, I can't stand it when people use that phrase without understanding what it really means. Let me explain:Read more A»
Vance Lucas has a quick new post to his site showing you how to handle exceptions in Gearman tasks so that they can be logged correctly as a failure.I recently had some issues with Gearman tasks throwing exceptions and killing the whole Gearman daemon. This made it nearly impossible to trace errors back to their origin, because the logged exception stack trace didn't provide much useful information, because it just logged where it failed in Gearman. [...] The only other place to add code that will catch...
Popular posts from PHPDeveloper.org for the past week:PHPMaster.com: Writing a RESTful Web Service with Slim
Reddit.com: I'm interested in teaching others PHP. Is anyone interested?
Tim's Blog: Cyclic Dependency Injection and Making a Choice
Community News: PHP Community Conference 2013 Announced!
DeveloperDrive.com: 6 Ways Web Developers Can Damage Thier Career
Symfony Blog: The Symfony Community Survey 2012: The Results
PHPMaster.com: An Introduction to the Front Controller Pattern, Part 1
Taken at the Google Campus in London last night:
Right now, everyone is hiring. It's nuts. In 18 years of being a professional software engineer, I've never known a time like it. We've gone from a society where it was considered a bit odd to be interested in computers, to a world where software engineering skills are the single-most in demand skill today.
This is what you're competing against - and this is before Facebook and Microsoft open up their new London offices. So the question is a€¦ if you're...