Hey Matt,

Funny -- I knew I talked to someone about this at RailsConf and I  
just couldn't remember who... Now I remember our discussion well.

Yes, I'd very much like to help out in whatever way I can. I really  
want to see this happen and end-up with something that makes the  
integration dead simple to accomplish.

Love to see what you've got so far and talk more. It'd be especially  
nice to see how you're using it in your existing app. I still have  
your card here, I'll give you a shout later today or tomorrow to talk  
approaches and see in what way I might be able to pitch-in, etc.

Maybe it'd be nice to set a date and time for you, Sean and myself  
(and anyone else interested) to meet-up in #radiantcms IRC on this  
topic...

Glad there is something already happening on this front!

Loren



On May 28, 2007, at 10:13 AM, Matt Parrish wrote:

> Hi Loren,
>
> Nice to talk to you again! ;)
>
> I'm working on the same thing right now.  I currently have a Radiant
> extension that allows Radiant to live in /vendor while having a Rails
> app at it's current location with only a slight modification required
> for config/routes.rb to work properly.
>
> It also has the ability to insert a snippet using a helper as you
> suggested, although I don't know how robust it is depending on what
> radius tags are in that snippet.  And yes, as you mentioned, it
> creates a Page object to do this.
>
> I'm also very interested in allowing Rails pages to leverage Radiant
> layouts, and that is the next thing I plan to work on.  Let me know
> if you're interested in seeing the extension I have so far.  I plan
> on creating a Rubyforge project for it, but I haven't gotten around
> to that yet.  Perhaps we can work together to get this done.  I also
> think that Sean was working on the layout problem, too.  So maybe he
> already has made some progress in that area.
>
> Thanks,
> Matt
>
>
> On May 28, 2007, at 12:03 PM, Loren Johnson wrote:
>
>>
>> Does anyone have a successful example out there of putting Radiant in
>> the vendor directory of an existing full-scale Rails app and having
>> it play nicely?
>>
>> I've tried unsuccessfully in the past, however with the final polish
>> on 0.6 (and now 0.61) I'm ready to give it another shot.
>>
>> I have an app I would like to do this with that I'll be working on in
>> a week or two.
>>
>> For my use here are the two main issues that I know of are:
>>
>> 1. Routes... I can load my app's routes first I essentially override
>> everything but the final Radiant default "page not found" route.
>>
>> 2. Rendering of snippets or page parts with Radius tags in them
>> straight in to my Rails app view... In particular, I imagine making a
>> helper in my app for calling the Radiant content. Is there a way to
>> render the snippet or part directly without creating a new
>> PageContext every time it goes to render (I'd be doing this all
>> through a Rails helper method I imagine...)
>>
>> 3. Less important to me, but interesting... the reuse of Layouts. Can
>> I pull a layout as a Rails layout, ERB render and then do a final
>> Radius render? Anyone tried this?
>>
>> Anybody doing any of this yet?
>>
>> Thanks,
>>
>> Loren
>> www.hellovenado.com
>>
>>
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to