Re: Rails-like functionality in FluxCMS/Popoon
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
On 3.8.2005 0:13 Uhr, Simon Rönnqvist wrote: > On Aug 2, 2005, at 18:46, Christian Stocker wrote: > >> 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 :) > > > Well, thanks for your comments! > BTW. Is this the reason why you replied in private? No, I didn't reply in private :) I have nothing to hide :) But the post was first in the moderation-queue, since I used a strange From adress... > Here's an easy to understand explanation of the Ruby-style structure: > http://www.slash7.com/articles/2005/03/06/rails-what-goes-where > > The 'on Rails'-like framework structure is something is said to be much > simpler to set up than an XML-framework. Says who? :) What's a XML-framework in this "comparison"? Cocoon/Popoon? Or something else? Did anyone actually compare Cocoon to RoR? I found only this http://manero.org/weblog/archives/000220.html > Personally I can't tell yet > since I have hardly any experiance, but I just had the feeling that > some kind of integration could be useful. I'll let you know if I some > time in the future have something to add to your comparison. I still think, Rails and [CP]o[cp]oon have a different approach and you can't use one model on the other. But there are certainly some things we can learn from RoR, but as I said in my last post, this could be handled in a plugin, resp. an editor. But maybe I just don't get :) You need to tell me more how you think one could integrate RoR stuff in Flux CMS to make me "Wow, Yes, We Need Exactly That" :) > BTW. Something I've been looking for but haven't found is instructions > on how to develop own php-applications integrated in the Popoon > framework or Flux CMS. I found http://www.flux-cms.org/ CodingStyle but > it's a bit hard to understand for a beginner like me, more details and > explanations could be useful. You mean an application from scratch? Look into the links plugin and the links editor, they are quite simple. But yes, more documentation is needed. I'm currently quite busy and the rest of Bitflux is in holidays, so can you please ask specific questions and I can try to answer them, I just can't come up right now with a full fledged tutorial :) But inc/bx/plugins/links.php is certainly a good start chregu > > cheers, Simon > > >> 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 >> -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms