Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

 

A new SilverStripe is coming

An alpha release for SilverStripe 4 is coming. Here's what you can expect!

Read post

We've been hard at work to get you to an alpha release of SilverStripe 4 very soon. The alpha release is a great opportunity to find out what is in store for SilverStripe 4 once it is released as stable later this year.

We’re still developing new features and working on new APIs, but here's what we’ve been working on for our first alpha release.

Complete rebuild of Files & Images section

Those of you who have used the KickAssets module are familiar with the improvements it makes to the user experience of managing files. The new AssetAdmin ("Files & Images") in SilverStripe 4 was heavily influenced by its features and design. Expect it to include most of the features of KickAssets, and a few more.

files look

TinyMCE 4, Meet SilverStripe 4.

We're a bit late getting to the party on this one, but it sure is nice to see a massive improvement to this lynchpin of the CMS.

tinymce4

Files are first-class citizens

Files can be previewed and published, just like pages now, and they're protected by default.

save publish

Introducing Campaigns

Campaigns are sets of changes to one or many bodies of content that can be published all at once.

Screenshot 2016 03 24 15.09.01

campaign preview C4 view item copy

Filesystem abstraction. It's a thing.

For as long as we can all remember, files and images have been handled in a singular way in SilverStripe. We have a table in the database that reflects the metadata of files in a public folder of the web server. This has worked great for a long time, but it doesn't scale well, and when you want to use cloud storage or a CDN, implementation can be tedious, if not hacky.

In SilverStripe 4, we're deprecating the old $has_one relationships to File and creating the AssetContainer interface, which allows you to store file references in the native $db array. These file references are agnostic to where the files actually live, and makes their retrieval and/or processing a simple implementation detail. The traditional approach of using the File table will now become a database fieldtype known as DBFile. Expect to see more options coming down the track, for instance S3File. Further, assets are persisted using the acclaimed Flysystem package.

Brace yourselves. Alpha is coming.

Keep your eyes open in the coming weeks when we'll deliver an alpha release for you. The announcement will be made on our blog, so click the Subscribe button below to go into our blog list and be the first to know!

 

About the author
Aaron Carlino

Aaron Carlino, better known by his whimsical pseudonym Uncle Cheese has been an active member of the SilverStripe community since 2007, and has never looked back. In that time, he has established himself as a support resource, mentor, and contributor of some of the framework's most popular open source modules.

Post your comment

Comments

  • Woah. Image previews in your media assets library?

    Hello 2010!

    Keep building up the basics! Nice work

    Posted by Jason, 06/05/2016 8:10pm (3 years ago)

  • Hey guys, awesome news and we look forward to working with 4!

    Posted by Vanessa, 05/05/2016 2:03pm (3 years ago)

  • Great job guys. Looking great!

    Posted by Rob, 05/05/2016 12:10pm (3 years ago)

  • Cant't wait!

    Posted by Sam, 30/04/2016 1:03am (3 years ago)

  • Great write up - any updates from the code perspective? I.e. I know you're considering moving to PSR-2 and *hopefully* implementing namespacing to make extending things easier...?

    Posted by Robbie, 29/04/2016 6:21pm (3 years ago)

  • I'm looking forward to getting my hands on this and playing! At the start of this year, I wrote a bunch of custom filesystem abstraction stuff for a project that needed to store files in Amazon S3; it would have been so much easier with the new system!

    Let's hope the alpha stage is short and successful :-)

    Posted by Tim, 20/04/2016 8:48pm (3 years ago)

  • Awesome stuff guys. Looking good!

    Posted by Will, 19/04/2016 4:44pm (3 years ago)

  • Whoa this is super exciting and thanks for the update. It's especially great to see the change you're making to how files are managed. I didn't even know about KickAssets, is the demo still available? (link seems to be broken).

    Posted by Andy, 18/04/2016 4:36pm (3 years ago)

  • Looking great, you guys! These are all really positive and sensible changes. I'm digging the fresh new CMS interface as well. TinyMCE 4 is considered to be responsive, right? Does that mean the SS4 CMS interface is being developed with tablet users in mind, or are you targeting solely the desktop?

    Posted by Colin, 18/04/2016 3:45pm (3 years ago)

RSS feed for comments on this page | RSS feed for all comments

Like what you have read?

Sign up for our weekly blog digest sent to your inbox.

Subscribe