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 andAunequivocallyAtrending 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 more A
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...
Google Chrome vs Firefox: Chrome is Catching Up on Features for Web Developers
By Manuel Lemos
Google Chrome browser seems to have practically reached the leadership of the market share of browsers among the generality of the users. However, Firefox still leads in the preference of the majority of Web developers.
This article is a follow-up of another written last year entitled "Top 10 Reasons Why Firefox is still Better than Chrome for Web Development".
This time it includes a point by point response...
On PHPMaster.com there's a new tutorial about working with cookies in PHP applications - an introductory look at what they are, how to set them and how to read their values.Have you ever wondered that in spite of HTTP being a stateless protocol, when you log in to a website and buy stuff and checkout how the server can identify you uniquely? You might wonder if HTTP is stateless but your state is maintained through your interactions, isn't this a contradiction? Welcome to world of cookies (not the ones...
Here's what was popular in the PHP community one year ago today:Devshed: Simple and Secure PHP Login Script
Symfony Blog: Symfony2: The Roadmap to Final
Robert Basic's Blog: Helping out with Zend Framework 2
Rob Allen's Blog: Setting up PHP & MySQL on OS X 10.7 Lion
Sasa Stamenkovic's Blog: Create Kick-ass Website in no Time with Silex
PHPBuilder.com: Build Blazing Fast PHP Websites with Memcached Distributed Caching
Ibuildings techPortal: Behavior Driven Development in PHP With Behat
At the start of the month, I was on a panel at Unified Diff (which, if you're in the South Wales area, is well worth your time going to every month), and the last question we had is well worth expanding into a blog post. We were asked what each of us would do with a failing developer, and everyone was taken aback by my unequivocal answer: I'd fire them. After some back and forth between us (which carried on over a pint afterwards), my fellow panelists concluded that I seemed to be able to afford higher...
Latest PHP Tweets