after I sent that off, I got to thinking about one of my favorite
features of CF 5, dynamic datasources for cfquery.  Once cfmx rolled
around and did away with that feature, I was bummed, but then thought
"oh well, that's the price of progress".

Recently I've been playing with jruby which is able to run rails
programs.  The only difference in the running is that you have to use
the activerecord-jdbc adapter.  Thing is, your datasources are still
dynamic.  Why can't cfmx do that?

As for the cfquery tag, I think most languages are trying to abstract
sql away.  But even so, I'm doing some stuff without activerecord in
ruby and db access is as easy as passing a connection object the
connectionstring and then using connection.select_all("select * from
whatever").  Doesn't seem any harder than cfquery.  Actually, it's a
little simpler in my mind since I don't have to create a datasource in
the cf administration first.

And webORb does the Flash Remoting on rails now.  If it weren't for
the different licenses, I'm sure it'd be packaged along with.

I've become more of a fan of the unix model lately (individual
autonomous smaller pieces make the whole) rather than the handle
everything itself model.  Granted, I'm basing my views of CF7 since I
haven't upgraded to CF8 yet, but I never used cfform because third
party js libs were so much more advanced.  I never used cfreport,
because it was no where near powerful enough to do the things crystal
did.  I didn't use flash forms because in theory they were neat, but
in practice they were a pain and not near as powerful as flex.


On 10/4/07, Robert Munn <[EMAIL PROTECTED]> wrote:
> That's a key distinction between CF and several of the languages that it is
> compared to. Ruby, Perl, Python and C# are all general purpose programming
> languages. Even PHP, which is primarily used as a Web application language,
> can be used as a general purpose language. But where CF lacks specific
> capabilities as a general purpose language, it has capabilities as a Web
> language/platform that other languages lack, e.g. built-in Flash Remoting
> for integration with RemoteObject calls in Flex, the cfquery tag (which to
> this day I am amazed that every other language hasn't copied), and
> integration with PDF (BTW, I was a skeptic of the value of PDF integration,
> but it is amazing how useful that feature can be).
>
> As for learning Ruby as glue, it can't hurt. You could pick Ruby, Python,
> Windows Script Host, or several other languages. I like Ruby and Python
> because they are platform-independent. Of course, there is always Java,
> which is more widely used than anything else and compliments CF nicely. You
> can even run Java from the command line (though not as nimbly as Ruby),
> though I would argue that what is in effect shell scripting has a limited
> utility for application developers in a production environment. It is more
> the province of system administrators. For someone who runs their own
> infrastructure, I would definitely recommend picking up at least one of
> these languages.
>
> On 10/3/07, Zaphod Beeblebrox  wrote:
> >
> >
> >
> > There really are a lot of things that ruby can do that CF can't.  A
> > lot of it stems from the fact that CF is really only a web application
> > language whereas ruby is general purpose.
> >
>
>
> --
> ---------------
> Robert Munn
> www.emergentpath.com
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:243621
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to