If you've been looking for the "quick and dirty" definition of all of the changes that come with the latest version of PHP 5.4, you should check out this new post from Sameer Borate. It has a quick rundown, code included, of these new features and changes.Although purists have always sneered upon PHP for being a "patched" language; the evolution of PHP over the years, with new features added in every version, has only increased its popularity. The latest 5.4 release has followed the trend with some major...
On PHPMaster.com today there's a new tutorial showing you how to test your application's interface with the database using "bulletproof" PHPUnit testing.There's already a great article here that discusses Test Driven Development, but did you know that you can also test the code that interacts with your database? Especially if your application is data intensive, subjecting your CRUD code to a battery of tests is good practice that helps ensure that your application is working correctly. In this article...
On PHPMaster.com today there's a new article with six things that they (well, Daniela Baker) thinks every independent PHP developer should know and have in their arsenal.PHP development is hot right now, but there are also lots of people in PHP development. If you want to make it as an independent PHP developer you've got to know more than just PHP. Here are six other essential skills you need to succeed as a PHP developer.Her list of six is made up of:
Knowing What You Don't...
Latest PEAR Releases:
Article originally from rooJSolutions blog
Article originally from rooJSolutions blog
http://www.roojs.com/roojs1/docs/symbols/Roo.XComponent.htmlWith a nice longA†EasterA†holiday, I finally got a chance to hack on some of those todo items that I'd been putting off for quite a while. One of the core mini tasks was to enable mtrack information inside of my main email/accounting do everything platform.A†The Pman codebase, as I've mentioned before forms the core of pretty much all applications I work on now, mostly intranet or extranet focused web...
In this tutorial on the XPertDeveloper site today they show you the "quick and not-so-dirty" way to get PHP + Apache + MySQL set up on a Ubuntu machine (from packages).I have started working with Ubuntu 11.10 and my first task was to install PHP, Apache and MySQL in that. This is because without these three things computer is useless for PHP Developer. So Here I am sharing this article which shows how to install PHP, MySQL and Apache and configure with each other. This would be very useful for newbies,...
In this new question to Reddit, there's a question about the usage of bitwise operators - when they might come in useful.As I get deeper into PHP I notice some lower level functionality that looks like it could be interesting, maybe even useful. I'm trying (other than switching the hex value of a color) to figure out when Bitwise operators might come in handy. Any real world examples?Responses to the post mention a few cases they'd be useful in - handling permissions, route matching and error reporting....
On DZone.com there's a new post from Giorgio Sironi with some of his tips for PHP developers that want to use VIM in their development - some handy tricks to help make you a more effective developer.In the case of PHP development, you'll need to add some configuration and plugins to speed up your activities. Most of the responsibilities of an IDE - like testing and version control - are outsourced to the terminal while running Vim; however, there are some tweaks that make writing and editing code faster,...
In a new post to his blog Chris Hartjes, promoter of all things testing, looks a a method for testing constructors - an effective way to validate the things that happen when your objects are generated.If you have a PHP application that makes heavy use of objects (which is probably 95% of you reading this) then you will have objects with constructor methods in them. It is also very likely that there is some stuff going on in those constructors. So how do you test things like this?He includes a sample...
Popular posts from PHPDeveloper.org for the past week:Refulz Blog: Traits in PHP 5.4 - Why we need Traits
DZone.com: How to Set up Wordpress on EC2 Using Puppet and Git
Infosec Institute: SQL Injection through HTTP Headers
Lee Davis' Blog: FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects
Community News: Web & PHP Magazine Launched!
Rob Allen's Blog: Returning JSON using the Accept header in ZF2
PHPMaster.com: An Introduction to Services
PHPMaster.com: Continuous Integration (with...
On the PHPClasses.org site there's a new episode of their "Lately in PHP" podcast wondering if the move of PHP to git will encourage more non-core developers to contribute to the project.The PHP development migrated to a Git repository. With the integration with GitHub it became easier for non-core developers to submit pull requests with bug fixes and new feature improvements to PHP. Will this new possibility make it PHP core developers accept more contributions from non-core developers?The episode also...
Use of the Model View Controller (MVC) design pattern is generally accepted as a best practice in modern web applications. Like all design patterns, MVC is a reusable solution to a common problem. The MVC pattern is intended to address the following concerns:
Support for multiple types of clients
Reduce duplicate code when supporting multiple types of clients
Isolating domain logic from the user interface
Note that items 2 and 3 are both dependent on item 1. Support for multiple types of clients is the...
In this recent post Sebastian G√∂ttschkes shows how to use the vfsStream stream wrapper in a Symfony2 application to create tests that involve the local file system.I read about vsfstream when skipping through the phpunit docs. Back then, I decided I don't need a virtual file system. Some time later, I had to test classes which read and write files and found myself creating and deleting temporary folders, messing around with nasty errors (like my favourite one where for some reasons tests fail when I...
On Reddit.com there's a long thread with responses to the question "What are some genuine criticisms of PHP?" with opinions ranging from small issues (like syntax) out to more community-related topics.PHP tends to get a lot of flak, but mostly it is for something that isn't really the fault of PHP. Things like "there is so much bad PHP code out there" may be true but you can write bad code in any language. You shouldn't be mixing PHP, SQL and HTML, and you should be escaping/parameterizing variables for...
Lorna Mitchell has posted a book review of an O'Reilly publication (by Steve Francia) - "MongoDB and PHP".The tone of the book is quite informal and approachable [...]. This book also does a great job of deferring to other resources where that is appropriate; in particular where some features of MongoDB will change rapidly and the online documentation is well-maintained. [...] There is no hiding from the very lovely, very technical, features available in MongoDB and although this book doesn't drill into...
Bradley Holt has posted a reminder that the Call for Papers for this year's Boston PHP Northeast Conference is closing soon!The Boston PHP Northeast Conference's Call for Papers will be closing on Thursday, April 12th so be sure to get your talk submissions in before then! The conference will be taking place on Saturday, August 11th and Sunday, August 12th at Microsoft's NERD Center in Cambridge, MA and will be focused around four tracks: Core PHP, Web Development, Training and User Experience (UX)You...
Will PHP development Migration to Git improve non-Core Developer Contribution Interest? - Lately in PHP podcast episode 22
By Manuel Lemos
The PHP development migrated to a Git repository. With the integration with GitHub it became easier for non-core developers to submit pull requests with bug fixes and new feature improvements to PHP.
Will this new possibility make it PHP core developers accept more contributions from non-core developers? That is one of the main topics discussed by Manuel Lemos and...
Here's what was popular in the PHP community one year ago today:PHPBuilder.com: The PHP Fat-Free Framework: Slim Down Your PHP Development
Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 1)
SitePoint.com: An Introduction to CodeIgniter
DZone.com: PHP Quick Reference
DZone.com: Solarium PHP Solr client
Vance Lucas' Blog: Protected vs Private Scope: Arrogance, Fear and Handcuffs
Smashing Magazine: Image Manipulation With jQuery and PHP GD
CatsWhoCode.com: 10 super useful PHP...
Working at 10gen
Thursday, April 5th 2012, 13:00 BST
As of today I am working for 10gen, the company behind MongoDB. I have been contracting with them for a few months to work on the PHP driver for MongoDB. I am now making the switch to a full time position.
I am responsible for supporting MongoDB in the PHP ecosystem through driver development, integration with open source tools, community support, and developer advocacy. For now, I will concentrate to get the driver into a better shape,...
Latest PHP Tweets