开发者

Pointers for getting started with SilverStripe modules

I am new to SilverStri开发者_如何学Pythonpe.

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


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.


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.


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/


If you're still unsure, I can recomment the book "SilverStripe 2.4 Module Extension, Themes, and Widgets: Beginner's Guide" - targeting the current SilverStripe version.

Disclaimer: I'm the author of the book, but given the title it should fit your requirements well...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