Mike Lively has a new post about a PEAR channel he's set up for his Phake mocking tool on his digitalsandwich.com domain.For those that may not have caught my first post on the subject, Phake is a mock framework that I announced a couple of days ago in Introducing Phake Mocking Framework. It was recommended in the comments that I get it on a pear channel somewhere, which is something I have wanted to do but hadn't had a reason to do until this week. Well, now there is an official Digital Sandwich Pear...
New on PHPBuilder.com today there's a tutorial on profiling your applications with the help of XDebug and the KCacheGrind tools.[Eventually you'll want to seek out and resolve any bottlenecks.] Which brings us to the question of how to even go about determining which parts of an application could conceivably be optimized. One common approach involves using a profiler such as Xdebug, which can analyze your code and produce performance reports. These reports can then be reviewed within a profiling...
On his blog today Leniel Macaferi has a new post showing how to install PHP on OSX 10.6.5, really enabling the PHP that's already installed.I hit a pretty good tutorial to enable PHP on Mac at About.com written by Angela Bradley that gets to the point: How to Install PHP on a Mac. Along the way I had to solve only one minor thing described in the caveat section at the end of this post. You see that the title of this post has the word installing (well I thought I had to install it '" that was my first...
Popular posts from PHPDeveloper.org for the past week:Joshua Thijssen's Blog: Tutorial: how to manage developers
Reddit.com: Less obvious PHP tricks?
Site News: Popular Posts for the Week of 12.24.2010
Query7.com: Book Review: PHP5 CMS Framework Development
Hannes Magnusson's Blog: The PHP project and Code Review
CodeForest.net: Multiple virtual hosts in WAMP
Community News: DBG Debugger Helper for Google Chrome Released
php|architect Blog: The NoSQL Hype Curve is Bending
Derek Allard's Blog: Modifying...
For those that may not have caught my first post on the subject, Phake is a mock framework that I announced a couple of days ago in Introducing Phake Mocking Framework. It was recommended in the comments that I get a€¦ Continue reading a†'
I recently had the pleasure to hear that I would be speaking at the ConFoo conference. This is a great opportunity for me as I'll finally be able to meet a few US-based guys from the PHP community that I have only ever met virtually.
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.