PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 101 to 120 of 186

Proof that PHP 5.4 is Twice as Fast as PHP 5.3

Proof that PHP 5.4 is Twice as Fast as PHP 5.3
So recently I was working on some benchmarks for different versions of PHP, because I heard that PHP 5.4 is "faster" and since I'm a data geek I want to know how much faster! Now, PHP 5.4 is, in general, faster than PHP 5.3 but not twice as fast* unless you pick a use case which has been particularly optimised. My first attempt at benchmarking the two versions produced this: This was a surprise to me; was PHP 5.4 really so much faster?? It turns out that it isn't, and my mistake was to pick a very...

PHP 5.4.4 and PHP 5.3.14 released!

PHP 5.4.4 and PHP 5.3.14 released!
The PHP development team would like to announce the immediate availability of PHP 5.4.4 and PHP 5.3.14. All users of PHP are encouraged to upgrade to PHP 5.4.4 or PHP 5.3.14.The release fixes multiple security issues: A weakness in the DES implementation of crypt and a heap overflow issue in the phar extensionPHP 5.4.4 and PHP 5.3.14 fixes over 30 bugs. Please note that the use of php://fd streams is now restricted to the CLI SAPIFor source downloads of PHP 5.4.4 and PHP 5.3.14 please visit our downloads...

Reply: Use Cuda Accelerated PBKDF2

Reply: Use Cuda Accelerated PBKDF2
Yesterday, I read an article about using GPUs to accelerate password hashing: No, Heavy Salting of Passwords Is Not Enough, Use CUDA Accelerated PBKDF2. The article makes some very interesting points about password hashing. But the conclusion of the article really misses a huge point, and get a major pointAfundamentallyAwrong (bordering on misunderstanding). Let's start with the part they got wrong...Read more A

WebSpeaks.in: Extract the Content of Zip file Using PHP

WebSpeaks.in: Extract the Content of Zip file Using PHP
On the WebSpeaks.in site, there's a recent tutorial posted showing how you can extract the contents of a zip file from inside a PHP application.Sometimes you may want the users on your site to upload the zip file and then check what are the contents of that zip file. In this article I will tell you how to extract the contents of the zip file. I temporarily extract the zip files to a directory and then delete it afterwards. You can chose to keep the extracted content if you want.The tutorial walks you...

PHP-Tip-a-Day: PHP Tutorial: The Legend of the Singleton

PHP-Tip-a-Day: PHP Tutorial: The Legend of the Singleton
Following his recent allegory about the Factory pattern (as described in story form) Greg Bulmash has posted the Legend of the Singleton to help with your understanding this pattern.The Singleton pattern provides an interface to let your application always pull out the same object (or make a new one if it needs to).His legend talks about kings, mythological data sources and the overloading of multiple "hoses" (connections) to it. Also included is a code example showing a simple database class that...

MongoDB Blog: MongoDB for the PHP Mind, Part 1

MongoDB Blog: MongoDB for the PHP Mind, Part 1
On the MongoDB blog there's a new post starting off a series called "MongoDB for the PHP Mind", a look at using this popular NoSQL database from PHP. In this first post of the series, Mitch Pirtle covers things from a post-install and configure perspective.We have covered a lot on the blog about MongoDB features, as well as many ways to utilize MongoDB from different languages. This is the first in a series of posts from the perspective of a PHP developer; and covers the gamut from getting started to...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
INI Files Handler Contador Encrypted Number Generator PDO Database class Loader Class Zend EPS Feed Writer Input Validator Click-tale

PHPBuilder.com: Capture Screenshots in PHP with GrabzIt

PHPBuilder.com: Capture Screenshots in PHP with GrabzIt
PHPBuilder.com has a new tutorial posted showing how you can grab screenshots of websites using the free GrabzIt web service.GrabzIt has just launched their screenshot service, which allows developers to easily take screenshots of websites for free using the open source GrabzIt PHP Library. To take a screenshot with GrabzIt you first need to register to get your application key and secret, once done you will be up and running in no time.Their (quick) example shows you how to configure the library object...

Voices of the ElePHPant Podcast: It's the booze talking, episode 2: User Groups

Voices of the ElePHPant Podcast: It's the booze talking, episode 2: User Groups
The Voices of the ElePHPant podcast has released their second episode in the "It's the Booze Talking" series as recorded at this year's php|tek conference in May. In this new episode several community members talk about user groups (some as organizers, some as members).Community members joining Cal on the podcast are: Ryan Weaver Jason Austin Jake Smith Michelangelo van Dam Adam Culp You can listen to this latest episode either via the in-page player, by downloading the mp3 or by subscribing to their...

PHPMaster.com: Server-Side HTML Handling Using phpQuery

PHPMaster.com: Server-Side HTML Handling Using phpQuery
PHPMaster.com has a new tutorial today showing how you can use phpQuery to work with HTML in your application. phpQuery is a server-side CSS-selector-driven based on jQuery's API.Think about how you can change and manipulate the generated HTML using server-side PHP code. phpQuery is the ultimate solution that will come to your mind. If you haven't heard about phpQuery, you may be interested in this article since I am going to give you a brief introduction to phpQuery and explain how you can use it in...

