Re: What are the weaknesses in Ruby?
- From: Michal Suchanek <hramrach@xxxxxxxxxx>
- Date: Wed, 30 Apr 2008 14:11:28 -0500
On 30/04/2008, Eleanor McHugh <eleanor@xxxxxxxxxxxxxxxxxxxxx> wrote:
On 30 Apr 2008, at 17:27, Phillip Gawlowski wrote:
The web is only good at, in its current form, for CRUD.
And that doesn't even touch on the issue of graceful downgrading.
Silverlight/Moonlight or Flash would make that possible. But those are
much more virtual machines like the JRE or .NET (especially
Silverlight), than than a HTML rendering engine.
Much of the problem is that a Web Browser is not suited to being an
application platform, even though the major browsers have grown into such.
Beyond a certain level of application complexity a choice has to be made
between a hardline REST approach with minimal markup and styling, or a
lightweight client delivered as Flash, Silverlight of Java Applet content
inside a browser page. Both approaches have their problems and for many
kinds of applications such as casual games I can see an argument for
developing dedicated clients and ignoring the browser altogether.
I have written a data entry application in PHP (+JS)(because it is the
only supported relatively secure scripting solution on our server). It
was a port of a DOS FoxPro (or whatever is the 'engine' called)
application. Admittedly the forms are as crude as they were in DOS,
and the tab order is linear. But you get UTF-8, and relatively fast
searches (especially if the result is small). And it works in both FF
and IE so it is quite portable, but I had to implement some parts of
the JS separately for each browser.
As the amount of data entered is small (a few records per day) the
portability is a win. If I had a dedicated server I could write the
application in Ruby but it is not the case. Still for more intensive
use the response times of a web application would be unacceptable.
I don't like stuff like flash for anything important. The renderer is
not free and therefore does not work on many 'more exotic' platforms,
at least not easily. Flash games or cool demos are OK, they either
happen to work or you find something else. But there the usefulness
ends.
GUIs are quite hard to do programatically from scratch, and GUI
builders aren't the easiest thing to work with. One that is quite
acceptable is distributed with DeveloperTools for OS X. Using that
you can make flexible dialogs (or windows with multiple controls) that
expand and contract reasonably with some effort.
It is not very clever by itself but you can specify which parts should
be fixed, and which extensible, and there are many alignment options
to keep stuff together. So far I have not seen any GUI builder that
would do that for me.
And seeing that most dialogs on other platforms are fixed size and
don't react properly when they are localized (changing text length),
the font size changes, or the dialog is forced to expand It would seem
that most GUI builders do not allow to make reasonably flexible
dialogs.
There is another question if dialogs are the desirable communication
tool at all but these are "state of the art", and most users won't
accept any experimental GUI solution anyway.
The most interesting thing for Ruby is probably Shoes right now. It is
supposed to focus on simplicity for both users and programmers using
well known UI elements. I have tried some experimental demo some time
ago. It looked interesting but there were still some rough edges.
Thanks
Michal
.
- References:
- What are the weaknesses in Ruby?
- From: tenxian
- Re: What are the weaknesses in Ruby?
- From: Michael Brooks
- Re: What are the weaknesses in Ruby?
- From: Glen Holcomb
- Re: What are the weaknesses in Ruby?
- From: Marc Heiler
- Re: What are the weaknesses in Ruby?
- From: Marc Heiler
- Re: What are the weaknesses in Ruby?
- From: Phillip Gawlowski
- Re: What are the weaknesses in Ruby?
- From: Eleanor McHugh
- What are the weaknesses in Ruby?
- Prev by Date: Re: Array#first is not Array#
- Next by Date: Why can't I rescue OLE Exceptions?
- Previous by thread: Re: What are the weaknesses in Ruby?
- Next by thread: I broke the autotest :(
- Index(es):
Relevant Pages
|