[Radiant] Script to invalidate single URLs in Radiant::Cache

2010-01-12 Thread Johannes Fahrenkrug
Hi,

this might be useful for some:

http://blog.springenwerk.com/2010/01/invalidate-single-urls-in.html

- Johannes
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread Asfand Yar Qazi
2010/1/11 banane ban...@gmail.com:
 Put the routes.rb stuff in [yourapplication]_extension.rb
 You can extend ActiveRecord, just like in Rails. Rails is embedded in
 Radiant, so it works pretty much the same.
 Put the testing stuff in /rspec, test as usual.

And what about selenium on rails tests?  That is another stickler.

Another question: My app currently uses several plugins it needs.  If
I make my app an extension, where do those plugins go?  If I simply
move them to the Radiant app, won't that make upgrading difficult?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread john muhl
On Tue, Jan 12, 2010 at 9:22 AM, Asfand Yar Qazi ayq...@gmail.com wrote:
 2010/1/11 banane ban...@gmail.com:
 Put the routes.rb stuff in [yourapplication]_extension.rb
 You can extend ActiveRecord, just like in Rails. Rails is embedded in
 Radiant, so it works pretty much the same.
 Put the testing stuff in /rspec, test as usual.

 And what about selenium on rails tests?  That is another stickler.

 Another question: My app currently uses several plugins it needs.  If
 I make my app an extension, where do those plugins go?  If I simply
 move them to the Radiant app, won't that make upgrading difficult?

if your rails app has vendor/plugins/xyz then your extension would
have vendor/plugins/xyz. for example:

/rails_app/vendor/plugins/xyz
/radiant_app/vendor/extensions/your_extension/vendor/plugins/xyz
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread Sean Cribbs
It might be better to use gems where possible, as that's the direction 
both Rails and Radiant are going.  If you can't use your plugins as 
gems, John's method should work.

Sean

On 1/12/10 10:33 AM, john muhl wrote:
 On Tue, Jan 12, 2010 at 9:22 AM, Asfand Yar Qaziayq...@gmail.com  wrote:

 2010/1/11 bananeban...@gmail.com:
  
 Put the routes.rb stuff in [yourapplication]_extension.rb
 You can extend ActiveRecord, just like in Rails. Rails is embedded in
 Radiant, so it works pretty much the same.
 Put the testing stuff in /rspec, test as usual.

 And what about selenium on rails tests?  That is another stickler.

 Another question: My app currently uses several plugins it needs.  If
 I make my app an extension, where do those plugins go?  If I simply
 move them to the Radiant app, won't that make upgrading difficult?
  
 if your rails app has vendor/plugins/xyz then your extension would
 have vendor/plugins/xyz. for example:

 /rails_app/vendor/plugins/xyz
 /radiant_app/vendor/extensions/your_extension/vendor/plugins/xyz
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Fwd: Multi Site extension working in Radiant 0.9?

2010-01-12 Thread Sean Cribbs


 Original Message 
Subject:Multi Site extension working in Radiant 0.9?
Date:   Tue, 12 Jan 2010 11:30:28 -0500
From:   Eimhin Rooney eimhinroo...@gmail.com
To: seancri...@gmail.com



Hello,

I am curious if the multi-site extension works with Radiant 0.9. I'd 
like to upgrade, and I'm curious if it had been tested with that version.

Thanks kindly,
Eimhin

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] More 'Rails app to Radiant extension' questions

2010-01-12 Thread Asfand Yar Qazi
2010/1/12 john muhl johnm...@gmail.com:

 if your rails app has vendor/plugins/xyz then your extension would
 have vendor/plugins/xyz. for example:

 /rails_app/vendor/plugins/xyz
 /radiant_app/vendor/extensions/your_extension/vendor/plugins/xyz

Oh, that's beautiful.  Thanks.

2010/1/12 Sean Cribbs seancri...@gmail.com:
 It might be better to use gems where possible, as that's the direction
 both Rails and Radiant are going.  If you can't use your plugins as
 gems, John's method should work.


My plugin is an in-house one that I use to share useful code between
my apps.  If I pack it up in a gem, I can freeze it in the extension,
I assume?

Thanks, regards,
 Asfand
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant