On 03/13/2010 05:37 AM, Evan Prodromou wrote:
The functionality in this library has been moved to classes/Subscription.php.

In general, we want to move procedural interface libraries to object libraries.

There are two wrappers left in lib/subs.php. Don't use them in new code; replace them in old code if you see them.

Yay!

For those not in the know, one of the handy things about using the object interfaces is that the class autoloader will load up necessary class definitions on demand. That means we don't have to manually strew 'require_once' calls around, which keeps code simpler and more predictable.

This also reminds me, it's getting about time to make sure we've got an up-to-date documentation tree built from doc comments (also nicer when using the OO interfaces, since they're factored together more clearly). I'll see about getting that set up in the next few days...

-- brion
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to