Another community member has passed the PHP 5.3 Zend Certified Engineer exam (Sjoerd Massen) and has blogged about his experiences both before and during the exam.Today I passed the exam to become a PHP 5.3 ZCE. Like everyone else I had to sign the non-disclosure contract so I can't go into detail about the questions that were asked, I can however tell my impressions of the exam and how prepared for it.His preparations included going over some of the older sample tests and some additional study time on...
On the Zend Developer Zone today the first part of a series from Vikram Vaswani has been posted. This new set of articles will look at how to use the Stack Exchange API from your PHP applications.The thing about Stack Overflow, though, is that it has a geeky secret of its own. Like many Web 2.0 applications, it exposes its data to the public via the Stack Exchange Web service API, making it possible to develop customized applications that run on top of the base service. This API allows access to a number...
In this new post from Reddit.com a question is asked about website translations and the opinions on best practices for it.I'm just curious what the best practices are for translating your website into another language, to present foreign readers with text in their home lingua -- well, particularly if there are PHP-specific methods to do so. I've stumbled across the pages for GNU gettext and that seems interesting, but I'm curious what people think of it.Suggestions include manual translation via a human,...
The Zend Framework team announces the immediate availability of Zend
Framework 1.11.2, our first maintenance release in the 1.11 series. This
release includes around 50 bug fixes.
You may download ZF 1.11.2 from the Zend Framework site .
The collaborative Q&A site Stack Overflow is a great place for geeks to hang out, answer questions and earn reputation. But there's an additional bonus: the site also exposes a Web service API that allows developers to build mashups on top of the base service. This two-part article will give you a crash course in the Stack Overflow API, illustrating how easy it is to retrieve and search site content from within your PHP application.
On his blog today Kenny Katzgrau talks about a handy feature of the CodeIgniter framework - profiling - and how you can implement it site-wide rather than just on a controller by controller basis.In your controller before you load a view, CodeIgniter will give you information regarding how fast the page loaded, how many SQL queries executed, the content of each query, and the running time of each query. This is incredibly useful when you are trying to debug your application, or simply see how quickly...
On the Zend Developer Zone today there's a new post mentioning something from Wil Sinclair about something he calls "process patterns" in software development.From Wil's post:I need a word for several engineers working on the same project that isn't 'team'. Why? Because most engineers working on the same project aren't working together as a team. This is why I believe in process patterns. Note: I didn't say that I believe in processes, because I don't. [...] You name a methodology, and I don't believe in...
Here's what was popular in the PHP community one year ago today:Site News: A Look Back at 2009 in PHP
Developr.com: Do Frameworks Fail? When?
ZendCasts.com: Doctrine Relations and Zend MVC
Community News: php-mode (PHP documentation integration for Emacs)
Phil Sturgeon's Blog: CodeIgniter Template library
Web Development Blog: Ajax requests using jQuery and PHP
Kae Verens' Blog: multiple file uploads using HTML5
NETTUTS.com: 6 CodeIgniter Hacks for the Masters
Community News: TekX to Offer a "Hack...
I did a clean install on my Macbook Pro this morning, part of the clean install means, re-downloading things like MySQL.
When I installed it, I noticed that the pref-pane wouldn't start MySQL. Even when it asked for my admin password. I thought maybe it was a boot up issue, so I rebooted, and got an error telling me that the permissions for the start up item were in secure.Here's what I did to debug/fix the problem.
Change permission of /Library/StartupItems/MySQLCOM/MySQLCOM
On the php|architect blog today Bill Karwin has shared his thoughts on NoSQL and how, despite the popularity of it during 2010, the hype curve is bending and companies are realizing it's less of the "silver bullet" they expected.The technology hype of 2010 was clearly NoSQL, which proved to be more of a brand-name than a technical term. Today in his tech blog, Bozho set out his view that NoSQL is probably not a good choice for startups that don't know yet where their database and application bottlenecks...
On Reddit.com there's a recent post with a question about some of the lesser known PHP tricks that other developers might have picked up out there. The post has pulled in quite a few suggestions including:
Using predefined interfaces
The streams API
Defining constant defaults
The speed differences in reading parts of arrays
There's also a full discussion on closures/lambdas that no "features" post on PHP would be complete without. Have some tips to share? Add yours to the post too!
On DZone.com there's a new tutorial from Giorgio Sironi about reusing closures with the help of functors (a special kind of object instancing done in PHP with the help of __invoke).I like PHP closures and their superset, anomyous functions, as they implement the Command pattern very well when used correctly. However I feel that sometimes they are: difficult to reuse and difficult to force contracts on. [...] What if we wanted instead, a closure which we can instance even more than one time (maybe with...
Wil Sinclair, previous head of Zend Framework, has written a new post on his blog discussing a€oProcess Patternsa€ť and coining a new term. Click on inside, I've got the URL around here somewhere.
On the Zend Developer Zone today Cal Evans has posted his review of a book by Kevin Schroeder called "You Want to Do What with PHP?", a look at some of the less commonly used PHP functionality in action.You Want to Do What with PHP?" isn't your usual PHP book. I am guessing that even advanced PHP developers don't have a book like this on their shelves as I've never read one that covers quite this variety of material. Kevin talks about a lot of topics that we politely call "Edge Cases" for PHP developers....
Ok, this one is not strictly PHP but since it's Ivo and he's a member of the PHP community, let's cut him a little slack and see what he's up to.
Mike Lively has a new post to his blog today looking at a mocking framework he's developed to work hand in hand with PHPUnit to make mocking easier and more robust.I have used PHPUnit heavily now for the last 4 years. As anyone that is heavily involved in writing Unit Tests knows, test doubles (commonly referred to as mock objects) are a necessary part of your toolbox. The mocking options that we used to have for PHP unit testing have traditionally been fairly limited and most all of them in some form or...
PHP File Download Class
Cpanel cURL Backup
I have used PHPUnit heavily now for the last 4 years. As anyone that is heavily involved in writing Unit Tests knows, test doubles (commonly referred to as mock objects) are a necessary part of your toolbox. The mocking options a€¦ Continue reading a†'
My friend Kevin Schroeder recently released his latest book a€oYou Want to Do What with PHP ?a€ť This book isn't for everyone, click on inside and I'll help you decide if it's right for you.
Latest PHP Tweets