Jump to:

23481 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Best practises for project organization (when developing many SS projects)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 383 Views
  • vwd
    Community Member
    158 Posts

    Best practises for project organization (when developing many SS projects) Link to this post


    As the number of SilverStripe projects that we are creating grows, we're continually looking to improve the way we work so as to not repeat ourselves (DRY principle) and propagate improvements and changes from one project across to others.


    • What best practises do you follow and how do you organize your SilverStripe projects so as to maximize code reuse, minimize repetition?
    • Do you find that you work from a single curated SilverStripe project 'boilerplate' (ie collection of commonly used modules + page types)? And just re-theme per project?
    • Or multiple blueprints depending on project type?
    • If you have common code between projects, do you prefer to create modules or widgets from them (if significant enough to warrant), or do you tend to stick to plain PHP code 'libraries'?
    • What development environment/setup do you use?

    What we've been doing lately

    • We've been using a single SS project 'boilerplate' (collection of commonly used modules + page types) which we use across projects. (Not all page types are used in all projects.)
    • We pull in the blueprint using hg subrepositories (similar to Piston and svn:externals) and nest a further subrepository for each new project's theme
    • Improvements, changes and new page types to boilerplate are pushed upstream to the 'boilerplate' repository
    • So far we've only been saving common code as PHP 'libraries'
    • We use Netbeans, hg, transitioning to Compass/Sass (not the SS-Compass module)

    Can you see any ways in which we can work smarter & improve our development process & speed?

    Interested in hearing your views.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.