PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 241 to 248 of 248

April What?

April What?
I really like the way Trent describes blogs: There's something sacred about reading a blog post on someone else's site. It's like visiting a friend's house for a quick meal 'round the breakfast table. It's personala-ayou're in their space, and the environment is uniquely suited for idea exchange and uninterrupted conversation. In many ways, we should be treating our blogs like our breakfast tables. Be welcoming & gracious when you host, and kind & respectful when visiting.My blog is my personal space,...

Benford's Law

Benford's Law
Benfords Law is not an exciting new John Nettles based detective show, but an interesting observation about the distribution of the first digit in sets of numbers originating from various processes. It says, roughly, that in a big collection of data you should expect to see a number starting with 1 about 30% of the time, but starting with 9 only about 5% of the time. Precisely, the proportion for a given digit can be worked out as:function benford($num) {A A A A return log10(1+1/$num);}Real data does...

Eric Hogue's Blog: Profiling a PHP Application

Eric Hogue's Blog: Profiling a PHP Application
Eric Hogue has written up a new post about a few different technologies you can use to profile your PHP applications quickly and easily.There are many available tools to profile a PHP application. Learning how to use them can help us pinpoint which parts are slow. With this information we can pick the optimizations that will give us the best results. This post describes the installation and configuration of some of them. I tested them in a Ubuntu 10.10 virtual machine. If you want to try those tools,...

php|architect: php|architect Announces the First Annual Impact Awards

php|architect: php|architect Announces the First Annual Impact Awards
php|architect has announced a new effort they've launched to recognize the groups and projects in the PHP community that have had an impact. The Impact Awards is a yearly effort to recognize those contributions.In short, we at php|architect recognize that we are standing on the shoulders of giants. We build our site, our training and our magazine using tools created by developers who are giving freely of themselves. We want to recognize a few of those who have had an impact specifically on the PHP...

PHPCodeBase.com: PHP Magic Function : glob()

PHPCodeBase.com: PHP Magic Function : glob()
On PHPCodeBase.com there's a recent post looking at a handy file system function that you can use to search directories simpler than a usual opendir/readdir method - glob.Are you guys still using opendir() function to read the the files from the folder in PHP? Luckily PHP have the glob() function which perform this task very faster and smarter.He compares an example of the opendir/readdir method to a few line replacement with glob, both searching the same directory for files. He looks at the arguments...

Site News: Popular Posts for the Week of 04.01.2011

Site News: Popular Posts for the Week of 04.01.2011
Popular posts from PHPDeveloper.org for the past week:Propel Blog: The End of Autoloading Slawek's Blog: Efficient file serving in PHP application with nginx Stoyan Stefanov's Blog: JavaScript-style object literals in PHP Sameer Borate's Blog: Easy thumbnail generation using PHP Eran Galperin's Blog: Database Optimization Techniques You Can Actually Use Zend Developer Zone: Using the Plurk API with PHP XPertDeveloper.com: PHP coding tips for Performance Improvement php|architect: Looking for a simpler...

Symfony CMF: why, how, when (part II)

Symfony CMF: why, how, when (part II)
Continuing with my post from the other day I will try to answer some of the questions that seem a bit reoccurring. The first question I want to address is why JCR? While we were making some decisions over the summer it became clear fairly quickly that we want a clear separation of the storage and the frontend layers. One big reason there was to become database agnostic (ORM vs. ODM vs ..). But also to ease in scaling and deployment and most importantly to ease development (single server vs. cluster). So...

Recap of POSSCON

Recap of POSSCON
Last week I had the distinct pleasure to be invited to the 4th annual Palmetto Open Source Software Conference (known as POSSCON). It couldn't be a better place to be this time of year; while the weather in Northeast Ohio is still cold and dreary, Columbia, SC was sunny and beautiful in the mid 80s during the entire time I was there. But the weather wasn't the primary reason why I enjoyed my time at POSSCON. In all of the open source conferences I've been to, I think this one really was able to bring out...