Advanced Radiant
-
Upload
arrrrcamp -
Category
Technology
-
view
957 -
download
3
description
Transcript of Advanced Radiant
What you should also know about Radiant
Part I: ExtensionsPart II: Managing RadiantPart III: Coming up in 0.9
Simple and sweet
Family-tree analogy+ Radius
+ Radiant::Cache+ Page Parts and Layouts
+ some experience to really get it= super awesome CMS
Simple = sweet
but... what if I want it to do more?
Meet Extensions
• to allow comments
• to have asset management
• to organise multi-language sites
• to tag pages (as in tag clouds)
• to provide a searchbox
• ... and so on (over 300 extensions on github)
Creating your ownscript/generate extension arrrr
script/generate extension_model arrrr Pirate name:string ship_id:integer treasure_count:integer
script/generate extension_model arrrr Treasure name:string pirate_id:integer value:integer
script/generate extension_controller arrrr admin/pirates
Creating your ownscript/generate extension arrrr
script/generate extension_model arrrr Pirate name:string ship_id:integer treasure_count:integer
script/generate extension_model arrrr Treasure name:string pirate_id:integer value:integer
script/generate extension_controller arrrr admin/pirates
Creating your ownscript/generate extension arrrr
script/generate extension_model arrrr Pirate name:string ship_id:integer treasure_count:integer
script/generate extension_model arrrr Treasure name:string pirate_id:integer value:integer
script/generate extension_controller arrrr admin/pirates
Show ‘em how it’s done
• future_publishing
• wym_editor
• site_language
Radiant kickstart script
• Creates a new Radiant instance
• Makes it a git repository
• Creates a local development and test database
• Installs all your favorite extensions through Ray
• Gives you a Capfile tailored to Radiant
Ray Extension
Shortcutsalias ue='update_extension'alias uae='update_all_extensions'function update_extension { rake ray:extension:update name=$1}function update_all_extensions { for dir in `ls vendor/extensions/`; ue $dir; done;}
Radiant 0.9 (RC)
Demo Blade UI & i18n
Easy JS popups
<a class="popup" href="#reference_window">Reference</a><div id="reference_window" style="display: none"> ... contents of window ...</div>
Easy form submit msgs
<form action="..." onsubmit_status="Saving Changes..."> ... contents of form ...</form>
Questions?