[Rails] Re: Thoughts on controllers

2008-12-17 Thread David A. Black
Hi -- On Tue, 16 Dec 2008, John Yerhot wrote: > > Personally, I try to keeping my applications restful. It may require > me to rethink how I am going to accomplish a task, but I find it > usually forces the most elegant solution in the end. > > That's not so say I haven't added extra actions to

[Rails] Re: Thoughts on controllers

2008-12-16 Thread Ryan Bigg
Take a forum system, hypothetically. You have topics and posts controllers which both contain the 7 default RESTful actions. Then you realise "Oh, I want to add in a functionality that allows me to split topics based on the positioning of certain posts". Ah! A conundrum! So what do you do

[Rails] Re: Thoughts on controllers

2008-12-16 Thread Elliott Golden
Thanks for the the thoughts on this so far. Here's a further question... With Rails, I will primarily be building dynamic sites powered by my own custom Rails CMS, which I will build in the near future. Also I don't plan on these sites or CMS being accessed as services. With this in mind, sho

[Rails] Re: Thoughts on controllers

2008-12-16 Thread abdul hafeez
Hi Elliott Golden.., If you want to use Restful you can ,And even if you want to add more actions you can but they need to be defined as those seven methods only.., if the controller is small then better to do with out RESTful .. Enjoy and Gud luck Regards hafeez On Wed, Dec 17, 2008 at 8:52 A

[Rails] Re: Thoughts on controllers

2008-12-16 Thread John Yerhot
Personally, I try to keeping my applications restful. It may require me to rethink how I am going to accomplish a task, but I find it usually forces the most elegant solution in the end. That's not so say I haven't added extra actions to my controllers, but they really shouldn't have too much cl