Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pointers for getting started with SilverStripe modules

Tags:

silverstripe

I am new to SilverStripe.

I would like to know a good place where I can start making modules for SilverStripe; some good tutorials to get me started.

like image 991
DragonPrince Avatar asked Nov 08 '10 12:11

DragonPrince


3 Answers

A SilverStripe module can do practically anything, so it's hard to say where to get started.

The following Wiki page has some very basic startup information:

  • SilverStripe Wiki - Creating Modules

Beyond that, I'd recommend reading up on how to use ModelAdmin to create simple administration interfaces in the CMS, and maybe take a good look through the API Docs to get an idea of what is available to use.

However, there is nothing fundamentally different about modules as there is about any other site functionality (or even themes) - it all uses the same API and structure - so maybe download a few popular modules to see how they're built.

Finally, SSBits is also a particularly good tips & tutorials website for SilverStripe, and the SilverStripe Forum and IRC channel are useful too.

like image 135
Hamish Avatar answered Oct 07 '22 22:10

Hamish


I recommend the SilverStripe book "The Complete Guide to CMS Development", you can find it at Amazon or view it online at Google Books, it is not a complete reference but a good start to module development. It has many examples, using a complete example project (with downloadable code) and some additional recipes for frequent tasks.

like image 24
Fabian Schmengler Avatar answered Oct 07 '22 23:10

Fabian Schmengler


Here are some more up-to-date resources...

Module structure:

http://docs.silverstripe.org/en/developer_guides/extending/modules/

Publishing modules:

http://docs.silverstripe.org/en/developer_guides/extending/how_tos/publish_a_module/

SilverStripe video lessons:

http://www.silverstripe.org/learn/lessons/

like image 41
flashbackzoo Avatar answered Oct 07 '22 23:10

flashbackzoo