# Examples for advanced radiant extensions?

**URL:** <https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124>\
**Category:** Radiant CMS\
**Created:** [February 1, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124 "2007-02-01T17:46:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 1, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/1 "2007-02-01T17:46:40Z")

</div>

Hello there.

I am currently looking into the radiant extension architecture, and I am  
very excited about the possibilities there.

But since there is no real documentation for writing extensions, I am  
searching for existing extensions to learn from them. So my question is:

Whats the most advanced current extension for Radiant ?

And: what kind of entities can an extension create ?

(I saw that I can create tabs in the admin interface, and I can create  
tags for using inside of a page. Is there one or many root objects, for  
the entities which an extension can create? Or any other guideline which  
defines what an extension can create?

I am currently looking at the mailer extension, but I cant get it to  
run, because it complains about an undefined variable.

Generating whole pages on the fly would by my primary interest for an  
extension.

To further elaborate on that: I want to investigate building a framework  
for semantic web applications using active rdf (for the semantic web  
data access part) and ruby on rails (for the web application interface  
part). Radiant would fit in nicely for the administration and the  
content managment aspects.

Sadly the vertical application slices approach of django, as described  
in  
[http://www.wiseheartdesign.com/2006/12/6/rails-needs-something-better-than-engines/](http://www.wiseheartdesign.com/2006/12/6/rails-needs-something-better-than-engines/)  
does currently not exist, and so I am looking into the possibilities of  
building a radiant extension.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 1, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/2 "2007-02-01T17:56:41Z")

</div>

Benjamin,

I’m sorry, I probably introduced that error this morning. I’ll correct  
it.  
You might also look at the LDAP extension for ideas.

Sean

---

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 1, 2007, 6:10pm UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/3 "2007-02-01T18:10:42Z")

</div>

Benjamin Heitmann wrote:

> I am currently looking into the radiant extension architecture, and I am  
> very excited about the possibilities there.
> 
> But since there is no real documentation for writing extensions, I am  
> searching for existing extensions to learn from them. So my question is:
> 
> Whats the most advanced current extension for Radiant ?

There are several extensions presently available in the Radiant  
repository. The LDAP extension is a good example of an extension that  
has its own controllers, views, and models. The Hello Tag example  
extension will show you how to add global tags.

There are a few articles about extensions floating around out there:

[http://radiantcms.org/blog/2007/01/23/how-to-getting-mental/](http://radiantcms.org/blog/2007/01/23/how-to-getting-mental/)  
[http://dev.radiantcms.org/radiant/wiki/HowToWriteAnExtension](http://dev.radiantcms.org/radiant/wiki/HowToWriteAnExtension)

> And: what kind of entities can an extension create ?

Presently you can create tabs in the admin interface and override  
existing views. We would like to add more hooks in the future.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 1, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/4 "2007-02-01T20:02:52Z")

</div>

Sean C. wrote:

> Benjamin,
> 
> I’m sorry, I probably introduced that error this morning. I’ll  
> correct it.  
> That would be very much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 2, 2007, 12:19am UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/5 "2007-02-02T00:19:33Z")

</div>

> But since there is no real documentation for writing extensions, I am  
> searching for existing extensions to learn from them. So my  
> question is:
> 
> Whats the most advanced current extension for Radiant ?

I don’t know about ‘most advanced’, but the extension for the website  
I’m currently working on is in my repository (under x\_groggy) which I  
think is a pretty good example of how to twist radiant around to fit  
into however you want your site to work. You’ll need to have my other  
extensions loaded to make use of it (except for x\_admin\_part\_test).

[http://soxbox.no-ip.org/radiant/svn/extensions](http://soxbox.no-ip.org/radiant/svn/extensions)

Dan.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Heitmann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Benjamin\_Heitmann](https://www.ruby-forum.com/u/Benjamin_Heitmann)\
**Post date:** [February 13, 2007, 11:10am UTC](https://www.ruby-forum.com/t/examples-for-advanced-radiant-extensions/84124/6 "2007-02-13T11:10:40Z")

</div>

Hello,  
Creating a semantic web extension using active RDF or some sort of  
simple schema such as FOAF would be extremely interesting. Keeping it  
simple, leveraging the simple core and philosophy of Radiant could  
end up being something truly beautiful and useful.

I’m very interested in following your project. Do you intend to share  
your work, and if so do you want help?

Another interesting project would be a DocBook extension - making it  
possible to edit and publish DocBook documents. Any one up for that one?

I am a Radiant and R&R newbie, but I’m a pretty good Java developer,  
and I’ve worked with RDF and “the semantic web” as well as with  
Microformats and XML standards such as DocBook, Dublin Core, IMS  
Enterprise etc.

I have rather limited time, which is why my Radiant-powered is still  
not up. (Yeah, I finally decided to go with Radiant instead of  
Mephisto.)

Regards,  
Martin O.  
removed\_email\_address@domain.invalid

[http://smpl.se/](http://smpl.se/)
