Radiant (software)
|
|
This article has multiple issues. Please help improve it or discuss these issues on the talk page.
|
| Developer(s) | John W. Long, Sean Cribbs, Jim Gay |
|---|---|
| Initial release | June 26, 2006 |
| Stable release | 0.9.1 / June 27, 2010 |
| Preview release | edge / August 2, 2010 |
| Operating system | Cross-platform |
| Platform | Ruby on Rails |
| Type | Content management system |
| License | MIT |
| Website | radiantcms.org |
Radiant is a free software content management system written in Ruby created and designed by John W. Long as a Ruby on Rails web application.
Radiant has a core with a limited set of functionality (compared with other systems). With over 200 extensions in the extension registry[1] it can be adapted for various uses. All the content is stored inside a database. It is possible to use MySQL, PostgreSQL or SQLite. Radiant depends, like every Ruby on Rails application, on the installed adapters for the database.
It is distributed via a separate download or installable with RubyGems.
Two PHP ports of Radiant CMS are available as Frog CMS and Wolf CMS.
Contents |
[edit] Design
Radiant projects are based on 3 elements: Pages, Snippets and Layouts.[2]
Pages: The content of every page is stored in Pages. Every page has specific attributes and content. For example, if Radiant is used as a blog, all blog entries are Pages inside the Radiant system. They can be arranged hierarchically to reflect the actual structure of the content.
Snippets: Snippets are essentially just small parts of code that can be reused everywhere in the project and make page creation easier.
Layouts: To define the general look of a page layouts are used. Upon page creation, a layout can be attached to that page to define a frame for this Page to be inserted in.
[edit] Radius Template Language
Inside a Page, Layout or Snippet, Radiant offers a special templating language, called Radius, that allows a user to easily access data, loop through content, or make conditional checks.
Radius tags are XML-like tags that start with "r:".
Here is an example of Radius tags inside page layout:
<html>
<head><r:title /></head>
<body>
<r:snippet name="header"/>
<r:children:each limit="2">
<r:content />
<r:if_content part="sidebar">
<div class="sidebar">
<r:content part="sidebar" />
</div>
</r:if_content>
</r:children:each>
<r:snippet name="footer" />
</body>
</html>
[edit] Extensions
Radiant includes by default 2 extensions.
[edit] See also
[edit] References
[edit] External links
- Official Radiant website
- GitHub project
- ArtOfMission Radiant tutorial
- Radiant CMS, Managing Web Sites on Rails An independent review by Frederic Brunel, a software architect and technology enthusiast.
- ruby-forum.com Radiant thread
- http://github.com/radiant/radiant/blob/0.6.8/CHANGELOG