PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 4661 to 4680 of 6889

DZone.com: SOLID for packag...err, namespaces

DZone.com: SOLID for packag...err, namespaces
On DZone.com there's a recent article from Giorgio Sironi about the SOLID set of principles for software development (more on those here) and how some related principles can be applied to namespaced code in PHP.While studying for the advanced software engineering exam at PoliMi, I discovered there is also a set of principles akin to SOLID for the design of packages, and not only of classes and interfaces. Uncle Bob published them after the SOLID series. Note that package here can be intended as a zip or...

Finding A Job Without A Recruiter

Finding A Job Without A Recruiter
Last week I wrote about all the reasons that recruiters are bad for your career. For a variety of reasons I highlighted the reasons job seekers should avoid enlisting the services of recruiters that solicit them, and the traps that recruiters employ to disadvantage job seekers while improving their odds of collecting a commission. On [...]

Kevin Schroeder's Blog: New Zend Server Job Queue Library

Kevin Schroeder's Blog: New Zend Server Job Queue Library
In his newly updated blog today (changed to WordPress) Kevin Schroeder has a new post looking at a new queuing library available for Zend Server's Job Queue including an example of its use.This will probably be one of the last posts I do on the Zend Server Job Queue functionality. From this point on they will probably be less frequent, though I'm sure several posts will allude to it. The reason I'm going to put it on the back burner is because I have written a library which is now available on GitHub....

CodeIgniter Podcast: Episode #5: CodeIgniter Reactor, and Our Devious Plans

CodeIgniter Podcast: Episode #5: CodeIgniter Reactor, and Our Devious Plans
The CodeIgniter Podcast has (finally) released the next episode of their series - episode #5 where two Reactor Engineers (John Crepezzi and Kenny Katzgaru) talk about the project and some interesting recent additions.Reposted from oconf.org, Reactor Engineers John Crepezzi and Kenny Katzgrau talk about their plans for CodeIgniter Reactor and talk about the idea of "sparks".The sparks are self-contained, easy to install packages that bring additional functionality to the CodeIgniter core set of tools. You...

Aura for PHP 5.3+, aka Solar 2.0

Aura for PHP 5.3+, aka Solar 2.0
Measuring from the first Subversion commit, Solar was 6 years old on 14 Feb 2011. The project has come a long way since then, and has evolved from a collection of library classes with some content domain models, to a general purpose framework. Moore's Law tells us computer power doubles about every 18 months; it's how [...]

PECL/mysqlnd_ms: let web requests be your M/S load balancer

PECL/mysqlnd_ms: let web requests be your M/S load balancer
Introducing the best load balancing policy for PECL/mysqlnd_ms: "random_once". A (PHP) web request is short-lived. A web server can handle multiple requests per second. There are many web servers running an application. For each web request choose a random slave to use for the rest of the ...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Hooks XParser Object Oriented GD Library PHP MySQL databaser Select Options Easy Thumbnail and Watermark class DBackup Paginate simple PDO Multicnxn Class Email Address Validator PHP MySQL Wrapper Hello Captcha Netflix API Wrapper PDO Multi Connection Class Simple class for logs

static considered harmful

static considered harmful
This is a provoking title, but, in my honest opinion, a very valid rule of thumb. During the last years of teaching other developers, developing PHP libraries and applications and doing quality assurance on other peoples software I came to this rather abrasive conclusion - let me tell you whya

Zend Developer Zone: See and be seen, hear and be heard. Conference season is upon us...

Zend Developer Zone: See and be seen, hear and be heard. Conference season is upon us...
On the Zend Developer Zone Cal has posted a list of some of the upcoming PHP-related conferences that'll be happening in the next few months all over the world.If you have been to a PHP conference, you know how much fun and learning goes on at these things. Anytime you get that many PHP developers together, great ideas are bound to be hatched. If you have never had the opportunity to attend one, this year is the year to change that.He mentions several including Day Camp for Developers (happening this...

Ibuildings techPortal: DPCRadio: Database Version Control without Pain

Ibuildings techPortal: DPCRadio: Database Version Control without Pain
The Ibuildings techPortal has posted their latest episode in their DPCRadio podcast series as recorded at the Dutch PHP Conference 2010. This latest episode is Harrie Verveer's talk about database version control.We've all read the textbooks and are using version control systems for our code, but our databases are left out in the cold. Every team has their own workaround, ranging from patch files to SQL snippets in the bugtracker, but none is really robust. Unfortunately there is no silver bullet, but...

ZendCon Sessions Episode 040: Memcached: the better Memcache interface

