Re: Ruby (on Rails) vs Coldfusion

2006-04-21 Thread John Paul Ashenfelter
On 4/20/06, Bryan Stevenson [EMAIL PROTECTED] wrote: Remember our class that provides this looks like this class Order ActiveRecord::Base end I could also do this Order.find_by_state(Virginia) Note that I'm not adding that method to the code. It just gets figured out. I can

Re: Ruby (on Rails) vs Coldfusion

2006-04-21 Thread Bryan Stevenson
Thanks John, Yer on my hit list for when I can find some time to play with it more...I'll have loads of questionsfor now it's back to paying work ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264

RE: Ruby (on Rails) vs Coldfusion

2006-04-20 Thread Andy Matthews
: Ruby (on Rails) vs Coldfusion On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: I don't want to use the command prompt. It's clunky, outdated and a pain to get around. I'm enough of a visual person that it makes FAR more sense (to ME) to use a visual interface to do things. Then use RadRails

RE: Ruby (on Rails) vs Coldfusion

2006-04-20 Thread Andy Matthews
Subject: Re: Ruby (on Rails) vs Coldfusion On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: Wow... What a great conversation! Here's what I want to accomplish in my testing of RoR. I want to be able to view the parsed files in my local dev setup, currently using XAMPP. Not sure what you

Re: Ruby (on Rails) vs Coldfusion

2006-04-20 Thread Bryan Stevenson
Remember our class that provides this looks like this class Order ActiveRecord::Base end I could also do this Order.find_by_state(Virginia) Note that I'm not adding that method to the code. It just gets figured out. I can do this too Order.find_by_state_and_firstname(Virginia,Bob)

RE: Ruby (on Rails) vs Coldfusion

2006-04-20 Thread Andy Matthews
PROTECTED] Sent: Thursday, April 20, 2006 10:53 AM To: CF-Talk Subject: Re: Ruby (on Rails) vs Coldfusion Remember our class that provides this looks like this class Order ActiveRecord::Base end I could also do this Order.find_by_state(Virginia) Note that I'm not adding that method

Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Andy Matthews
I love Coldfusion and don't plan on moving away from it. But I'd like to see what all the fuss is about Ruby, and specifically Ruby on Rails. Does anyone have a good comparison of the two? I don't currently use any named frameworks, but I have developed a way of coding that seems to work for me.

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Damien McKenna
-Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:49 PM Does anyone have a good comparison of the two? Not really. I was looking forward to Mr Corfield's insights after he mentioned he was taking a look at it, but he's presumably

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
Basically with Ruby it comes down to this (in my short investigation of itI stopped because it is NOT the Holy Grail) It does lots of stuff for you...right up until it needs to something different then the default...then you are right back writing custom code to make your something

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Jordan Michaels
Bryan Stevenson wrote: Basically with Ruby it comes down to this (in my short investigation of itI stopped because it is NOT the Holy Grail) It does lots of stuff for you...right up until it needs to something different then the default...then you are right back writing custom

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Damien McKenna
-Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 1:19 PM It does lots of stuff for you...right up until it needs to something different then the default...then you are right back writing custom code to make your something

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
I thought that same way until I really got into creating some applications with it. To me it's unbelievable how much stuff is available in that framework. I think where most people get hung up is on comparing Rails to CF. Rails is a framework that provides a lot of functionality for you. Ruby,

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
You mean if the scaffolds don't do what you need? Or are you talking about its various classes? Of course you're going to have to hand-code something, this isn't Visual Basic ;-) Speaking in very general terms Damien. Simple examplewant to check that the start date is before the end

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
Hey Bryan, not to pick on your or anything :) On 4/19/06, Bryan Stevenson [EMAIL PROTECTED] wrote: Basically with Ruby it comes down to this (in my short investigation of itI stopped because it is NOT the Holy Grail) So just because it's not the Holy Grail it isn't useful? Does

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: Anyway, if anyone has input on this topic, I'd love to hear it. I tried getting RoR running on my local dev machine and was immediately turned off by the fact that you have to do so much work using the command prompt. Have the RoR developers

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Ken Ferguson
That's it you blaspheming frood, you're off to the Frogstar and into the Total Perspective Vortex! You know, I tried to get into an evaluation of RoR, but from the initial setup to building a couple of apps, it just felt off somehow. It may be great, but it's one of those things, similar to

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
Don't make me read Vogon poetry to you! I can totally understand. At first I was like where in the hell are my application variables? and I realized later that the structure of programming is way different. And as for feeling off.that's kinda the way I feel about ASP.net 2.0. It looks

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
On 4/19/06, Bryan Stevenson [EMAIL PROTECTED] wrote: Basically with Ruby it comes down to this (in my short investigation of itI stopped because it is NOT the Holy Grail) It does lots of stuff for you...right up until it needs to something different then the default...then you are

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
I tried getting RoR running on my local dev machine and was immediately turned off by the fact that you have to do so much work using the command prompt. Have the RoR developers never heard of a web browser? Why would you *develop* in a web browser? I assume that you realize Rails *only*

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Andy Matthews
Wow... What a great conversation! Here's what I want to accomplish in my testing of RoR. I want to be able to view the parsed files in my local dev setup, currently using XAMPP. I really would prefer NOT having to start the Ruby server, just a preference there I guess. The whole point of me

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
So just because it's not the Holy Grail it isn't useful? Does that infer CF is the Holy Grail :) No...just saying RoR ain't all it's being hyped up to beit may be useful to youbut so far...not to me. Or you could just extend those base classes to do the kinds of things you want it

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Andy Matthews
Subject: Re: Ruby (on Rails) vs Coldfusion I tried getting RoR running on my local dev machine and was immediately turned off by the fact that you have to do so much work using the command prompt. Have the RoR developers never heard of a web browser? Why would you *develop* in a web browser

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
don't like plural table names? ActiveRecord::base.pluralize_table_names=false in environment.rb want to override a table name? class someTable ActiveRecord::Base set_table_name some_crazy_table_name end Now that I'm finished blowing Coke out my nose Are you seriously saying those

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
On 4/19/06, Bryan Stevenson [EMAIL PROTECTED] wrote: don't like plural table names? ActiveRecord::base.pluralize_table_names=false in environment.rb want to override a table name? class someTable ActiveRecord::Base set_table_name some_crazy_table_name end Now that I'm finished

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
it's not amazing, but in the model you would add def validate errors.add(:start_date,should be earlier than end_date) unless start_date.nil? || start_date end_date end Exactlyright back to custom coding. So although that is a hair less code than the equivalent in CFit's not so

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Munson, Jacob
And one big plus -- CF works on Windows *far* better than Rails. Rails is a *pain* to configure with stability and performance on Windows. Well, considering that windows servers are a nightmare (/servers/, not desktops), Rails is on the right track. Sorry, I had to say it. ;) jake heads back

