PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Creating Zend_Tool Providers

When I was at Symfony Live this past February, I assisted Stefan Koopmanschap in a full-day workshop on integrating Zend Framework in Symfony applications. During that workshop, Stefan demonstrated creating Symfony "tasks". These are classes that tie in to the Symfony command-line tooling -- basically allowing you to tie in to the CLI tool in order to create cronjobs, migration scripts, etc. Of course, Zend Framework has an analogue to Symfony tasks in the Zend_Tool component's "providers"....

web2project v2.0 Release Notes

web2project v2.0 Release Notes
As of 29 June 2010, web2project v2.0 is officially released! You can download it from SourceForge now. Although this release had lots of bug fixes, the primary focus was on a few specific new features and major pieces of functionality. You can read the full v2.0 Release Notes, but in my opinion, the six most important items are: User-based Timezones: Everywhere a time is used or displayed within the system, it's now stored in GMT/UTC and presented in the user's local timezone. If you set a meeting for...

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:PHP & jQuery: Calendars Content with Style: Custom Zend Form Image Upload Element PHPFreaks.com: 10 Signs of Crappy PHP Software PEAR Blog: PHP 5.3 Windows and PEAR (go-pear.phar) PHP.net: PHP 5.3.0 Released! DevShed: Using the spl_autoload() Functions to Build Loader Apps in PHP Site News: Popular Posts for the Week of 07.03.2009 Vinu Thomas' Blog: Saving Data into Excel the Easy Way using PHP Ilia Alshanetsky's Blog: Type hinting for PHP...

Transforming end user queries to Solr

Transforming end user queries to Solr
A bit less than a year ago I last did a presentation about a telephone book application where we used SQL to do some fairly advanced filtering over about 30 tables of data. The app generated SQL statements that filled pages, the more terms the more pages, but on a 10k dataset it still came back within a few milliseconds, thanks to a ton of indexing and denormalization tricks (SQL Server is a lot more powerful here than MySQL) I had applied. Now in a more recent project I am dealing with 10M+ dataset...

Gotcha on Scraping .NET Applications with PHP and cURL

Gotcha on Scraping .NET Applications with PHP and cURL
Obligatory pitch: Many other useful tidbits like this can be yours by purchasing my book, php|architect's Guide to Web Scraping with PHP. I recently wrote a PHP script to scrape data from a .NET application. In the process of developing this script, I noticed something interesting that I thought I'd share. In this case, I was using the cURL extension, but the tip isn't necessarily specific to that. One thing my script did was submit a POST request to simulate a form submission. The code looked something...

Change Blindness and Zooming Out

Change Blindness and Zooming Out
Two weeks ago, I had the great honor of giving a keynote at the Dutch PHP Conference. Because I had never been to Amsterdam or to the Dutch PHP Conference, I was really excited to have a chance to speak there. It was also an opportunity to give my favorite talk to a new audience.On the morning of the keynote, I followed along with conference organizer Lorna Mitchell to the RAI Center where the conference was being held. As soon as I saw the stage, I smiled. Not only would I be able to stand on a stage...