Ruslan Yakushev has a new post to his blog today with details on the latest release of the WinCache caching tool from Microsoft, version 1.1.Today IIS team has published the final release of WinCache Extension 1.1 for PHP. This is the latest stable and production ready version of the extension. The v1.1 has all the features available in version 1.0 plus [other] features.These other features include:
user cache APIs that can directly be used by PHP applications
a WinCache session handler
New on his blog today Matthew Turland has posted about a "gotcha" he came across when working with cURL to pull down information (scrape content) from a remote .NET application.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...
Quick idea I had the other day. Session ID tokens are typically short strings of seemingly random characters. While they don't typically change all that much during a session, it's good practice to change the session ID every so often to help prevent against security attacks. If someone was to periodically change the session ID, and hide a short message in the ID values such that, when strung together, the message could be extracted, would that be a useful way of transmitting data in a hidden manner? I'm...
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
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...
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...
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...
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...
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...
Today IIS team has published the final release of WinCache Extension 1.1 for PHP. This is the latest stable and production ready version of the extension. The v1.1 has all the features available in version 1.0 plus the following features.
User Cache API's can be used by PHP scripts to store PHP objects and variables in shared memory. This way PHP scripts may improve the execution speed by storing processed data in the cache and then using it in subsequent requests instead of re-creating the data on...
In a recent post from Eric Adams, he shows how to use the SplObserver and SplSubject components of the Standard PHP Library (SPL) to make an implementation of the observer pattern for more reusable code.As PHP applications grow into complex object-oriented systems, developers look to create centralized components to execute repetitive tasks. These include logging, emailing, redirects, and more. The Observer pattern is a commonly used design pattern to hook such components into an application during...
Fawad Hassan has posted the second part of his CodeIgniter and jQuery tutorial series about creating a simple CRUD (create, read, update, delete) interface using these simple but powerful technologies. This is a continuation from this first part of the series.In this second part you'll learn how to:put in an Ajax loader image as the requests are made,
make update and delete calls to you backend and
how to use jQuery's delegate method to bind events.
You can grab the source of the examples to get started...
Dougal Campbell has posted a review of a book targeted towards both WordPress beginners and pros - "Digging Into WordPress" by Chris Coyier and Jeff Starr.I spent some time looking over it, And wanted to share my impressions. If you're in a hurry and just want the 5-second review: It's good, and it's got something for beginners and experts alike. If you want a more in-depth look, then please read on.The book weighs in at 400 pages and eleven chapters covering all sorts of topics like themeing, security,...
In a new post to his blog Kevin Schroeder takes a look at how Zend Server and Zend Server Cluster Manager can fit together to help make maintaining your multiple-machine web server cluster simpler.PHP is designed using a shared-nothing architecture. [...] That's great! It makes for a very stable, very easy to use architecture. But what happens when you go beyond one server? [...] Managing a hundred servers is quite different from managing one. Heck, managing three servers is different from managing...
New on his blog today Rohit Chauhan shares some handy shortcuts for the PHP developers out there using Eclipse as their IDE to help make their work even faster.He's made a few other posts and this follows along with the theme with tips on:
Adding files to a SVN project through the interface
Pushing changes to your version control system
Synchronizing data from your repository
and a few shortcuts that can make small things simpler - jumping to a line number, find last edit location, moving through open...
HTML to Array
HTML 5 video and audio converter class
Error Logger Class
Flexible pagination class
Because of a recent addition to the the Gentoo PHP package (FPM support) they're looking for people to test it out and report back the results. To help, Ole Markus has written up some instructions on how to get it up and working on your system with nginx.PHP just added the FPM patch to their 5.3 branch, making it likely that PHP 5.3.3 will support the FPM SAPI. The FPM SAPI is an improved fcgi SAPI that allows for more advanced configuration than the original fcgi SAPI. One of the most useful features is...
On the Codrops blog there's a recent tutorial posted showing how to create a fully-functional image slider/viewer with a combination of HTML, jQuery and a bit of PHP (here's a demo).In this tutorial we are going to create another full page image gallery with a nice thumbnail area that scrolls automatically when moving the mouse. The idea is to allow the user to slightly zoom into the picture by clicking on it. The thumbnails bar slides down and the image resizes according to the screen size.Based on this...
In a recent post to the FinalConcept blog there's a helpful hint for Symfony developers looking to be rid of a pesky "unexpected form field" error that might pop up - finxing it with a validator.In this use case we have an exiting model that describes an Article. We want to be able edit the Article and have the option to send and email to an address defined in a text box. However we don't want the email field to be bound to the form and we dont want to add the email address to the Article.The trick is to...
On the Linode Library there's a recent tutorial posted about deploying Drupal sites (high performance ones) out to production server with the help of Project Mercury StackScript Linode offers.This high performance Drupal system is based on the work of Project Mercury. Project Mercury aims to increase the performance and ability of Drupal powered websites to respond to increased load. This document leverages the same collection of popular open source tools including the Varnish Accelerating Proxy, the APC...
Latest PHP Tweets