Enabling autosave in EE2 BETA

expressionengine, hints

One of the great new features that have been implemented in the EE2 BETA is autosaving. With autosaving enabled and the publish page open, the system will repeatedly save the current post you're working on, so if the unforgivable happens and you loose your post, you can get it back from the autosave feature. Unfortunately, in 2.0, autosave isn't enabled by default, but it's easy enough to do.

Read more »

PHP5.3’s ?: expression

hints, php

I was digging through the PHP5.3 release info and came across a really neat little expression. It’s a simplified version of the “() ? : ;” expression, a handy little expression to use in variable assignment. The way this expression works is as follows:

Read more »

Screen Scraping with PHP

hints, php

There are quite a few good screen scraping libraries available for PHP apps so that you can pull and parse a page, search for specific elements, enter data into and post forms et cetera, but if you just need to do a bit of screen-scraping work and you don’t need an entire library (or don’t want the additional overhead of another file to load), PHP has a few handy tricks up its sleeve to make this really easy.

Read more »

Forking CodeIgniter on BitBucket

codeigniter, edge ci, hints

CodeIgniter 2 is available (in development) on BitBucket, and because of that, it’s ready for you to fork and work on. The EllisLab people are usually pretty good with answering pull requests and feature additions, and the most likely way of them accepting any proposals is for you to dive in and get coding. I thought I’d put together a quick guide on forking CodeIgniter.

Read more »