Redux: Compressing PHP source code
Earlier this month I posted a short example of a compressor I was working on for QueryPath. I received a couple of very helpful comments that pointed to a PHP built-in library that I didn't know about: tokenizer.
The tokenizer is just what I needed. It parses arrays of PHP code and returns arrays...
Mac: Tabbing through all form fields
By default, the Mac OS X behavior for tabbing through form fields is different than that of Windows and Linux. Instead of tabbing through all fields in a form, the default Mac behavior is to skip only between lists, text fields and text areas. Buttons and checkboxes are skipped. However, this behavior...
Amplify Module and TweetyPants.com on TechCrunchIT
QueryPath 2.0 Alpha 2
QueryPath Alpha 2 is now available.
The following major changes were made in Alpha 2:
- The QueryPathImpl class has been re-named QueryPath. The QueryPath interface has been removed.
- The file QueryPathImpl.php has been merged with the file QueryPath.php, and the interface has been removed from QueryPath...
How to Access OpenAmplify from QueryPath
I've written a handful of tools that make use of the OpenAmplify web service. In all cases, I've used QueryPath to retrieve the XML from the remote server and then work with it locally. In this short article, I will explain how QueryPath can be used to retrieve content from OpenAmplify's web service...
Compressing PHP source code
I've long been toying with the idea of creating a PHP compressor that would combine multiple source files, remove comments, and minimize whitespace. The point of such a compressor isn't obfuscation, but just minimizing code space for libraries. (Hypothetically, it should cut down on runtime... but...
Reading ODT Files with QueryPath
One of the most popular word processing document formats is the ODT (Open Document Text) format, supported natively by OpenOffice.org, and supported as an export format for other major word processors, including Microsoft Office.
An ODT document is actually a ZIP archive composed of several files...
Presentations from Drupal Camp Wisconsin
QueryPath 2.0 Alpha 1
QueryPath 2.0 Alpha 1 has been released. You can grab a copy for testing from the download page.
This new version adds some new methods, adds a few of the straggling CSS 3 Selectors, provides a new object for global configuration, and employs new (faster) internal data structures. You should notice...
QueryPath 1.3 module released, now has an XML cache
The QueryPath module, version 1.3 is now available. This release adds a new submodule called QP Cache.
QP Cache is a cache system optimized for XML storage. It supports keys of arbitrary type and length (objects, strings, arrays) as well as fuzzy expiration dates ("2 weeks"). Cache lookups are...