# Metal vs. 0.6.0

**URL:** <https://www.ruby-forum.com/t/metal-vs-0-6-0/84582>\
**Category:** Radiant CMS\
**Created:** [February 6, 2007, 3:13am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582 "2007-02-06T03:13:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 3:13am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/1 "2007-02-06T03:13:43Z")

</div>

Hi All,

I’m excited to start using the new extensions stuff to get some new  
sites up, and hopefully convert some older ones.

Before I get too far, I was wondering if there is still any reason to  
work off the metal branch, since the 0.6.0 candidate was just  
released. When I went to create a test extension, I noticed that  
script/generate is missing from my radiant site directory, so maybe I  
need metal to develop extensions?

thanks!  
christian.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 4:03am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/2 "2007-02-06T04:03:51Z")

</div>

Christian Niles wrote:

> Before I get too far, I was wondering if there is still any reason to  
> work off the metal branch, since the 0.6.0 candidate was just  
> released. When I went to create a test extension, I noticed that  
> script/generate is missing from my radiant site directory, so maybe I  
> need metal to develop extensions?

The release candidate gem was built from the mental branch. The reason  
script/generate isn’t included is that the generators aren’t completely  
supported in instance mode. We should rectify this though. If people are  
creating extensions it would be nice to be able to do it in instance  
mode.

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

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 5:30am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/3 "2007-02-06T05:30:15Z")

</div>

> creating extensions it would be nice to be able to do it in instance  
> mode.

Can somebody tell me what “instance mode” and “application mode” are?

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 6:17am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/4 "2007-02-06T06:17:57Z")

</div>

Apparently, I am using application mode of deployment, but is there a  
best know method as when to deploy using application mode versus  
instance mode?

What are the pros/cons of each?

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 6:26am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/5 "2007-02-06T06:26:58Z")

</div>

> Apparently, I am using application mode of deployment, but is there a  
> best know method as when to deploy using application mode versus  
> instance mode?
> 
> What are the pros/cons of each?

Instance mode is for when you want to install multiple radiant sites on  
the one server and keep them all at the same version.

Dan.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [February 6, 2007, 5:46am UTC](https://www.ruby-forum.com/t/metal-vs-0-6-0/84582/6 "2007-02-06T05:46:56Z")

</div>

Jacob B. wrote:

> > creating extensions it would be nice to be able to do it in instance  
> > mode.
> 
> Can somebody tell me what “instance mode” and “application mode” are?

“Instance mode” is where the majority of the code is loaded from the  
installed gem, and the minimal amount of stuff is present in the  
deployment directory (i.e. config, public, etc). “Application mode” is  
where the full Radiant application, with all relevant code, is in the  
deployment directory.

Sean
