Got 20 minutes? Get all the goods in a new screencast
In the latest screencast on SilverSmith, we’ll detail several new features including Translations, the Template Genius, and more. We’ll walk through the construction of a basic site and demonstrate several ways to create a data-driven, dynamic website easily using SilverSmith’s powerful code generation tools. We’ll also discuss plans for a release schedule!
Otherwise, here’s the run-down of what you need to know:
Translation Editor: i18n Made _t(‘Facile!’)
SilverSmith now features an integrated editor for managing all your translation files. A majority of this utility is a port from the LangEditor module I released earlier this year. With the Translation Editor, you can create new translation files, and search, filter, and modify existing translations. The best part is that the Translations Editor is fully integrated with the Design and Code views, allowing you to create translations from within your templates and code, and automatically add them to your language file in a single click! Quelle facilité !
Template Genius: No code? No problem.
Go ahead and add all the template variables and control blocks you want. Build the page you’re imagining, and don’t worry about the code. When you run the template through Template Genius, it will use a series of algorithms to make its best guess about how each variable should be represented in the database. It will confirm its findings with you, and when you click “Save and Build” you’ll have built out the PHP code for your page along with the appropriate YAML for the Project Builder. It couldn’t be easier!
Scope Awareness: Wherever you go, there you are.
Did I call it $StartDate or $DateStart?
Is it $Photo or $Image?
Regardless of where you are in your template, SilverSmith’s scope awareness will continuously update with every move of your cursor, letting you know what variables are available, so you don’t have to keep flipping over to your code. Further, in control blocks, SilverSmith will resolve the data relationship and show its available variables, and will even attempt to execute a custom function if the control block does not refer to a data relation. You’ll never get SilverStuck again.
Release Schedule: Right behind you, SS 3.0.
The most common question I’ve received about SilverSmith has been “When can I get my hands on this thing?” Today, I’m happy to finally be able to answer that question. The current plan is to follow the release schedule of SilverStripe 3.0, one cycle behind. That is, when SilverStripe 3.0 goes beta, SilverSmith will go alpha, and when SilverStripe 3.0 is stable, we’ll go beta.
The progress on SilverSmith has been a bit of feast-or-famine. It goes months without any updates, and then during weeks like this one, progress has been furious. I appreciate all of your patience and interest in SilverSmith!