PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 270

Mike Lively's Blog: Pear Channel set up for Phake

Mike Lively's Blog: Pear Channel set up for Phake
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...

PHPBuilder.com: Profiling PHP Code with Xdebug and KCacheGrind

PHPBuilder.com: Profiling PHP Code with Xdebug and KCacheGrind
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...

Leniel Macaferi's Blog: Installing PHP on Mac OS X Snow Leopard 10.6.5

Leniel Macaferi's Blog: Installing PHP on Mac OS X Snow Leopard 10.6.5
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...

Site News: Popular Posts for the Week of 12.31.2010

Site News: Popular Posts for the Week of 12.31.2010
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...

Pear Channel set up for Phake

Pear Channel set up for Phake
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'

Speaking at ConFoo 2011

Speaking at ConFoo 2011
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. Besides that the conference itself also looks great, and covers an insane amount of topics with almost 150 sessions in 3 days, and boatloads of speakers. I will give two talks, one about JavaScript Scopes, Events and other complications to try and illustrate why people...

Sjoerd Massen's Blog: Passing the PHP 5.3 ZCE exam

Sjoerd Massen's Blog: Passing the PHP 5.3 ZCE exam
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...

Zend Developer Zone: Using the Stack Exchange API with PHP (part 1)

Zend Developer Zone: Using the Stack Exchange API with PHP (part 1)
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...

Shameer's Blog: PHP 5.3 : Practical look into Lambda functions and closures

Shameer's Blog: PHP 5.3 : Practical look into Lambda functions and closures
For those out there still coming to grips with some of what PHP 5.3 has to offer, I'd suggest checking out this new article from Shameer about using lambdas and closures along with some examples putting them into action.PHP 5.3 packaged the power of functional programming by adding support for lambda functions and closures. You will be familiar with them in javascript. In this article we will have a look into these features and its usages.He starts with explanations of what they are with simple code...

Reddit.com: What are the most popular (or best) methods to translate a PHP-built website?

Reddit.com: What are the most popular (or best) methods to translate a PHP-built website?
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,...

Zend Framework 1.11.2 Released!

Zend Framework 1.11.2 Released!
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 .

Using the Stack Exchange API with PHP (part 1)

Using the Stack Exchange API with PHP (part 1)
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.

Kenny Katzgrau's Blog: Enable Site-Wide Profiling With CodeIgniter

Kenny Katzgrau's Blog: Enable Site-Wide Profiling With CodeIgniter
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...

Wil Sinclair's Blog: Process Patterns

Wil Sinclair's Blog: Process Patterns
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...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
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...

MySQL 5.5 GA launchd issues with Snow Leopard

MySQL 5.5 GA launchd issues with Snow Leopard
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 edit...

php|architect Blog: The NoSQL Hype Curve is Bending

php|architect Blog: The NoSQL Hype Curve is Bending
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...

Reddit.com: Less obvious PHP tricks?

Reddit.com: Less obvious PHP tricks?
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 Boolean attribution 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!

DZone.com: Reuse your closures with functors

DZone.com: Reuse your closures with functors
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 talks about "Process Patterns"

Wil Sinclair talks about "Process Patterns"
Wil Sinclair, previous head of Zend Framework, has written a new post on his blog discussing aoProcess Patternsa and coining a new term. Click on inside, I've got the URL around here somewhere.