Hi Bojan,

At the moment Radiant can be extended with behaviors that allow pages
to have specific functionality and plugins that extend radiant to
provide global radius tags.

This doesn't lend itself well to adding custom models without hacking
the core. However, currently in development is a brand new plugins
sytem that will allow addition of custom models as well as
automatically extending the admin interface. Keep an eye on the
development wiki and the radiant blog for more info on that.

With regards to taking away helpers, generators, routing etc then I
think you're looking at radiant as if it's something that it's not.
Radiant is a self contained RoR application that provides (an
extensible) Content Mangement System. It's not a framework that you
can use to build other RoR applications. It's useful for managing a
content orientated website where the content easily fits into "pages"
(where "pages" can also have sub-items such as comments etc). This may
change a bit once the new plugin system is finished but for the moment
Radiant is very good at what it does and keeping what it does flexible
enough to cater for most content sites.

Regards,
Kevin Ansfield
http://www.digitalblueprint.co.uk

On 9/26/06, Bojan Mihelac <[EMAIL PROTECTED]> wrote:
> Thanks for answer Kevin.
>
> So does it mean then that all benefits of Rails framework are taken by
> Radiant and developer have no much access to Rails framework? I really
> like how Radiant looks and feels but I wouldn't like to throw away all
> great things Rails offers, including helpers, generators, routing, etc.
>
> How easy is radiant to extend? I would like to see how one can integrate
> custom model into Radiant CMS, for example simple picture gallery or
> addressbook that is editable throught radiant.
>
> If anyone knows some source...
>
> best regards,
> Bojan
>
>
> Kevin Ansfield wrote:
> > Hi,
> >
> > Unfortunately this feature isn't available and isn't likely to become
> > a part of the core as far as I can tell. The reasoning behind this is
> > that you really shouldn't be letting end-users enter anything that is
> > directly evaluated as ruby code as it opens up all sorts of security
> > issues and would require a lot of filtering to make sure that the code
> > is safe.
> >
> > Right now, if you want to have any form of control over the logic and
> > output of your page-parts, snippets, layouts etc then you will have to
> > use the built-in radius tags, code your own tags or use a plugin that
> > someone else has coded to perform specific functions.
> >
> > Kev
> > http://www.digitalblueprint.co.uk
> >
> >
> > On 9/26/06, Bojan Mihelac <[EMAIL PROTECTED]> wrote:
> >> Hello all,
> >> I wander if it is possible to use ruby code directly in RadiantCMS or
> >> one have to wrap code in radius tags? What I would like is to use rails
> >> helper methods directly in snippets and layouts.
> >>
> >> thanks for answer in advance,
> >> Bojan
> >>
> >> _______________________________________________
> >> 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
> >
> >
> >
>
>
> --
> Bojan Mihelac
> Informatika Mihelac, Bojan Mihelac s.p.  |  www.informatikamihelac.com
> -> tools, scripts, tricks from our code lab: http://source.mihelac.org
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>


-- 
Kevin Ansfield

Technical Director
BN23 Search Ltd.
_______________________________________________
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