Scripting languages like PHP, Perl and Python may have taken the Web by storm but the lesser-known Ruby has stepped up to overthrow the might of Microsoft's .Net at search portal schoolseek.com.au.
Like the three Ps, Ruby is an open source scripting language that has found a niche in database-driven Web applications, and is a real time-saver according to managing director of Perth-based Web development company Spin Technologies Jordan Brock.
With five production sites running Ruby, Brock is preparing to migrate schoolseek.com.au, from the .Net framework to the open source scripting language.
"With the original site the client asked for additional features and I sat down and looked at site and realized I could rewrite the site in Ruby with the new features for only about five hours more than just adding the changes," Brock said. "Customers appreciate I can get sites done a lot faster and I can quickly add functionality. Now I can build a full shopping cart in the timeframe of a $5,000 site because the technology doesn't limit you or hinder the way you develop."
The new Ruby-based schoolseek.com.au is expected to go live this month.
Brock said one "great" features of Ruby it supports iterative development without interrupting the rest of the site.
Spin Technologies has now developed a calendar application, front-end sites, and a number of company intranets with the Ruby language and its development environment - Ruby on Rails.
From a pure programming perspective, Brock praised Ruby for its power and simplicity.
"It's like you're creating art when you're writing with Ruby - there's something about it that makes me happy," Brock said. "When I go back to C# I feel like crying. With Ruby on Rails there is something about it that makes it feel natural."
Brock said Ruby is as capable as any other scripting language, and because of its simplicity it's easy to dismiss it as "just another scripting language". "There is very little programming constructs it doesn't deal with," he said. "It has all the power of Perl and C# without the downsides."
Although not familiar with Python, Brock said Ruby is "remarkably" simpler than Perl which has a high barrier to entry whereas Ruby flows "logically" and if you have any programming experience "it all makes sense".
"I love PHP in that the way everything was approached is an improvement to ASP [but] Ruby handles OO better than PHP as every last construct in Ruby is an object, whereas in PHP the OO stuff was plugged on top of it," he said, adding Ruby involves a lot less code and is simpler to maintain.
"Ruby doesn't have the acceptance or knowledge base of Java which has had billions of dollars of development done on it," he said. "That's were Java or C# has an advantage but with time Ruby will change this."
Brock believes there is resistance to Ruby in the enterprise space "possibly because of existing systems like Java" but once people "start playing with it" they will speed its acceptance.
"I can't see NAB replacing its entire systems with Ruby but with something like a user help system, if you can build that in one-third the time using Ruby on Rails why wouldn't you?"
"The big thing that got me was the whole database mapping stuff," Brock said. "You need to add a new field? Just do it and it works."
Brock described Ruby's database support as "fantastic" because it connects to MySQL, SQLite, PostgreSQL, Oracle, SQL Server, and DB2. "There are no configuration files other than the one you specify which database to connect to," Brock said.
It's this model that makes Ruby on Rails database agnostic so developers can code once and transport it to any database. In addition to its database independence, Ruby runs on Linux, Mac OS X, Unix and Windows.
Brock's development platform is Mac OS X but he deploys on FreeBSD Unix.
Ruby can also be used to develop desktop applications but Brock said that's not where its strength lies.
"It's best as a Web development language and Ruby will not replace the .Net framework," he said. "I would bet my business on Ruby as it's very reliable and not likely to buckle under load. There are mission critical sites running on Ruby."
- +
Ticked Off at Tick the Box Mentality 04/02/2008 13:01:15
Does your executive search firm know the difference between an MIS manager and a CIO, and if it does, can it explain that difference to its corporate clients?Does your executive search firm know its MIS managers from its elbow? Does it even know the difference between an MIS manager and a CIO, and if it does, can it explain that difference to its corporate clients?
Read up on the latest ideas and technologies from companies that sell hardware, software and services. Enterprise Wireless WLAN Security
CRM your salespeople will love
Strategies for Eliminating .PST Files
Data grids and service-oriented architecture
Email Archiving 101—Customer Case Study
Cutting printer costs
Refresh your AUP: Top tips to ensure your acceptable use policy is fit for purpose
Best Practice in Building an Integrated Information Management Strategy
Zones provide focussed content from Computerworld and leading technology partners.Discover how SOA can create smarter outcomes for your business.
Attend and learn:
- How SOA is helping leading companies to become more agile
- Where you should be applying SOA processes in your company
- The top SOA implementation mistakes to avoid
Click here for more information.
- +
Computerworld Live Podcast #97: The Future of Enterprise Networking 25/07/2008 09:45:36
This week CW Live chats with Mark Thompson, global sales and marketing manager for HP ProCurve, on the future of the enterprise networking. Mark discusses the trends we can expect to see in the near future and how the right infrastructure can ensure your enterprise network is secure. - +
Computerworld Live Podcast #96: Security at the Edge 11/06/2008 09:22:22
CW Live speaks with Amol Mitra, HP ProCurve Director of Marketing for Asia Pacific and Japan. Today's topic: how enterprises are starting to shift away from simply controlling security via server logins, firewalls and moving to more adaptive security frameworks. - +
Data Management Edition #10: Multi-Petascale Systems 02/05/2008 09:12:33
This week we look at sustainability and the development of multicore technologies to build multi-petascale systems. - +
IT Security Edition #11: How to poison the Storm botnet 01/05/2008 08:51:55
This week CW Live presents a case study on how to poison the notorious Storm botnet . Plus we take a look at Cisco's plans for Ironport. - +
IT Security Edition #10: Cyber-battles fought and won 24/04/2008 11:09:47
Vendors bow to end user pressure to improve product security, and we take a look at the latest concepts shaping the cyber-battlefield of the future.
Vignette Announces 2008 Excellence Awards 2008-11-21 10:50:00+11
PGP and Ponemon Institute Unveil Inaugural Australian Data Breach Study 2008 2008-11-20 17:34:00+11
Symantec Cloud Services Transform Data Centre Operations Through Proactive Management 2008-11-20 12:06:00+11
Verizon Business Offers Tips to Building a Successful Unified Communications and Collaboration Plan 2008-11-20 12:04:00+11
AARNet Brings 4K Digital Cinema to Australia: First 4K HD Video Signal delivered into Australia by AARNet 2008-11-20 12:02:00+11
Gaining Competitive Advantage Through Enterprise Planning
No matter how good its products or innovative its services, no organization can perform to its full potential without an adequate planning structure in place. Discover how this can be done by reading on.









