ajax

Reduced Drupal bootstrap for better performance

Submitted by Jitesh Doshi on Fri, 11/02/2012 - 18:39

Did you know you can use Drupal in your custom PHP scripts, outside of modules? Possibly. But did you know that you can make your scripts much faster by reducing Drupal's bootstrap levein your scripts? Read on to see how.

The following script reads the first 20 nids (node-ids) from your Drupal database.

Subscribe to ajax