PHP-Tip-a-Day: PHP Tutorial: The Allegory of The Factory Pattern

PHP-Tip-a-Day: PHP Tutorial: The Allegory of The Factory Pattern
On the PHP-Tip-a-Day site there's a new post from Greg Bulmash with an allegory about the Factory pattern (design pattern) to relate it to something a bit more practical and introduce some of its core concepts.If you've read the About This Site page, you'll know that instead of pursuing my passion for computers, I got sidetracked into the arts in college. So when it came time for me to learn and explain the Factory Pattern, I thought it might be fun to express it as an allegory...His example involves...

Refulz.com: Special characters in Regular Expressions - Part 1

Refulz.com: Special characters in Regular Expressions - Part 1
On the Refulz.com site they've posted the first part of a series about the basics of using special characters regular expressions (both in PHP and outside of it).With this post, we continue to explore the Regular expressions. The first post of the Learning Regular Expression series introduced Regular Expressions. The first post covers the regular expression delimiters and the "i" pattern modifier. In the language of regular expression, there is a special meaning of certain characters.In this article they...

Community News: Latest PECL Releases for 06.12.2012

Community News: Latest PECL Releases for 06.12.2012
Latest PECL Releases: xdiff 1.5.2 APM 1.1.0beta4 pdflib 2.1.9 yaz 1.1.2

HubFlow - GitHub and the GitFlow Model Together

HubFlow - GitHub and the GitFlow Model Together
At work, we've recently published HubFlow: instructions + tools for using Vincent Dreissen's GitFlow model with GitHub. The full article is over on the DataSift dev blog.

It's the booze talking, episode 2: User Groups

It's the booze talking, episode 2: User Groups
Ryan Weaver's Blog: http://www.linkedin.com/in/weaverryan Jason Austin's Blog: http://www.jasonawesome.com/ Jake Smith's Blog: http://www.jakefolio.com/ Michelangelo Van Dam's blog: http://www.dragonbe.com/ Adam Culp's Blog: http://www.adamculp.com/ Ryan Weaver's Twitter: @weaverryan Jason Austin's Twitter: @jason_austin Jake Smith's Twitter: @jakefolio Michelangelo Van Dam's Twitter: @DragonBe Adam Culp's Twitter: @adamculp Show Notes: http://www.meetup.com/mysql-144/ http://dallasphp.com//...

Slides and speaker infos

Slides and speaker infos
Last week I attended 3 different conferences: PHP International Conference in Berlin, then Buzzwords also in Berlin and finally Symfony Live in Paris. So I listened to a lot of talks, but also gave my share of presentations with a workshop, 2 talks and a panel for IPC, 2 lightning talks at Buzzwords and then 2 more talks at Symfony Live. One thing I noticed is that I tend to forget to even mention my name, especially since I rarely even have a slide about myself as I create most slide decks for reuse by...

Web and PHP Magazine: Issue #3 Released - "MySQL for Hipsters"

Web and PHP Magazine: Issue #3 Released - "MySQL for Hipsters"
The latest issue of the "Web and PHP Magazine" has been published - Issue #3 with articles including: An interview with Razi Sharir, CEO of Xeround, on DBaaS A preview of IPC Spring 2012 Sebastian Bergmann (thePHP.cc) on hotels 'An Overview Of PHP QA Tools' by Luis Oblonczyk (Softnex) 'An Introduction To Traits' by Michael Stowe (CaringBridge) You can download this issue free (registration required) as a PDF. Additionally, if you'd like to see the first two issues, you can check out their archives to...

Grzegorz Godlewski's Blog: Choosing your Source Code Management System

Grzegorz Godlewski's Blog: Choosing your Source Code Management System
In a recent post to his blog Grzegorz Godlewski talks about some of the criteria to consider when selecting your source code management tool (between Subversion, Git and Mercurial).Each of them has its own advantages and disadvantages so the project's requirements, development environment and team members receptivity should be taken into consideration. Relying on my own experience in project management and using version control systems to manage the development process I've formed the conclusions listed...

7php.com: PHP Interview with Taylor Otwell - The Creator of the Laravel Framework

7php.com: PHP Interview with Taylor Otwell - The Creator of the Laravel Framework
On the 7php.com site today they've picked back up with their "PHP community interviews" series with this latest interview - a few answers from Taylor Otwell, the creator of the Laravel framework.In this edition I talked with Taylor Otwell {@taylorotwell}, the man behind Laravel (created in April of 2011) which is a PHP 5.3+ Framework. Taylor is a .NET developer who specializes in elegant, intuitive software. The fact that he comes from a .NET background and he produces such an excellent, solid PHP...

Lorna Mitchell's Blog: Fetching Your Talks from the Joind.In API

Lorna Mitchell's Blog: Fetching Your Talks from the Joind.In API
If you're a speaker (or even if you're not and just want to play with the API) and have information on Joind.in, Lorna Mitchell has a quick way you can pull you information from the site into an easy to use format.I've recently been thinking that I should also do a better job of linking through to the various talks I'm giving/have given - and at around the same time I was contacted by the good folk at mojoLive about integrating against joind.in. To cut a long story short, the joind.in API now has the...