RE: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Munson, Jacob
Are you saying that Ruby (and hence RoR) is a strictly typed language? That's enough to turn me off right there... -Original Message- From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 11:35 AM I thought that same way until I really got into creating

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
yeah, it is custom coding, but isn't all your business logic going to be custom code? What if you are required to have a start date, but your end date could be open ended. There's really not an easy way to automate that kind of logic. Rails can make that kind of code easier I believe. Say you

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Zaphod Beeblebrox
not at all, it's dynamically typed, this would be valid x=hello x=1 y=x y.to_s = 1 On 4/19/06, Munson, Jacob [EMAIL PROTECTED] wrote: Are you saying that Ruby (and hence RoR) is a strictly typed language? That's enough to turn me off right there... -Original Message- From:

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread Bryan Stevenson
With the exception of the adding a new field in the DB and it's avaialable evrywhere bit, the other examples are easily handles by CFCsone method to update...another to insert...they do different things...just like your example: def validate_on_update #stuff end or def

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: I don't want to use the command prompt. It's clunky, outdated and a pain to get around. I'm enough of a visual person that it makes FAR more sense (to ME) to use a visual interface to do things. Then use RadRails in Eclipse and click the

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
On 4/19/06, Andy Matthews [EMAIL PROTECTED] wrote: Wow... What a great conversation! Here's what I want to accomplish in my testing of RoR. I want to be able to view the parsed files in my local dev setup, currently using XAMPP. Not sure what you mean by parsed files. Ruby is

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
On 4/19/06, Bryan Stevenson [EMAIL PROTECTED] wrote: don't like plural table names? ActiveRecord::base.pluralize_table_names=false in environment.rb want to override a table name? class someTable ActiveRecord::Base set_table_name some_crazy_table_name end Now that I'm finished

Re: Ruby (on Rails) vs Coldfusion

2006-04-19 Thread John Paul Ashenfelter
On 4/19/06, Bryan Stevenson [EMAIL PROTECTED] wrote: With the exception of the adding a new field in the DB and it's avaialable evrywhere bit, the other examples are easily handles by CFCsone method to update...another to insert...they do different things...just like your example: First