I have been learning to code for a few years now, just in bits and pieces, through university classes, events, and self-study (mostly online). I feel comfortable writing HTML and CSS, and have been working on learning how to make complete web applications, using Ruby on Rails and dabbling in SQL and C#. I’ve also played around with other languages online including PHP so I was quite excited about the opportunity to learn some SilverStripe, to see what it is like and what it’s great for, and to start building some cool things!
The first thing I really started to notice about SilverStripe is how similar it is to rails, which made me happy because I love rails, and it’s what I have the most experience with. SilverStripe is a framework just like rails, except that instead of being based on Ruby, it is a framework for PHP. Both use the MVC structure and I found that the SilverStripe structure sort of made sense to me after doing some work with rails. It was great to start working in a project and already have a feel for where different parts of the code go, and what different folders might be designed for.
Update 9 April 2014: Stable version of 3.1.4 and 3.0.10 are now avilable from our downloads.
Out now are two new release candidates for users to try out. 3.0.10-rc1 and 3.1.4-rc1 each contain recent patches to combat recently discovered security issues, which you can read more about on our security releases page. While these are not critical issues, it’s still important to be aware of changes that could affect you or users of your website.
On the client-side we have a simple AngularJS application. This manipulates product data and handles user interactions. On the backend, we’ve got a SilverStripe ModelAdmin, Controller, and a custom page type. These are all brought together with AngularJS enhanced SilverStripe templates.
Videos from the March 5th, 2014 Wellington SilverStripe developer community meetups are up on our vimeo video knowldge-base, well worth a watch!
Since the talks got a bit technical, it will be good to rewatch (if you came along that night) and absorb the material again. Check them out for the first time if you didn't make it (or are on the other side of the globe). Ingo's and Stig's presentation slides are also available.
Slides: Ingo Schommer - Pagetypeitis: Antipatterns and solutions for SilverStripe page types
Slides: Stig Lindqvist - Dependancy Injection
Check out the videos...
noun [ mass noun ] the practice of exchanging things with others for mutual benefit, especially privileges granted by one country or organisation to another.
We have a ritual in the Andean countries of Latin America which is quite similar in form and purpose to something that happens at our SilverStripe meetups; the partaking of fermented beverages (beer, wine, something stronger). In the Andes our fermented beverage of choice is "chicha".
We are heading ever closer to an official SilverStripe 3.1.3 stable release. Yay!
As the release process goes we have recently rolled out release candidates rc1 and rc2 for you to download and try out. The release candidate process gives us a change to stablise the codebase, fix any obvious (or not so obvious) bugs and generally ensure that by the time the next stable version is available you can be sure that deploying it on your websites is a painless as possible.
Certain tags are stripped out when saving in the rich text field, this can pose a problem in some cases. For example embedding a video in the rich text editor that has markup containing VideoObject schema meta data to help search engines better index videos content.
It's well known that out of the box Content Management Systems (CMS) are often not the most high performance of systems. A vanilla installation of SilverStripe is no exception. Luckily, there are some useful tactics you can use to improve performance of your SilverStripe websites. This involves some built in features of SilverStripe itself, along with some infrastructural considerations. It all depends on your customer needs and the level of performance you require.
Very few shared hosting providers are able to cope with the requirements of a high performing SilverStripe site (or any standard CMS usually). This is because they can have hundreds if not thousands of other websites all running on the same server. This leaves very few resources and will affect your site performance once the traffic builds up. Simply moving to a Virtual Private Server (VPS) will greatly benefit your site. Personally, I tend to use RimuHosting (for New Zealand sites) though pretty much any decent host will do.
Image cropping in SilverStripe is pretty minimalistic. You don't crop images at all inside the CMS, you can however crop images in the SilverStripe template engine. As a SilverStripe template designer you can use the $CroppedImage(width,height) tag (among other image resizing methods) to ensure that your beautiful design isn't ruined by an image that is too tall or wide for a particular purpose or UI.
That's great, but the challenge is that content authors have no control over how these images are cropped. When they select an image in the CMS, $CroppedImage trims it evenly starting from the centre of the image outwards, and the subject of the image can often be clipped or lost completely if your image composition is off-centre as you can see below.
Another successful SilverStripe Meetup was held at the new SilverStripe Auckland, New Zealand offices last week (15th Jan 2014). An office warming party! There was a great turn out with SilverStripe developer regulars, new faces and those interested to learn more about our SilverStripe open-source project. Following the usual format we had a couple of speakers share their SilverStripe knowledge (including myself) and as always we captured the knowledge in full audio-visual awesomeness.
So if you didn't end up making it along, or you are perhaps based overseas... fear not, we have you covered, read on.