In this new post to the Developer Drive site today, they share six things that you, as a developer, can do to hold you back in your career (or development growth in general).The web development industry is one that is always growing because of how we use the web. No longer do we expect the Internet to simply host a digital pamphlet for a business. The expectations nowadays are for a site to be rich with content, provide the means for visitors to interact and be dynamic in every interaction. With the...
Latest PEAR Releases:
As with most tools that work really well, I know very little about PEAR. I mean, I use it all the time, and I love it for getting all the extensions installed that I need for the work I do. But I've never made a PEAR package, or channel, and I've been happy to leave all those things in the hands of the smart people who have created what we have today.
However I'm now in a situation where I might need to install PEAR packages with a connection that may or may not be working, and I'm not sure exactly which...
Imagine your neighbor has a garden. It's a beautiful garden, and she's out there evenings and weekends, carefully tending her petunias and impatiens. Gently pulling the weeds in between her seedlings. Carefully watering in just the right amounts.One day, you say to her, "Hey! You should open that garden up to everybody. You know, share the joy.""Brilliant idea," she says, and she puts a sign on her gate that says "Free flowers."Soon after, people start coming to get flowers. Some just look and admire the...
If you weren't able to make it to the PHP Community Conference last year, there's good news - the conference is returning next year in March 2013!In 2011, we had our first ever conference. Our sponsors, speakers, and attendees were phenomenal. You rocked so much that we want to do it again! Mark your calendars for March 2013. This friendly, little PHP conference is returning to Nashville, TN.To get the latest on this great conference, you can follow their account on Twitter and get news as it comes out....
The Web Developer Conference (WDC)
for web developers from the 17th - 18th of September, 2012 in Hamburg, Germany.
The conference is geared towards developers of web applications,
content and online managers, agencies and web-masters.
The WDC will be represented by the German trade magazine web-developer.
More information about the conference can be found on
the conference website.
On PHPMaster.com today there's a new tutorial showing you how to create a simple RESTful API with the help of the Slim PHP microframework.Through a series of articles here at PHPMaster you've learned about what is REST and how it works. In this article, I'd like to show you how to create a RESTful web service using Slim, a PHP micro-framework inspired by Sinatra, a Ruby framework. It's well-suited for creating simple RESTful web services and comes with some minimal components like Router, Request,...
If you've been doing PHP for a while and feel the need to get out there and help others learn the language (and the whole ecosystem around it) but don't know where to start, check out this thread over on Reddit with some helpful resources and suggestions.I'm interested in teaching PHP and programming concepts to people. I've been told that I teach people in a way that is easier to grasp than what's conventional and I would like to get other peoples opinions on how to produce code and perspectives when...
In this recent post Tim shares a time when he came across a case of "cyclic dependency injection" and how he handled it.Cyclic dependency injection is your code asking you to make a choice rather than remain on the fence. Here's a story of what happened in my case. I ran across a troubling case of cyclic dependency injection in the constructors of some code.In his example, one object takes in another injected as a parameter to a method. The second object then takes in an instance of the first object as a...
In this day in age, it seems that the community trend is completely andA unequivocallyA trending towards the use of web application frameworks. So much so that the defacto first comment to someone asking how to do something seems to beA "Just use a framework, and it'll solve the problem for you." While I completely understand why this is the case, I can't say that I agree with it. And while I do believe that frameworks serve a purpose, I think that they are vastly over-used. Let me explain why...Read...
On the Symfony Blog there's a new post sharing the results of a recent poll they took of some of their developers covering things like job title, how long they've been working with Symfony and their work with the framework.Before the Symfony Live Conference in Paris, we conducted the first Symfony community survey. The raffle winners will soon be contacted by Anne-Sophie. And without further ado, here are the survey results!Results are posted both in numbers and in easy to read graphs to questions like:...
Popular posts from PHPDeveloper.org for the past week:Engine Yard: Introducing Lithium: The simple, fast and flexible PHP framework
PHPMaster.com: An Introduction to Mock Object Testing
Anthony Ferrara: Is Autoloading A Good Solution?
BinaryTides.com: PHP Socket programming tutorial
Evan Coury: Introduction to the Zend Framework 2 ServiceManager
Reddit.com: An interesting negative take on Dependency Injection
PHP.net: PHP 5.4.5 and PHP...
Several people have recently asked me where you should start if you want to add some new (syntactic) feature to PHP. As I'm not aware of any existing tutorials on that matter, I'll try to illustrate the whole process in the following. At the same time this is a general introduction to the workings of the Zend Engine. So upfront: I apologize for this overly long post.
This post assumes that you already have some basic knowledge of C and also know the fundamental concepts of the PHP implementation (like...
The Web Developer Conference (WDC) for web developers from the 17th - 18th of September, 2012 in Hamburg, Germany. The conference is geared towards developers of web applications, content and online managers, agencies and web-masters. The WDC will be represented by the German trade magazine web-developer. More information about the conference can be found on the conference website.
On Adam Lundrigan's site there's a new post introducing you to the ZendNavigation component of the Zend Framework v2 project and a simple example using it to display a few links.He breaks it up into a few smaller steps:
Add Service Manager Factory
Using the View Helpers
You can find out more about the ZendNavigation component here.
Bob Majdak has a quick new post to his site showing you how to log messages to Apache using a JSON format instead of the usual single-line information.So this past week I have been doing a lot of logging, parsing, and graphing. I was sitting there wondering what I could do to make the Apache access logs easier to work with. Then it hit me, a brilliant stroke of win: why not format it in JSON? Then in my log parser I could just json_decode it! As far as I know there are no tricks to make Apache do this...
The latest episode of the /Dev/Hell Podcast has been released - Episode #17, "This Show Is Terrible" hosted by PHP community members Ed Finkler and Chris Hartjes.This week on /dev/hell we talk about mentoring. Chris discusses his experiences taking a young up-and-comer under his wing, and we talk about the PHP Mentoring project. Then we babble about Aspen, an interesting, non-traditional Python web framework. Good and bad stuff in PHP gets knocked around again. Finally, Ed talks about fixing his dryer...
I just came across a a very interesting blog post by Eran Hammer about OAuth 2.0, its progress and its past.
If you're considering OAuth, it's worth a read. It also kind of reflects how I initially felt when I looked at the sea of OAuth 2-related documentation. My experience from tracking OpenID and DAV related standards is very similar. It is very, very hard for committees to create simple standards. I reckon the only way it can work, is with a trusted BDFL-type at the helm.
I'm delighted to announce that the nice people over at CakePHP have very kindly invited me to speak at their event in Manchester in September - CakeFest! They brought this event to Manchester last year and I wasn't able to make it, so I'm super-excited to be there this year.
The event itself is at Manchester Conference Centre which I like a lot and have hosted events at before. It's easy to park and is about 5 minutes' walking from Manchester Picadilly train station so it's very handy for...
In this new tutorial on the Script-Tutorials.com site, they show you how to use the Google API (and OAuth) to access contacts information from your Gmail account.In our new tutorial I am going to tell you about inviting friends. I think that this is the most important part for every website, a key to success. Today I will show you how to create simple and effective Gmail contact importer using OAuth authorization and API. Also, I will tell about obtaining Google API access too.Screenshots show you how to...