Articles

Archive - Feeds: Atom RSS
  • Practical Uses for the PHP Tokenizer

    In this article we take a look at the PHP tokenizer and its potential at analyzing and processing PHP source code. We will build several working examples, which you can start using and extending for your own purposes.
    Written by Stan Vassilev on 2008-08-19
  • Handling Images with PHP

    If you want user interaction on your website then you probably accept the upload of some media, including images. Within PHP there are two different libraries available that provide functionality for handling images, GD and the Imagick extension. This article takes a brief look at each of these libraries.
    Written by Scott MacVicar on 2008-07-07
  • A Hashing Primer

    A common task for any authentication system is to store and retrieve passwords. Doing this securely is key to building a system that is not only stable, but relatively safe in the event that it ever becomes unstable and allows potential attackers to view stored account information. Passwords should never (or rarely) be stored as plaintext: this is where one-way cryptographic hashing can save the day—or at least save plenty of difficult work.
    Written by Sean Coates on 2008-06-23
  • Optimizing with APC

    Opcode caches save energy, expenses, improve overall user experience on web sites, and it's often one of the simplest optimizations to implement. This article will explain the basics of installing, configuring, and tuning an opcode cache for PHP, the Alternative PHP Cache (APC).
    Written by Brian Shire, shire@php.net on 2008-05-27
  • REST and Resource Handling with CakePHP

    In the previous article in this series, we learned how the CakePHP routing system handles URLs and interacts with your application in order to dispatch requests to the proper controller action. In the first article of the series, we saw how the Router's features could be combined with other classes in the framework (the , for example) to enable things like unifying the handling of different resource types.We're going to take these concepts further and add a new one: REST.
    Written by Nate Abele on 2008-05-14

News

Archive - Feeds: Atom RSS