PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2321 to 2340 of 6889

Brian Swan's Blog: Using SQL Azure Federations via PHP

Brian Swan's Blog: Using SQL Azure Federations via PHP
Brian Swan has a new post to his blog about using Azure Federations in your PHP applications:In a nutshell, SQL Azure Federations introduces an abstraction layer for the sharding of SQL Azure databases. The value in federations lies in your ability to have elastic scalability of the database layer of your application (to match the elastic scalability of the rest of your application when it's running in the cloud). And, one nice thing about the way federations work is that nearly everything can be done...

Site News: Popular Posts for the Week of 01.20.2012

Site News: Popular Posts for the Week of 01.20.2012
Popular posts from PHPDeveloper.org for the past week:Gonzalo Ayuso's Blog: Checking the performance of PHP exceptions PHPMaster.com: MongoDB Revisited DZone.com: Open/Closed Principle on real world code Stuart Herbert's Blog: ContractLib - An Introduction & Comparing it to PHP's Assert Stuart Herbert's Blog: Introducing ContractLib (Programming Contracts) Larry Garfield's Blog: PHP project structure survey Dave Marshall's Blog: Defending against Cache Stampedes Ulf Wendel's Blog: PHP mysqli quickstart...

ConFoo 2012

ConFoo 2012
ConFoo 2012 in Montreal, Canada on Feb 29 - Mar 02 ConFoo is the unique web conference in Canada gathering different tech communities in one place. find working solutions for your day to day challenges; discover new tools that increase your productivity; network with people from some of the world's biggest companies; 160 presentations focusing on core competencies improvement; Don't miss this great opportunity and register today! Also check out our two training days around PHP,...

Kurt Payne's Blog: How to Unit Test pcntl_fork()

Kurt Payne's Blog: How to Unit Test pcntl_fork()
Kurt Payne has a new post to his blog showing how you can unit test your process forking in your PHP application (pcntl).At some point, many php developers turn to the pcntl functions in php to write a daemon, or server, or simulate threading. But how do you unit test this with complete code coverage? [...] We need to engage some black arts php extensions to make this happen. An installation guide follows, and the post ends with a complete listing of the unit test.He uses the test_helpers extension (as...

PHP VirtualBox VM has been refreshed

PHP VirtualBox VM has been refreshed
While I was recently on summer vacation (yes, it is summer in half the world), the VirtualBox VM for PHP was refreshed to a more recent Zend Server/Oracle Linux/Oracle Database XE stack. I just pulled the VM down, imported it and had it booting and serving PHP pages in a very few minutes. VirtualBox really is marvelous. There is a link to download the VM near the foot of the Oracle Technology Network Developer VM page.

Where I'm speaking at nexta

Where I'm speaking at nexta
I have a number of exciting talks coming to a conference near youa Next weekend I'll be in Antwerp for the 2012 PHPBenelux Conference. This has grown to be a favorite conference of mine, as you can't go wrong with a combination of PHP, greatApeople, great chocolate (just ask the wife),ABelgianABeer, and Belgian Fries. In fact, I'm so much a fan of the show that I'm having my company, SugarCRM, be the platinum sponsor for the event. We'll have a booth and a hacking lounge there, where we will bribe...

Wojciech Sznapka's Blog: Modern frameworks comparison

Wojciech Sznapka's Blog: Modern frameworks comparison
In this new post to his blog Wojciech Sznapka compares three different frameworks - Symfony2 (PHP), Django (Python) and Ruby on Rails (Ruby) - in their request handling performance, lines of code and average community on Github.If you ask me, which one is the best - I can't point one, all of them are very good. But let's try to measure frameworks. For purpose of this article, I created three applications in Symfony2, Django and Ruby On Rails. All those apps do the same - show two tables, one shows top...

Chris Hartjes' Blog: PHPUnit Aborted Fix

Chris Hartjes' Blog: PHPUnit Aborted Fix
Chris Hartjes ran into an issue with hit unit tests where PHPUnit was throwing an "aborted" error no matter what tests were run. Thankfully, in this new post, he shares a solution.That was a pretty annoying bug. I never did find out what the problem was as I moved onto other problems and chalked that error up to some undiagnosed weirdness on that particular server. From time to time I would get asked on Twitter if I had ever solved the problem. My answer was always "no, and if you do solve it please let...

Lorna Mitchell's Blog: Building A RESTful PHP Server: Understanding the Request

Lorna Mitchell's Blog: Building A RESTful PHP Server: Understanding the Request
In this new post to her blog Lorna Mitchell starts off a new series (based on popular demand) looking at building an RESTful server in PHP. Back to basics - no framework, just PHP.In the first part of this (probably) 3-part series, we'll begin with the basics. It might seem boring, but the most important thing to get right with REST is parsing all the various elements of the HTTP request and responding accordingly. I've put in code samples from from a small-scale toy project I created to make me think...

Volker Dusch's Blog: Never trust other peoples benchmarks - A recent example (exceptions)

Volker Dusch's Blog: Never trust other peoples benchmarks - A recent example (exceptions)
In response to a previous post benchmarking exceptions, Volker Dusch has posted some of his own thoughts and benchmarking results on the same topic.Some days ago there was a blog post regarding php exception performance in 5.4 and the numbers got reported all over the place. The actually numbers are secondary. The main point is: Don't trust "random" stuff on the Internet when thinking about improving your application performance. You always need to measure things for your self and take care doing so!...

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 9)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 9)
Fabien Potencier has posted the ninth part of his "build a framework on Symfony2 components series. In this latest tutorial he takes the simple framework he's already created (complete with some unit tests) and makes it easier to extend.Our framework is still missing a major characteristic of any good framework: extensibility. Being extensible means that the developer should be able to easily hook into the framework life cycle to modify the way the request is handled.He chooses the Observer design...


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:PHPBuilder.com: Use jQuery to Build a Newsletter Subscription Popup with a MySQL/PHP Backend Smashing Magazine: Cleaning Up The Mess: How To Keep Your Coding Workflow Organized Michelangelo van Dam's Blog: Unit testing after Zend Framework 1.8 webinar Cal Evans' Blog: Six ways to be a better client for your developer - Point 4 Webification.com: 20 less known Open Source PHP CMS-es Community News: Jackal PHP Framework Zend Developer Zone:...

