Premshree Pillai ([info]premshree) wrote,
@ 2005-02-19 16:04:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current music:Dire Straits - Money For Nothing

Of high-level components
Heh, something that I wanted to write about:

One of the clear goals for Rails from the start was to stay at the infrastructure layer. I didn't want Rails to succumb to the lure of high-level components like login systems, forums, content management, and the likes.

Thank God!

Warren told me about the introduction of something—I don’t remember at the moment—some high-level component; that got me worried.

Rails does use certain components—“link_to”, “text_field” (as Jamis commented)—and this is perfectly acceptable. When you have a high-level component, you tend to reuse that component—even if ultimately it may not serve your intended purpose all that well. Yes, “all that well” is very subjective. There probably is a tradeoff between the duration of the project and acceptability of using high-level components. And I’m afraid I don’t think the relation is very straight forward. If there’s data relating to this that you’re aware of, please let me know.

I could come up with some figures, but it’s going to take me some time.



(Post a new comment)

HAPPY BIRTHDAY DUDE.
[info]vinodpillai
2005-02-22 06:31 pm UTC (link)
FROM THE WORDS TO CHOOSE
AND MANY THAT I REFUSE
FROM ALL DIFFERENT VIEWS
THERE ARE FEW I MIGHT USE
ON YOU ARE THE BOOZE
'HAPPY BIRTHDAY' I CHOOSE.


(Reply to this)(Thread)

Re: HAPPY BIRTHDAY DUDE.
[info]premshree
2005-02-23 06:27 am UTC (link)
Whoa! Did you write that?! Thanks, borother!

(Reply to this)(Parent)(Thread)

Re: HAPPY BIRTHDAY DUDE.
[info]vinodpillai
2005-02-24 05:13 am UTC (link)
duh!
OFCOURSE I WROTE THAT!!

(Reply to this)(Parent)


[info]suhit_kelkar
2005-02-23 06:28 am UTC (link)
Happy birthday.

(Reply to this)


[info]cyberscorpion
2005-02-23 07:01 am UTC (link)
Happy Birthday Sir !!!

(Reply to this)

Modules and Components
[info]wnorrix
2005-02-24 12:27 am UTC (link)
1. Modules and Components are two different things in Rails.
2. This is a module ./script/generate controller Admin/Blog
3. Where <%= render_component(:controller => "list/items", :action => "list", :params => { "page_id" => @page.id }) %> This is a component.
4. I dont think a lot of people will use components for high level stuff.
5. Happy Birthday :)

- Warren
http://www.hyperionreactor.net

(Reply to this)(Thread)

Re: Modules and Components
[info]premshree
2005-02-24 07:32 pm UTC (link)
1. Yes

> I dont think a lot of people will use components for high level stuff.
2. Yes. Rails is not Plone after all. :-)

> Happy Birthday :)
3. Thanks.

(Reply to this)(Parent)


[info]bhavanar
2005-02-24 02:51 am UTC (link)
Happy Birthday!

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…