What you should also
know about Radiant
         Part I: Extensions
     Part II: Managing Radiant
     Part 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 own
script/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 own
script/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 own
script/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
Shortcuts
alias 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?

Advanced Radiant

  • 1.
    What you shouldalso know about Radiant Part I: Extensions Part II: Managing Radiant Part III: Coming up in 0.9
  • 2.
    Simple and sweet Family-tree analogy + Radius + Radiant::Cache + Page Parts and Layouts + some experience to really get it = super awesome CMS
  • 3.
    Simple = sweet but...what if I want it to do more?
  • 4.
    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)
  • 5.
    Creating your own script/generateextension 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
  • 6.
    Creating your own script/generateextension 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
  • 7.
    Creating your own script/generateextension 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
  • 8.
    Show ‘em howit’s done • future_publishing • wym_editor • site_language
  • 9.
    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
  • 10.
  • 11.
    Shortcuts alias ue='update_extension' alias uae='update_all_extensions' functionupdate_extension { rake ray:extension:update name=$1 } function update_all_extensions { for dir in `ls vendor/extensions/`; ue $dir; done; }
  • 12.
    Radiant 0.9 (RC) Demo Blade UI & i18n
  • 13.
    Easy JS popups <aclass="popup" href="#reference_window">Reference</a> <div id="reference_window" style="display: none"> ... contents of window ... </div>
  • 14.
    Easy form submitmsgs <form action="..." onsubmit_status="Saving Changes..."> ... contents of form ... </form>
  • 15.