Welcome!

Ruby-On-Rails Authors: Liz McMillan, Pat Romanski, Elizabeth White, Hovhannes Avoyan, Yeshim Deniz

Related Topics: Ruby-On-Rails, Machine Learning , RubyonRailsSeminar.com

Ruby-On-Rails: Article

The Jury's Still Out On Ruby On Rails (RoR) and AJAX

"As far as the landscape goes, there will be a place for all these technologies."

In most cases I'm a patient and tolerant person. Once you get to know me, I'm easy to get along with, occasionally complex, but not very often. My patience and tolerance has pretty much gone out the window in the last week or so. It all stems from two technologies: Ruby On Rails (RoR) and AJAX.

Now let's be fair, no one really gave a garbage-collected object about AJAX until those boffins at Google brought us the "suggest" and maps utilities (this is what happens when you give programmers spare time; they come up with good stuff). What followed were Web sites, APIs, tutorials, and more applications than you can shake a stick at. JavaScript used to be a dirty word among Java programmers a number of years ago. At one point you may as well have called JavaBlogs JavaScriptBlogs.

We used to laugh, have secretly coded words when talking among JavaScript programmers, just to make them feel out of place. JavaScript was the annoying little brother that got in the way when you were trying to impress your new girlfriend. Now VCs are rubbing their hands together waiting to throw money at the next line of AJAX-fueled apps. For about two days I was thinking, "I may actually have to learn some of this stuff," then I came to my senses and thought better of it.

