Submitted by Darren on Tue, 14/10/2008 - 11:15
Still porting everything to Drupal 6 at the moment, but might as well be looking forward to Drupal 7. Some of the cool features to look forward to, as taken from the guide to converting modules from Drupal 6 to Drupal 7:
- Code registry that auto loads only the required code for the current page request.
- Completely new database API with new builder functions that reduce the need to write SQL code - a common source of bugs and security holes
- use of REQUEST_TIME rather than time(). I've been doing this for a while in my non-Drupal code - so good to see it coming to Drupal. It's just a simple change that improves code performance, simply read the REQUEST_TIME field from the $_REQUEST global rather than making a system call to find the current time() whenever you need to do something with time.







Post new comment