On 12/17/07, Dinner <[EMAIL PROTECTED]> wrote: > CF is rapid out of the box, baby! Haha! For sure they didn't mean PHP > was as rapid out of the box as CF- no way in hell. > > Hay Zaph- You like the Ruby -- You playing "vanilla", or RoR?
I do both, I've moved a lot of system maintenance type stuff over to ruby scripts. I rewrote my CF code that did my crystal reports exporting and noticed a lot more reliability. As for RoR, today I was working on a polymorphic nested resource and the interface between the three models and was amazed at how easy it was to do it with RoR. I also got finished writing a simple CMS in RoR. The coolest things about it are that it emulates all the old .cfm urls so that I can map www.mysite.com/general/about_us.cfm to any page on my CMS. The other cool thing is that I've coded it so that Ruby code can be embedded in the user pages. I've got it set up where the user can "require" a predefined function and then use that functions return data anywhere in their page. I've patted myself on the back several times for that one :) > > Howz that error reporting? In my limited experience, the error reporting > is really where CF whips PHP (and many OS type whatnots)- If ruby has > good error reporting, I'm more interested. Not that I'm less, either way. > The error reporting is great as far as I'm concerned, it's a very detailed stack trace. If you use netbeans or textmate, the stack trace will all be hyperlinks directly to the error or any of the lines leading up to that error point in the source code or any rails class. Very slick. Also, the debugger looks great, but I haven't used it yet. I mostly use the 'irb' or interactive ruby. This is probably one of the most productive things about the platform. If you've got a model you've already created in your application, you have compete access to it in your irb session. It's a quick way to populate data such as p=Post.create(:title=>"my blog post", :body=>"this is a test post") c=p.comments.build(:body=>"this is a comment") p.save This will create a blog post with it's associated comment. I'd love for cf to have something analogous to this. -- "Instead of building newer and larger weapons of mass destruction, I think mankind should try to get more use out of the ones we have.", Jack Handey ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:248549 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
