silverstripe

Topics related to silverstripe:

Getting started with silverstripe

Silverstripe is an open source PHP content management system. A developer might want to use it because

  • BSD License - meaning it can be rebranded as your own application
  • Clean Object Oriented code very easy to understand and use - along with extend and customise
  • Simple and powerful template engine making themes very easy to create

It can use most databases, primarily MySQL

Using the ORM

DataExtensions

The autoloader

When you make any changes to the classes then you need to run a dev/build?flush=1 to rebuild the manifest.

ModelAdmin

Forms

Add Ons and Modules

The Config System

What is the config system

SilverStripe uses a global config system to store settings for classes and the application. These config variables can be used to define the structure of Models, security settings on Controllers or API keys for third party services.

How it works

Config values are populated by the SS_ConfigStaticManifest during a dev/build and cache flush (appending ?flush to any URL`) or on first ever run of the application code.

The SS_ConfigStaticManifest will scan all PHP classes and YAML config files for any config values and build a cache of these values.

When making change to Config settings via YAML or private static variables, you'll need to flush the cache for these changes to take effect.

LeftAndMain