Create your own framework... on top of the Symfony2 Components (part 9)

Create your own framework... on top of the Symfony2 Components (part 9)
Our framework is still missing a major characteristic of any good framework: extensibility. Being extensible means that the developer should be able to easily hook into the framework life cycle to modify the way the request is handled. What kind of hooks are we talking about? Authentication or caching for instance. To be flexible, hooks must be plug-and-play; the ones you "register" for an application are different from the next one depending on your specific needs. Many software have a similar concept...

Building A RESTful PHP Server: Understanding the Request

Building A RESTful PHP Server: Understanding the Request
Once upon a time, what seems like a lifetime ago, I was away for a couple of weeks, and I wrote a series of posts about serving RESTful APIs from PHP to keep my blog going while I was away. Fast forward a few years and those posts are outdated and still wildly popular - so I thought it was about time I revisited this and showed how I'm writing RESTful PHP servers today! In the first part of this (probably) 3-part series, we'll begin with the basics. It might seem boring, but the most important thing to...

Call A Spade A Spade

I don't often get political on my blog, or over social media. But those of you who follow me on twitter lately have been treated to a number of tweets and retweets from me about some bills before the US legislative bodies called "SOPA" and "PIPA". Over the last couple days, I realized exactly why I disagree with them, and felt 140 characters is not enough.

Call A Spade A Spade

I don't often get political on my blog, or over social media. But those of you who follow me on twitter lately have been treated to a number of tweets and retweets from me about some bills before the US legislative bodies called "SOPA" and "PIPA". Over the last couple days, I realized exactly why I disagree with them, and felt 140 characters is not enough.

Ade Slade's Blog: Integrating Zend Framework 1 and Pimple

Ade Slade's Blog: Integrating Zend Framework 1 and Pimple
In this new post to his blog Ade Slade shows how to integrate the Pimple lightweight dependency injection container with a Zend Framework application.This post will describe a way to integrate Zend Framework 1 and Pimple. A complete working version of the code is available on github. Thankfully, Zend Framework 2 features its own Dependency Injection Container. Happy days. Still, if you're not prepared to wait, you may find this useful.He shows how to add a resource plugin into the Pimple container - an...

Ulf Wendel's Blog: PHP mysqlnd query cache plugin quickstart is online!

Ulf Wendel's Blog: PHP mysqlnd query cache plugin quickstart is online!
In a new post to his blog Ulf Wendel has pointed out that the mysqlnd query cache plugin quickstart is posted on the docs.php.net site.New in the PHP manual: a quickstart for the mysqlnd query cache plugin. PECL/mysqlnd_qc, the mysqlnd query cache plugin, is transparent and ease to use. But, how? Some pointers have been given in assorted presentations, here on my blog and in some, few examples from the manual. Fixed. You can now browse a quickstart to gain a quick overview.The query cache plugin can...

Kevin Schroeder's Blog: Call for webinars (Zend)

Kevin Schroeder's Blog: Call for webinars (Zend)
Kevin Schroeder is looking for suggestions. He wants to know what the PHP community wants to hear about in upcoming webinars from Zend.Just wrapped up a call working on our webinar schedule for the year. We've got a bunch of ideas but we'd like to also get your input as well. Yes, I know y'all want ZF2 webinars. We have that down. I would also like to do an HTML5 and mobile webinar but I need an SME (Subject Matter Expert) for that. [...] I would also love to have webinars on how to use various API's,...

Latest PHP Tweets