ZendCon Sessions Episode 040: Memcached: the better Memcache interface
This session will introduce the audience to the memcached PHP extension that provides a more flexible and performance friendly interface to the de facto caching solution for PHP applications. The talk will be comprised of code examples for a variety of use cases and comparison points between it the older memcache interface.

Voices of the ElePHPant: Interview with Matthew Turland

Voices of the ElePHPant: Interview with Matthew Turland
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Matthew Turland. Cal asks his three questions: What was your first PHP project? What's the most difficult thing about running an open source project? What is the one mistake you see other open source projects make? You can either listen to this latest episode via the in-page player or by downloading the mp3.

Tibo Beijen's Blog: Fixing mysqldump on Zend Server CE on OS X

Tibo Beijen's Blog: Fixing mysqldump on Zend Server CE on OS X
Tibo Beijen has a new post today showing his method for fixing mysqldump on Zend Server CE running on an OS X platform. The default install throws a socket error when you try to dump a database using the command.Inspecting the mysql configuration contained in /usr/local/zend/mysql/data/my.cnf confirmed that the section [client] showed the socket as returned by executing SHOW VARIABLES; from the mysql client: /usr/local/zend/mysql/tmp/mysql.sock Although it is possible to specify the socket by using...

Spot on Voices of the Elephpant

Spot on Voices of the Elephpant
I recently did a brief interview that's been published as an episode of the Voices of the Elephpant PHP podcast. The first question deals with my experience with PHP, but the other two deal more with my experience with open source projects in general. Thanks to Cal Evans for inviting me to participate. I highly recommend you check out other episodes of the podcast if you haven't already; I've really enjoyed listening to them.

Ten years of Nemein

Ten years of Nemein
Today it is ten years since my company, Nemein, started operating. Our team had been doing the internal Midgard-based information systems at Stonesoft, but as parts of that company were being sold, our team would've been split up. So instead we started our own business with Henri Hovi and Johannes Hentunen, with the idea that our Midgard expertise would be useful to a wider market. The best laid plans The initial plans were made at a Starbucks on New York's JFK airport while waiting for a flight to...

Lorna Mitchell's Blog: Dealing with MySQL Gone Away in Zend Framework

Lorna Mitchell's Blog: Dealing with MySQL Gone Away in Zend Framework
Lorna Mitchell has a (very) quick tip for those using the Zend Framework with a MySQL database. Sometimes the inevitable "MySQL server has gone away" error will pop up - her tip shows you how to deal with it correctly in a long-running application.The [Gearman] worker is a Zend Framework application, run from the CLI, and it seemed like the Zend_Db_Adapter had no way of knowing when MySQL had let go of its end of the connection. I tried a few different things, including Zend_Db_Adapter::getConnection(),...

Derick Rethans' Blog: Using OpenStreetMap tiles with Flickr

Derick Rethans' Blog: Using OpenStreetMap tiles with Flickr
Derick Rethans has a new post today with a bit of code showing how to combine Flickr and OpenStreetMap and make a mapping tool that plots out the location information for the Flickr images.I like taking pictures, and I usually take a GPS so that I can place them on a map on my Flickr page. On my last excursion however, the battery of my GPS had died, so I did not have location information available to store in my pictures' EXIF headers. Flickr can use the EXIF headers to then show the images on the map....

Gonzalo Ayuso's Blog: Watermarks in our images with PHP and mod_rewrite

Gonzalo Ayuso's Blog: Watermarks in our images with PHP and mod_rewrite
Gonzalo Ayuso has a new tutorial posted to his site today showing how to use mod_rewrite and a little bit of PHP magic to watermark images without having to apply it to each one manually.he idea is simple. Instead of opening directly the image, we are going to open a PHP script. This PHP script will open the original image file with imagecreatefromjpeg, add the footer and flush the new image to the browser with the properly headers.Since it would be a lot of trouble (especially on a larger site) to have...

Community News: Latest PECL Releases for 03.01.2011

Community News: Latest PECL Releases for 03.01.2011
Latest PECL Releases: tokyo_tyrant 0.6.0 CUBRID 8.3.1.0005

Using OpenStreetMap tiles with Flickr

Using OpenStreetMap tiles with Flickr
Using OpenStreetMap tiles with Flickr London, UK Tuesday, March 1st 2011, 09:20 GMT I like taking pictures, and I usually take a GPS so that I can place them on a map on my Flickr page. On my last excursion however, the battery of my GPS had died, so I did not have location information available to store in my pictures' EXIF headers. Flickr can use the EXIF headers to then show the images on the map. Because I did not have the location information to automatically place my pictures on the map, I...

Latest PHP Tweets