Jump to content

Silverstripe CMS: Difference between revisions

From IdeaWazaWiki
Added Object Oriented Design Section
Added Stability and Code Quality section
Line 31: Line 31:
In addition, at least two confused [[Design Pattern]] implementation have been identified: the singleton() method, which is not an an implementation of the [[Singleton pattern]] (but more like a global [http://www.martinfowler.com/eaaCatalog/registry.html Registry]), and Object "decorators". These are not, as the SilverStripe documentation [http://doc.silverstripe.org/doku.php?id=dataobjectdecorator claims], an implementation of the [[Decorator pattern]].
In addition, at least two confused [[Design Pattern]] implementation have been identified: the singleton() method, which is not an an implementation of the [[Singleton pattern]] (but more like a global [http://www.martinfowler.com/eaaCatalog/registry.html Registry]), and Object "decorators". These are not, as the SilverStripe documentation [http://doc.silverstripe.org/doku.php?id=dataobjectdecorator claims], an implementation of the [[Decorator pattern]].


== Stability and Code Quality ==
Aside from issues inherent to the design choices made by the SilverStripe, some confusion exist with SilverStripe developers over when something is stable. The ModelAdmin component, part of the SilverStripe core, went from [http://open.silverstripe.com/ticket/2912 alpha at SilverStripe 2.3 RC1] to being included in the "stable" 2.3 release, even though many issues still existed (such as lack of validation and issues with the search functionality), and tests for ModelAdmin were [http://open.silverstripe.com/changeset/63555 never completed].
The other prominent example is a component called "User Defined Form". While originally released as part of a stable SilverStripe version, it was later extracted as a separate module and [http://doc.silverstripe.com/doku.php?id=modules:userforms&s=user%20defined%20form considered] "beta quality code".


== History ==
== History ==

Revision as of 11:51, 29 May 2009

Template:Copyedit

SilverStripe
File:Silverstripe-logo.png
SilverStripe Administrative Panel
SilverStripe Administrative Panel

The SilverStripe administration panel
Developer:SilverStripe
Latest release:2.3.1 / Template:Release date
OS:Cross-platform
Use: Content management system
License:BSD Licence
Website: http://silverstripe.org

SilverStripe is a free and open source programming framework and content management system (CMS) for creating and maintaining websites. The CMS provides an intuitive web-based administration panel, allowing any person to maintain their website without knowledge of markup or programming languages.

SilverStripe contains a development framework known as Sapphire. It is written in PHP5. SilverStripe provides developers with control of the generated markup using a custom template language.

SilverStripe is released under the terms of the BSD Licence. Documentation is available for CMS users and website developers. A 450 page technical reference book on SilverStripe is available in German[1]. An English book is available for pre-orders, with publication scheduled for August 2009.[2] An online demonstration of the CMS is available as a video and as an interactive demo.

Object Oriented Design

SilverStripe uses a number of Anti-patterns and bad design practices, limiting the flexibility and maintainability. Some of the identified issues are:

  • Bad encapsulation, objects do too much (see God object)
  • Bad information hiding, too many public properties (see Object orgy)
  • Overuse of PHP's Magic Methods and otherwise unclear execution flow (see Spaghetti code)
  • Static Coupling (littered with public static properties, extensions are statically coupled)

In addition, at least two confused Design Pattern implementation have been identified: the singleton() method, which is not an an implementation of the Singleton pattern (but more like a global Registry), and Object "decorators". These are not, as the SilverStripe documentation claims, an implementation of the Decorator pattern.

Stability and Code Quality

Aside from issues inherent to the design choices made by the SilverStripe, some confusion exist with SilverStripe developers over when something is stable. The ModelAdmin component, part of the SilverStripe core, went from alpha at SilverStripe 2.3 RC1 to being included in the "stable" 2.3 release, even though many issues still existed (such as lack of validation and issues with the search functionality), and tests for ModelAdmin were never completed.

The other prominent example is a component called "User Defined Form". While originally released as part of a stable SilverStripe version, it was later extracted as a separate module and considered "beta quality code".

History

Prior to SilverStripe 2.x, the CMS was commercially available under a proprietary license. Development efforts for SilverStripe 2.X started in late 2005, as a complete overhaul to take advantage of object orientation and new features in PHP5. On 3 February 2007, SilverStripe 2.0.0 was released publicly as free and open source software[3].

Motivations and reasoning for moving towards an open source development model were the anticipated results of greater exposure, higher quality code and community contributions[4][5].

In March 2007, SilverStripe was selected for the Google Summer of Code programme[6]. The contributions of the students who participated in the programme ultimately resulted in the 2.2 release of SilverStripe[7].

On 29 November 2007, SilverStripe announced they would be participating in the Google Highly Open Participation (GHOP) contest[8]. This led to a proliferation of themes, translations and widgets that broadened the system.

In late 2008, SilverStripe split its main website into silverstripe.com, to act as the home for the company behind the software, and silverstripe.org, to act as the home for the software and its open source community.[9]. In April 2009, SilverStripe claimed the software had been downloaded 150,000 times since first released.[10]

Features and Add-ons

Default website theme in SilverStripe 2.2

Notable features include multiple methods of organising navigation through folksonomy, a rich web-application interface featuring drag and drop and other AJAX metaphors, flexible data object model, automatic generation of its database schema through inspecting the PHP data object model, multiple templates per page, a separate "Draft site" and "Published site" through staging content, asset management, image resizing, versioning control, search engine friendly URLs with meta-data, automatic sitemap generation, full text search and RSS feeds. SilverStripe supports UTF-8 and the internationalisation of character sets; the CMS is available in many languages, including English, French, German, Spanish, and Chinese.

Modules, Widgets, and Themes

The highly modular nature of SilverStripe has resulted in the creation of numerous pre-built modules that extend the core functionality of the CMS. Modules range from providing blog, ecommerce, and forum functionality, to LDAP and OpenID authentication. Modules are available from the SilverStripe modules repository.

SilverStripe Widgets are small pieces of useful functionality that can be instantly dragged and dropped into a website, for instance tag clouds, flickr photos, or word of the day.

The SilverStripe themes directory provides a number of community-contributed, freely available themes; providing developers and website owners with the capability to instantly modify the aesthetics of their SilverStripe website.

Modules, Widgets, and Themes are all available as free downloads under the BSD license, and the majority of them are community contributed.

Software Requirements

SilverStripe is a web application, requiring a compatible HTTP server and SQL database. As of version 2.3.0 (23 February, 2008), the requirements for SilverStripe are as follows [11]:

SilverStripe can be conveniently installed on Windows using Microsoft's Web Platform Installer. It can also be installed by downloading the code as a tarball or from subversion and manually installing it on a Linux or Windows based webserver. These techniques are explained at the SilverStripe download page.

Prominent Websites running SilverStripe

Thousands of websites ranging from blogs through to corporate and government websites are built using SilverStripe, including:

The SilverStripe Community Showcase contains several hundred websites uploaded by developers from around the world.

Press and the Media

SilverStripe has received considerable attention of the press since its debut in 2007. A consolidated lists of reviews, articles and awards have been formulated below.

Reviews and Articles

Awards

  • Winner Packtpub Most Promising CMS Award 2008, $2000 prize.
  • Winner in New Zealand Open Source Awards for October 2008
  • Most promising finalists in the 2007 Open Source CMS Awards
  • Finalists in the New Zealand Open Source Awards for October 2007

References

  1. ↑ "SilverStripe - Das umfassende Handbuch (450 page book about SilverStripe, in German)". 2009-02-25. http://www.galileocomputing.de/1929?GPP=silverstripe. Retrieved on 2009-02-025. 
  2. ↑ "English book coming August 2009. Preorders open. (Blog post)". 2009-04-28. http://www.silverstripe.org/english-book-coming-august-pre-orders-open/. Retrieved on 2009-04-028. 
  3. ↑ "SilverStripe 2.0.0 released - no more betas!". 2007-02-03. http://www.silverstripe.com/silverstripe-2-0-0-released-no-more-betas/. Retrieved on 2007-12-09. 
  4. ↑ "How to build a business in Hobbit Land - the Silverstripe example". 2007-10-25. http://blogs.cnet.com/8301-13505_1-9804647-16.html. Retrieved on 2007-12-09. 
  5. ↑ "Close Up Open Source challenge". 2007-05-01. http://tvnz.co.nz/view/page/413551/1092939. Retrieved on 2007-12-09. 
  6. ↑ "Kiwi firm Silverstripe joins Google's Summer of Code (GSoC)". 2007-03-23. http://m-net.net.nz/1531/online-development/case-studies/kiwi-firm-silverstripe-joins-google-s-summer-of.php. Retrieved on 2007-12-09. 
  7. ↑ "SilverStripe 2.2 released! Redesigned interface and double the features...". 2007-11-02. http://silverstripe.com/silverstripe-2-2-released-redesigned-interface-and-double-the-features/. Retrieved on 2007-12-09. 
  8. ↑ "Highschoolers! Add Google to your CV!". 2007-11-29. http://silverstripe.com/highschoolers-add-google-to-your-cv/. Retrieved on 2007-12-09. 
  9. ↑ "New silverstripe.org for developers!". 2008-12-15. http://silverstripe.org/new-org-for-developers/. Retrieved on 2008-12-15. 
  10. ↑ {{cite web=2009-04-03 |title=150,000 downloads reached|url=http://www.silverstripe.org/150000-downloads/%7Caccessdate=2009-04-03 }}
  11. ↑ "SilverStripe server requirements". 2007-12-05. http://doc.silverstripe.com/doku.php?id=server-requirements. Retrieved on 2007-12-08. 

SilverStripe related:

Template:Application frameworks

de:SilverStripe pl:SilverStripe