Bruce,
If you use script/console (which is irb preloaded with stuff), you have
access to the entire Radiant environment. From there you could find the
relevant pages in your site, and use them to test rendering certain
things. e.g.
>> GalleryPage.first.render("<r:some_radius_code />")
However, it's probably important to have an idea of how your XML/JSON
data should be formatted first, then think about the form of the Radius
tags to generate that data.
Another alternative would be to create your own controller that emits
the proper XML/JSON and just build it in a traditional Rails style.
Sean
[email protected] wrote:
Hi,
I am converting the Radiant Gallery Extension views to Flash.
The reason is that this is required is to prevent images being downloaded
by many different techniques from the 'public' directory, e.g
Firefox/tools/pageinfo/media.
This is for Galleries that will have an Ecommerce component.
I want to combine 'Restfulx' (http://restfulx.org/) and 'Radiant' to
achieve this.
The 'gallery' extension admin is perfect for setting up the galleries, may
need a small change to recognise that the galllery is eCommerce enabled.
Anyway I want to use 'irb' to test the relationships.
Why 'irb' because it is more fine grained, to me, anyway, to find problems.
I also love 'radius' (http://radius.rubyforge.org/) but I am really
struggling to incorporate all of this, to basically test with 'irb'. Once
that is done the the Adobe/Flex/restfulX stuff will be a no brainer.
I want to release this as a fork/extension when this is done.
Any any help/pointers would be appreciated.
Thanks,
Bruce
_______________________________________________
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