PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 81 to 100 of 183

Properly Salting Passwords, The Case Against Pepper

Properly Salting Passwords, The Case Against Pepper
The other day I announced the release of my new password hashing library, PasswordLib. As I've come to expect, Reddit was full of interesting commentary on the topic. Some was good, some was bad and some surprised me. What surprised me was the insistence on a global salt (otherwise known as a "pepper"). So, I started thinking about it some more, and I figured I'd write a post on why I don't use peppers in my hashing algorithms (and why you may want to rethink it too).Read more A

PHPMaster.com: Maintaining your Server with Command Line PHP

PHPMaster.com: Maintaining your Server with Command Line PHP
Stephen Thorpe has a new article posted on the PHPMaster.com site today about using command line PHP to handle some of the automation on your server.n this article we'll look at the advantages of using PHP CLI. I'll show you how to test PHP's Command Line Interface / Interpreter (CLI) on your server, and then we'll look at some of the options available for PHP CLI including the interactive shell and how to create executable scripts. Finally, I'll give you a couple of examples of scripts to use to...

Community News: Atlanta PHP May Meetup - PyroCMS from John Corry (May 3rd @ 7pm)

Community News: Atlanta PHP May Meetup - PyroCMS from John Corry (May 3rd @ 7pm)
The Atlanta PHP User Group has announced their May 2012 meeting on their site today. In next month's meeting John Corry will be presenting about PyroCMS and why you should base your next site on it.If you use (or would like to use) the CodeIgniter framework in your PHP projects, you've probably seen that each project requires common elements (authentication, user management, basic CMS components). Take a walkthrough of PyroCMS with John Corry to learn how you can leverage it's components to bring your...

Book Review: aoCode Simplicitya

Book Review: aoCode Simplicitya
Last night I finished my latest read from O'Reiily, Code Simplicity - The Science of Software Development. I spotted the book the other day when O'Reilly was running a special on a few books and the ebook was cheap so I figured it couldn't hurt to give it a try. After all, the aosciencea part in the title made it sound like there might be some hidden truths that could be applied anywhere in development. Unfortunately, most of the book just ended up being more of a rambling journey though things that most...

Community News: Latest PECL Releases for 04.17.2012

Community News: Latest PECL Releases for 04.17.2012
Latest PECL Releases: mysqlnd_ms 1.3.1 mysqlnd_qc 1.1.1 yaml 1.1.0 pecl_http 2.0.0alpha1 mysqlnd_ms 1.3.0 taint 0.5.2 mysqlnd_qc 1.1.0 APC 3.1.10 yaf 2.1.11 pdo_sqlsrv 3.0.1 sqlsrv 3.0.1

Sismo Challenge: Results

Sismo Challenge: Results
We recently wrapped up the first Ibuildings Challenge of 2012; a contest to create a Sismo notifier. At the moment Sismo ships with Growl, DBus, Google Talk and XMPP notifiers. They all extend the Sismo\Notifier to provide feedback to developers in a particular way. The task was to create a new notifier that was useful, creative or inspiring. This post announces the winners and makes some observations based on the submissions we received. Contest Key Rules: A Recap You should follow the Symfony code...

Sismo Challenge: Results

Sismo Challenge: Results
We recently wrapped up the first Ibuildings Challenge of 2012; a contest to create a Sismo notifier. At the moment Sismo ships with Growl, DBus, Google Talk and XMPP notifiers. They all extend the Sismo\Notifier to provide feedback to developers in a particular way. The task was to create a new notifier that was useful, creative or inspiring. This post announces the winners and makes some observations based on the submissions we received. Contest Key Rules: A Recap You should follow the Symfony code...

Sismo Challenge: Results

Sismo Challenge: Results
We recently wrapped up the first Ibuildings Challenge of 2012; a contest to create a Sismo notifier. At the moment Sismo ships with Growl, DBus, Google Talk and XMPP notifiers. They all extend the Sismo\Notifier to provide feedback to developers in a particular way. The task was to create a new notifier that was useful, creative or inspiring. This post announces the winners and makes some observations based on the submissions we received. Contest Key Rules: A Recap You should follow the Symfony code...

Sismo Challenge: Results

Sismo Challenge: Results
We recently wrapped up the first Ibuildings Challenge of 2012; a contest to create a Sismo notifier. At the moment Sismo ships with Growl, DBus, Google Talk and XMPP notifiers. They all extend the Sismo\Notifier to provide feedback to developers in a particular way. The task was to create a new notifier that was useful, creative or inspiring. This post announces the winners and makes some observations based on the submissions we received. Contest Key Rules: A Recap You should follow the Symfony code...

And The Winners Area

And The Winners Area
Yesterday afternoon I used a random number generator to select three winners for The PHP Playbook. I'm excited to announce that the winners of the PHP Playbook are: PAter HalAsz of the United Kingdom Ashar Javed of Germany Tomasz Kowalczyk of Poland All three winners were excited to be told they had won. Tomasz said [...]

Hakre's Blog: Iterating over Multiple Iterators at Once

Hakre's Blog: Iterating over Multiple Iterators at Once
In a recent post to his blog Hakre looks at iterating over iterators (multiples all at once) using either the Append Iterator or the MultipleIterator.PHP's SPL has two build-in Iterators that deal with multiple iterators at once: AppendIterator and MultipleIterator. In this posting I'll cover both a bit.He gives some sample code for each - showing how to use the AppendIterator to combine multiple iterators into one set and using the MultipleIterator to attach (not append/merge into one set) multiple...

Lee Davis' Blog: In ORM's Defense

Lee Davis' Blog: In ORM's Defense
Lee Davis has a recent post that tries to combat some of the most common excuses people give for not using an ORM rather than opting to write the queries themselves. He writes in defense of the ORM and gives reasons why some of these common complaints may not matter that much.For some reason, as of late, I can't seem to attend any user group or conference without a speaker slating ORM's. Several speakers at the PHP UK Conference this year expressed their disapproval, as well as the speaker at this months...

Dynamic Toolbar Menus with ExtJS + PHP

Dynamic Toolbar Menus with ExtJS + PHP
In Ext JS 4 there's some handy things that come bundled with it (there's lots of stuff actually - it's a pretty large library). Recently, though, I needed to pull in navigation information from a remote source (JSON output from a PHP script). Thankfully, Ext still made this pretty easy with its Toolbar and Menu components with their listeners. Here's my example code: Ext.create('Ext.toolbar.Toolbar', { floating: false, id: 'menuToolbar', cls: 'appMenu', height: 30, items: [], // dynamically built...

Chris Hartjes' Blog: Build PHP 5.4 on CentOS With Vagrant

Chris Hartjes' Blog: Build PHP 5.4 on CentOS With Vagrant
In a new post to his blog Chris Hartjes shows you how to get PHP 5.4 installed on a CentOS machine (virtual machine) with the help of Vagrant.I like the idea of using Vagrant to create virtual machines for my development work. Doing things this way I think keeps the host machine cleaner and allows you the ability to distribute those VM's to other people as well. My old boss Ben Ramsey did a very informative post on getting PHP 5.4 configured on CentOS so I decided to one-up him by taking his instructions...

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox
Rafael Dohms has a new post sharing the results of one of his recent struggles - getting a Symfony2 application deployed to the PagodaBox service using Composer to manage the packages. In the post he details each step of the process.I have been working on a little pet project and wanted to put it up somewhere to show to a few people how it was going. I wanted something really simple so I decided to give the PHP PaaS solutions a try. Its a very simple Symfony 2.1 based app using Composer for vendor...

GlobIterator: Easy access to specific files

GlobIterator: Easy access to specific files
For a project I am working on I needed to iterate over all .xml files in a specific directory. I started out with a DirectoryIterator, then considered I didn't want the XML filtering to take place inside my foreach loop. I decided to add a FilterIterator to the setup, but then felt this was not the right solution either. So I turned to my favorite SPL guru, Joshua Thijssen, to see if I was overseeing some kind of filter-option in the DirectoryIterator. I didn't, but I did oversee something else:...

PHPMaster.com: Giving Your First PHP Presentation

PHPMaster.com: Giving Your First PHP Presentation
In this recent post from PHPMaster.com Aaron Saray gives a few helpful hints (and reasons to speak) for the aspiring presenters out there wanting to give their first talk at a PHP (or any technology-related) conference.Your heart begins to race. Suddenly, it's stifling hot in here. Your palms begin to sweat and your knees are threatening to give up and flee to a vacation in Cancun without you. The dull rhythmic thump-thump in your ears heightens to a frenzied jack-hammer. You can't remember a time when...

Triangle Startup Weekend 2nd place winner here!

Triangle Startup Weekend 2nd place winner here!
I've not been to a startup weekend in at least a couple years (2009?A 2008?).A The format's similar, but the process is (mostly) more polished than it was back then.A Given that, I still wasn't sure what to expect on Friday evening.A I had an idea I considered pitching, but held off for two reasons.A 1 - there were 58 other pitches - everyone got tired towards the end.A 2 - I wanted to contribute on something besides my own ideas.A That was actually harder than I thought it might be.A Let me explaina...

Deploying a Symfony2 and Composer app on PagodaBox

Deploying a Symfony2 and Composer app on PagodaBox
I have been working on a little pet project and wanted to put it up somewhere to show to a few people how it was going. I wanted something really simple so I decided to give the PHP PaaS solutions a try. Its a very simple Symfony 2.1 based app using Composer for vendor management, so I went on a quest to see what could be done and how. I have always liked Orchestra, especially because I know the whole crew, but I was left stranded on how I could run the composer commands I needed after deploy. The...

Community News: Latest PEAR Releases for 04.16.2012

Community News: Latest PEAR Releases for 04.16.2012
Latest PEAR Releases: Image_Barcode2 0.2.1 Structures_DataGrid_DataSource_Excel 0.1.2 PEAR_RemoteInstaller 0.3.2 File_Archive 1.5.5 Validate_Finance 0.5.6 HTML_QuickForm_Livesearch 0.4.1 Validate_IS 0.3.1 MDB2_TableBrowser 0.1.3 MDB_QueryTool 1.2.3 pearweb 1.26.0 Archive_Tar 1.3.10 PEAR_PackageFileManager_Cli 0.4.0 DB_DataObject_FormBuilder 1.0.2 Services_Ebay 0.13.0 Auth_SASL2 0.1.0 Structures_DataGrid_DataSource_PDO 0.2.0 Science_Chemistry 1.1.2 HTML_Page2 0.6.3