My main problem with all of this goes back to my original problem with all JavaScript things from years ago - browser compatibility. I still can't, to this day, get an AJAX app to work on my Pocket PC version of Internet Explorer (in fact I still can't get a decent JVM for it either). Another issue for me is that everyone has conveniently forgotten about testing any of this stuff with a dial-up connection (or at least it's never mentioned). Is a user seriously going to sit and wait for the data to bounce to and fro every time the mouse moves? Don't get me wrong, there are some real nice applications about, but at the end of the day AJAX is still the name of a cream cleanser in the UK. I usually wash the sink with it.

The arguments, agreements, and articulate announcements about RoR are also currently, in my opinion, spiraling out of control. It sort of reminds me of the same sort of arguments regarding Python and Java a couple of years ago. Ruby, as a language, has been kicking about for years but never really broke into the mainstream. RoR came about from a project management tool for 37 Signals. Now even the most seasoned Web app programmers can be in a complete giddy spell on how they can knock up a MVC-type Web app in, well, a bit less time than before.

I thought we'd gone beyond this "technology x is better than technology y" debate when .NET was supposed to be the biggest threat to humanity. We all gave it six months to blow over and then the landscape was quiet once again. Now the soothsayers are out again with their scythes of code reduction telling me that RoR will replace Java in the way that Web apps are done. The Java camp seems to be extremely defensive and a touch prickly toward the arguments, any argument in fact, and in some respects it's how we react to these comments that make us easy prey with the emerging technologies.

As far as the landscape goes, there will be a place for all these technologies. Some will be adopted more than others. Would you write a multi-language banking application in RoR? I wouldn't. What I do keep in my tool belt is a fresh open mind to new things. I looked at RoR, played with it, tried a few things, and thought, "Not for me now" and uninstalled it. More to the point I have more than enough paid work in Java, PHP, and a heap of other things. So I tend to go where the money is calling to make sure there's food on the table.

Where do I stand in all of this? AJAX, well I've seen good uses and some pretty dreadful ones too. These are just the baby steps of what's to come with AJAX-driven apps. I still need some convincing whether we'll all be lapping up AJAX apps to every Web site we ever go to. And where there is JavaScript, there are browser-compatibility issues.

With Ruby On Rails, I'm taking a back seat for six months to see what happens. I don't jump on these things easily, just like I didn't jump on Python. There is a place for it but I still think it's in the realms of the developer fantasy of "this might take over the world one day," when the rest of people really couldn't give a hoot about what language it was written in.

As a client said to me yesterday, "I don't care what you use, as long as it works." I feel the same. Enjoy what you enjoy.

More Stories By Jason Bell

Jason Bell is founder of Aerleasing, a B2B auction site for the airline industry. He has been involved in numerous business intelligence companies and start ups and is based in Northern Ireland. Jason can be contacted at [email protected]

Comments (10) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
jhujsak 10/03/06 04:03:26 PM EDT

Once you get over the inevitable hype curve, you realize that Ajax is just another tool in the developer's tool box. In particular, it's a great panacea for implementing complex, adaptive, data driven Web forms. Instead of managing a complex state machine with interdependent server and client side scripting, you just modify the form in place as the user provides more data. That alone makes Ajax worthwhile. Sure, the new graphical Ajax driven interfaces are fun to play with but at then end of the day it's all about managing data efficiently. That's where Ajax shines. It helps you achieve a nice, tight, minimal implementation while avoiding abstruse and convoluted code.

Lee Hericks 09/19/06 10:16:23 PM EDT

First, let me say that while AJAX is fun, it is not always a best solution. Programming web applications with Ruby on Rails is insanely easy once you learn the conventions. You have to get a feel for the Ruby language first. Then you understand why things are done the way they are. First, hooking up to a database is easy. You add your username and password to the generated database.yml file. Then you develop models in a structured application directory. There are many helpers to easily allow you to model complex relationships, and ActiveRecord will convert the data into objects. I have programmed in PHP and Java, and I tried to learn Hibernate. It is just too complex. Active Record says good bye to boring SQL and hello to OO-style data access. Then, as if that wasn`t cool enough, throw in controllers, actions, and views. Add one line hooks and filters to easily check that a user is logged in or to log web activity. RoR is an amazing and simple framework. It is very true that it`s a new way to program and looks at conventions, but it`s what we have been preaching for the longest time in Software Engineering class, follow best practices. Some amazing web developers and a growing community are pouring great ideas into this project. I will agree with you that the jury is still out for AJAX and best uses of it, but the Prototype Javascript framework has great cross-browser support and that`s why so many web frameworks use it. Even better, Prototype creator Sam created code so you can type easy ruby and have it sent over as javascript. Delete an element on the page? page.remove `elementid`. Simple. Anyway, I understand that it takes a bit of learning to really utilize RoR, but the time saved is money earned, and RoR has internationalization. It could handle your banking app, and the code base could easily be organized. For more on the ease of development, you should see Active Records Migrations and Testing. Some really cool best practices here. Cheers! Lee.

j j 09/19/06 05:15:47 PM EDT

In most cases I'm a patient and tolerant person. Once you get to know me, I'm easy to get along with, occasionally complex, but not very often. My patience and tolerance has pretty much gone out the window in the last week or so. It all stems from two technologies: Ruby On Rails (RoR) and AJAX.

n d 09/19/06 04:56:57 PM EDT

In most cases I'm a patient and tolerant person. Once you get to know me, I'm easy to get along with, occasionally complex, but not very often. My patience and tolerance has pretty much gone out the window in the last week or so. It all stems from two technologies: Ruby On Rails (RoR) and AJAX.

Thor 06/23/06 12:47:41 PM EDT

I think that it is a myth that you are tied to rails conventions. Dig around in the config directory sometime. You can override most rails conventions with your own if you want to.

Dion Hinchcliffe 03/05/06 01:01:18 PM EST

Jason, I'm afraid I have to disagree with you on this occasion. Ajax and RoR are two of the most exciting and compelling things I've seen on the development scene in almost half a decade. The cautionary tale of Python is an appropriate one but it's never a language that looked very good under scrutiny. Ruby, however, very much does. I think you can safely bet heavily on both Ruby and RoR today for a number of solid reasons.

Dion Hinchcliffe
Editor-in-Chief
Web 2.0 Journal

SYS-CON India News Desk 03/03/06 03:05:46 PM EST

In most cases I'm a patient and tolerant person. Once you get to know me, I'm easy to get along with, occasionally complex, but not very often. My patience and tolerance has pretty much gone out the window in the last week or so. It all stems from two technologies: Ruby On Rails (RoR) and AJAX.

Jason Bell 11/30/05 06:36:05 AM EST

RMX, I agree with what you say.

I've been playing with Rails again over the last seven days and I stepped out of Rails conventions my development ground to a halt. That's no fault of anyone, it's just a case of that's how it is and you have to adapt.

Jason Bell 11/30/05 06:30:53 AM EST

Following on from my article I have now seen (and verified) that Ajax does work on the PocketPC.

http://ajaxian.com/archives/2005/11/ajax_on_the_poc.html

Plus it gives a mention that Opera have implemented it in their mobile edition browser.

RMX 11/30/05 04:17:02 AM EST

You write "I don't jump on these things easily, just like I didn't jump on Python. "

Yeah.. and that newfangled Structured Programming just might catch on too; and those dangerous toys like Object Oriented and Functional programming are just so far out there they'll need decades to settle down before I'd jump on that train.

More seriously, Ruby and Rails are the right tools for some jobs (database-backed web apps) and not others (legacy backends that don't follow the rails conventions).

AJAX is the right tool for some applications (intranet applications where you have control over the browser) and not others (general web apps where devices like cell phones are an increasing share of the users).

And neither are the final solution to end all progrmaming languages. Just as dynamic languages with very rich OO features(Python/Ruby) are displacing the less rich static OO languages (Java/C#) and those in turn had largely replaced the previous generation of hybrid OO languages (C++/Objective C) - future languages will bring even more developer efficiency and displace Python and Ruby.

@ThingsExpo Stories
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
Judith Hurwitz is president and CEO of Hurwitz & Associates, a Needham, Mass., research and consulting firm focused on emerging technology, including big data, cognitive computing and governance. She is co-author of the book Cognitive Computing and Big Data Analytics, published in 2015. Her Cloud Expo session, "What Is the Business Imperative for Cognitive Computing?" is scheduled for Wednesday, June 8, at 8:40 a.m. In it, she puts cognitive computing into perspective with its value to the busin...
NHK, Japan Broadcasting, will feature the upcoming @ThingsExpo Silicon Valley in a special 'Internet of Things' and smart technology documentary that will be filmed on the expo floor between November 3 to 5, 2015, in Santa Clara. NHK is the sole public TV network in Japan equivalent to the BBC in the UK and the largest in Asia with many award-winning science and technology programs. Japanese TV is producing a documentary about IoT and Smart technology and will be covering @ThingsExpo Silicon Val...
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal ...
SYS-CON Events announced today that CollabNet, a global leader in enterprise software development, release automation and DevOps solutions, will be a Bronze Sponsor of SYS-CON's 20th International Cloud Expo®, taking place from June 6-8, 2017, at the Javits Center in New York City, NY. CollabNet offers a broad range of solutions with the mission of helping modern organizations deliver quality software at speed. The company’s latest innovation, the DevOps Lifecycle Manager (DLM), supports Value S...
The age of Digital Disruption is evolving into the next era – Digital Cohesion, an age in which applications securely self-assemble and deliver predictive services that continuously adapt to user behavior. Information from devices, sensors and applications around us will drive services seamlessly across mobile and fixed devices/infrastructure. This evolution is happening now in software defined services and secure networking. Four key drivers – Performance, Economics, Interoperability and Trust ...
With billions of sensors deployed worldwide, the amount of machine-generated data will soon exceed what our networks can handle. But consumers and businesses will expect seamless experiences and real-time responsiveness. What does this mean for IoT devices and the infrastructure that supports them? More of the data will need to be handled at - or closer to - the devices themselves.
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Grape Up is a software company, specialized in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the USA and Europe, we work with a variety of customers from emerging startups to Fortune 1000 companies.
Financial Technology has become a topic of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 20th Cloud Expo at the Javits Center in New York, June 6-8, 2017, will find fresh new content in a new track called FinTech.
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...
Multiple data types are pouring into IoT deployments. Data is coming in small packages as well as enormous files and data streams of many sizes. Widespread use of mobile devices adds to the total. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists will look at the tools and environments that are being put to use in IoT deployments, as well as the team skills a modern enterprise IT shop needs to keep things running, get a handle on all this data, and deli...
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound e...
@ThingsExpo has been named the Most Influential ‘Smart Cities - IIoT' Account and @BigDataExpo has been named fourteenth by Right Relevance (RR), which provides curated information and intelligence on approximately 50,000 topics. In addition, Right Relevance provides an Insights offering that combines the above Topics and Influencers information with real time conversations to provide actionable intelligence with visualizations to enable decision making. The Insights service is applicable to eve...
SYS-CON Events announced today that Grape Up will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company specializing in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the U.S. and Europe, Grape Up works with a variety of customers from emergi...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm.
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
@GonzalezCarmen has been ranked the Number One Influencer and @ThingsExpo has been named the Number One Brand in the “M2M 2016: Top 100 Influencers and Brands” by Analytic. Onalytica analyzed tweets over the last 6 months mentioning the keywords M2M OR “Machine to Machine.” They then identified the top 100 most influential brands and individuals leading the discussion on Twitter.
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.