473,652 Members | 3,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ruby on Rails?


Dr. Dobbs has a /glowing/ article on Ruby on Rails this month.

What do you guys think?

Can it replace .net, php and java?

And be the Open Source OOP web solution that is not bound to Sun or MS?

http://media.rubyonrails.org/present...itofbeauty.pdf

May 15 '06 #1
44 2843
Hello, John!

JAB> What do you guys think?

JAB> Can it replace .net, php and java?

IMO Ruby is not so popular as above mentioned technologies. AFAIR it is interpreted language, that can hurt performance.

OTOH, Ruby has simple syntax, and can increase productivity if properly used ( what technology can't :8-) )

http://pluralsight.com/blogs/dbox/ar.../27/22819.aspx
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
May 15 '06 #2

"John A. Bailo" <ja*****@texeme .com> wrote in message
news:y6******** *************** *******@speakea sy.net...

Dr. Dobbs has a /glowing/ article on Ruby on Rails this month.

What do you guys think?

Can it replace .net, php and java?

And be the Open Source OOP web solution that is not bound to Sun or MS?

http://media.rubyonrails.org/present...itofbeauty.pdf


I'll be the first to agree that the first few snippets in that PDF look
quite pretty. It's clean looking code of which you can easily predict what
it actually does (which i suppose is in line with Matz' philosophy). This
doesnt apply to the later examples for me though.

That said, i cant say i'm a huge fan of the language itself. I've actually
fiddled with Ruby for a few days a couple of weeks ago and there were just a
lot of language features that i find questionable or just "not nice". That
said, if it is an improvement it'll slowly but surely float to the top of
the most-used languages charts anyway. I'll spend some more time on it,
maybe i'll have to adjust my opinion after a more thorough/lengthy review of
Ruby ;)

As for Ruby on Rails, i dont think it will replace .NET / Java J2EE / PHP
any time soon.

- Remon
May 15 '06 #3
John A. Bailo wrote:

Dr. Dobbs has a /glowing/ article on Ruby on Rails this month.

What do you guys think?


I think the timing is none too subtle, with the Rails conference coming
up in Chcago next month. (I'm going.)
May 15 '06 #4
asj
John A. Bailo wrote:
Can it replace .net, php and java?


No. Hype passes unless it has widespread industry or popular backing.
Ruby has neither, although JRuby on Rails is being pushed in JavaOne
this week.

*Posted from Javaland using Opera Mini Java browser on a Nokia 9300.

May 15 '06 #5
John A. Bailo wrote:
Can it replace .net, php and java?


Can mustard replace ketchup, mayonnaise and soy sauce?

What forces you to think of this in the "dominance" frame, anyway?
Some people program web services in Rails because it is really easy and
it gets the job done well enough. There is a department in my company
that makes all of its services (internal business) in Rails. Every one
of the people in that group is an expert in Java/J2EE and is also a very
experienced C programmer, all with decades of experience. They are
doing web projects in Rails and nobody is complaining. In this world,
that's the bottom line.
May 15 '06 #6
On Mon, 15 May 2006 16:35:23 +0100, John A. Bailo <ja*****@texeme .com>
wrote:

Dr. Dobbs has a /glowing/ article on Ruby on Rails this month.

What do you guys think?

Can it replace .net, php and java?


From what I've seen of Rails, it is most likely to catch on in the areas
where PHP and JavaEE (or .Net) overlap as viable alternatives for web apps
(the kind of smallish web apps that in Java tend to use just a bunch of
servlets or JSPs and a database). Rails will give you more structure than
PHP without the overhead of Java (in terms of verbosity and
configuration). I don't see Rails in its current incarnation threatening
the kind of high-end enterprise areas where Java is currently dominant.

Dan.

--
Daniel Dyer
http://www.dandyer.co.uk
May 15 '06 #7

John A. Bailo wrote:
Dr. Dobbs has a /glowing/ article on Ruby on Rails this month.

What do you guys think?

Can it replace .net, php and java?
These three things are quite different in terms of the whole breadth of
the solution spaces they solve compared to RoR. PHP is about the
closest in terms of covering "the web". Java has other uses that RoR
does not address. Same with .NET iirc. No, I don't think it can replace
them then other than a share of each of them as far as their
involvement with web sites. Maybe I'm wrong and RoR is more but I
thought Ruby was more of the generic language and RoR was the
specialization/libraries for web site creation. As long as some people
out there have invested their mental energy and refused to become jacks
of all languages (there are a lot of language zealots out there), I
don't see RoR replacing or even dominating any time soon. It is a great
technology though. I would agree that the article rather does glow and
perhaps even glitters.
(http://en.wikipedia.org/wiki/Glittering_generalities)

And be the Open Source OOP web solution that is not bound to Sun or MS?

http://media.rubyonrails.org/present...itofbeauty.pdf


Nice article. Does have some information that is new to perhaps quite a
few. Nicely presented.

John Gagon

May 15 '06 #8

"Remon van Vliet" <re***@exmachin a.nl> wrote in message
news:44******** *************** @news.xs4all.nl ...

"John A. Bailo" <ja*****@texeme .com> wrote in message
news:y6******** *************** *******@speakea sy.net...

http://media.rubyonrails.org/present...itofbeauty.pdf
[...]
This [the fact that you can easily predict what it actually does] doesnt apply to the later examples for me though.


I even had trouble with the early examples.

<example>
class Account < ActiveRecord::B ase
validates_prese nce_of :subdomain, :name, :email_address, :password
validates_uniqu eness_of :subdomain
validates_accep tance_of :terms_of_servi ce, :on => :create
validates_confi rmation_of :password, :email_address, :on => :create
end
</example>

Okay, so as a human with an understanding of the semantics of the chosen
names, it looks to me like these validates_foo things describes the account.
The :foo stuff looks like it describes the validate_foo things coming right
before it. For example, ":password" is what ":validates_con firmation_of"
actually validates the confirmation of. and ":on => :create" is when the
validation occurs (upon creation of the account, is my interpretation) .

But then...

<example>
class Project < ActiveRecord::B ase
belongs_to :portfolio
has_one :project_manage r, :class_name => "Person"
has_many :milestones, :dependent => true
has_and_belongs _to_many :categories, :join_table "categorization "
</example>

Does ':class_name => "Person"' modify has_one? Or does it modify
:project_manage r? If we're going for consistency, then this says to me that
the "class_name " of "has_one" is "Person". If we're going for common sense,
the programmer probably meant to say that project managers are people.

So is this an error in the code? Or is this correct Ruby code? I have no
idea.

<quote>
You can recognize truth by
its beauty and simplicity.
When you get it right, it is
obvious that it is right.

Richard Feynman, Scientist
</quote>

This wasn't at all obvious to me. What was also amusing to me was that
immediately after that quote, the first example given was:

<example>
Account.transac tion(david, mary) do
david.withdrawa l(100)
mary.deposit(10 0)
end
</example>

and this is a textbook example of how NOT to do a bank account transaction
system (threading issues, lack of check for sufficient funds, etc.).

- Oliver

May 15 '06 #9
asj schrieb:
John A. Bailo wrote:
Can it replace .net, php and java?


No. Hype passes unless it has widespread industry or popular backing.
Ruby has neither, although JRuby on Rails is being pushed in JavaOne
this week.


PHP had neither, and it is a de-facto standard today.
May 16 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3060
by: Useko Netsumi | last post by:
or perhaps Java for developing web application? I've develop a few applications using PHP/MySQL/Apache and its growing in size. After reading the Ruby tutorial, and do a simple script, I kind of like this ease of use and a much cleaner language. But I have reservation about its viability as a dominant web programming language/tools. As with PHP, everywhere you look its PHP, perhaps it has extensive bell and whistles for web programmers...
23
2543
by: flab ba | last post by:
The pragmatic programmers (Dave & Andy) are spreading a good word about RubyOnRails. I was wondering if there are any Python programmers who are /also/ familiar with Rails - and if they could recommend something in the Python world that is comparable. -Flab
12
2617
by: Gary Nutbeam | last post by:
I've noticed that the Perl camp has a very nice web/database environment called Maypole. Ruby has the Rails environment which on the surface seems similar to Maypole. I can't find anything in Python that ties a database to a web interface anywhere near as well as Ruby on Rails or Maypole. I see the behemoth Zope having the best web/database integration, but unfortunately I don't want to spent weeks writing xml for the interface. Does...
65
5402
by: Nikolas Hagelstein | last post by:
Hi, First of all: i spend a lot of time on thinking and researching about how to make developing webapplications with php a more structured/systematic thing. I even fancied to switch over to jsp since i heard all those stiltedness rumors about it's professionalism/stability etc. Anyway my current attitude is that fullfilling the following needs would make application depvelopment via PHP a really
65
5504
by: Amol Vaidya | last post by:
Hi. I am interested in learning a new programming language, and have been debating whether to learn Ruby or Python. How do these compare and contrast with one another, and what advantages does one language provide over the other? I would like to consider as many opinions as I can on this matter before I start studying either language in depth. Any help/comments are greatly appreciated. Thanks in advance for your help.
5
2328
by: Matias | last post by:
I'm not asking if it's better or not than php... I want to know the opinions of web developers about this new toy... Byee..
9
21060
Niheel
by: Niheel | last post by:
I've used the following tutorials to help be get a better understanding of Ruby On Rails or ROR. Installing Ruby on Rails - Fedora / Lighthttpd Tutorial & Setup for Ruby on Rails Rolling with Ruby on Rails Rolling with Ruby on Rails - Part II Learn to Program with Ruby - by Chris Pine Programming Ruby - Pragmatic Programmer's Guide Ruby User's Guide - Mark Slagell
10
3780
by: lawrence k | last post by:
I work mostly in PHP, but at the web design firm where I work we are thinking of switching to Ruby on Rails. Our lead designer recently installed Typo on a client's site and he said to us, with surprise, "All Ruby On Rails software has the same directory layout?" That was a revelation to him. He was used to the PHP scene, where diversity is the rule. I've done some google searches and I see that the subject has seen a fair amount of...
9
2305
by: Erwin Moller | last post by:
Hi Group, This may seem a odd question in a PHP group, but I think this might be a good place to ask since I am mainly a PHP coder these days that maybe starts with Ruby. Situation: A client of a friend of mine asked me to take over a project done in Ruby. (The original programmer appearantly behaved like an @ss and his client wants to get rid of him.)
1
1623
by: LinkExchange.AB | last post by:
iTechArt has specialized in Ruby on Rails (ROR) development and provides a complete software outsourcing services for web development solutions based on Ruby. We suggest use Ruby framework for developing database-backed web applications with Ajax on front-end because it's a great fit for practically any type of web application: collaboration, community, e-commerce, content management and statistics. Ruby development environment and...
0
8367
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8703
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.