Re: Rails-like functionality in FluxCMS/Popoon

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Disclaimer: I never really looked into Rails or all those "clones", so
may opinion is maybe not that well-funded :)  I read some how-tos,
'though :)


On 1.8.2005 1:41 Uhr, Simon Rönnqvist wrote:
>   Hi!
> 
> I've noticed that Ruby on Rails (http://www.rubyonrails.com) has  gained
> popularity fast lately. It's kind of convenient and easy to  use
> framework for developing database driven web-applications in the 
> language Ruby. This kind of framework idea has lately been inspired 
> many similar ones of which http://sputnik.pl/cake/ and http://
> phpontrax.com/ are PHP-based. Think that Cake has gotten further, but  I
> haven't really had time to try them out very much yet. (http://
> jrhicks.net has a long list of similar ones for different languages)
> 
> My question is wether it'd be possible to easily integrate one of  these
> PHP-based ones with Flux CMS or Popoon. Another question is  also what
> sense it would make. My guess is that it could help making  coding of
> Flux CMS plug-ins easier. Any thoughts on this matter?

Rails uses a more or less classic MVC approach, which FluxCMS/Popoon
doesn't. It's also some kind of MVC, just different. I don't know how to
translate it, but maybe

Model: Generators/plugins
View: XSLT/transformers
Controllers: .configxml, sitemap

(with some overlaps here and there)

Where I can see something to be learned from rails is the DBDO approach,
something between AppController and AppModel as a plugin for easy
accessing and editing of DB-Data in an OO way. View is out of question
here anyway IMHO :) We have covered that pretty decently with XSLT.

OTOH, with have the structure2xml and db2xml plugins with the dbforms2
editor for easy and powerful outputting and editing of DB-data, so I'm
not really sure, if we need yet another approach for that. But yes, I'm
sure this could be done with a plugin and maybe additionally an editor
(or just use dbforms2, that's powerfull enough :) )

chregu

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.