A set of utilities for making SS perform a little better
PHP
Latest commit 2c9d257 Mar 7, 2016 Marcus Nyeholt FIX Exclude the specific entry of the Site object
Permalink
Failed to load latest commit information.
_config Initial commit Jan 25, 2016
code FIX Exclude the specific entry of the Site object Mar 7, 2016
LICENSE Initial commit Jan 25, 2016
composer.json Initial commit Jan 25, 2016
readme.md Initial commit Jan 25, 2016

readme.md

SilverStripe Performant

A module for pre-calculating a load of data about your page structure to greatly speed up things like menu generation.

Avoids the costly recursive tree lookups that things like Children, Link, Parent can trigger, but still applies a level of permission checking, and respects ShowInMenus settings.

Maintainer Contact

Marcus Nyeholt

Requirements

  • SilverStripe 3.x

Documentation

With a reference to the SiteDataService, you can access

  • getItem() - a DataObjectNode object
  • getItems() - all page objects

DataObjectNode provides a partial API implementation for accessing methods typically found on SiteTree, but where the items returned are DataObjectNodes looked up via the pre-cached data in SiteDataService