[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

xml + ruby

paul vudmaska

10/3/2003 7:12:00 AM

>>---------
James Britt <jamesUNDERBARb@seemyemail.com>
I suspect it's the context. Many (most?)
ECMAscripters are doing web
development and are perhaps mainly focused on the data
and markup;
scripts are just another way to manipulate
pointy-bracketed data, not
manage complete business processes. So adding
markup-centric syntax
sort of makes sense.
-----------<<

My interest for it is for web stuff for sure and maybe
that has led to the disconnect here. Good point.

>>not manage complete business processes<<

ecmascript is a class oriented general purpose
scripting language just like Ruby and it is used (a
lot!) supporting the entire business cycle - just like
you would with java or language x or ruby. It is just
not compiled. Witness the use of ECMAScript (as
opposed to vbscript) with ASP/IIS. We used it in a
large cororation for moderately large applications
with great success because of it's simplicity and
class orientation, which allowed us to protect our
code. It is 'missing' cool things like interpolation
and iterators - but it is quite sound, imo, and not
some 'scripty' thing like you suggest. Much of m$'s
site is written with this - some of it even works ;).
Ecmascript if my favorite language on tues,thurs.
Knock it if you want ;/


As for the conflict with characters in ruby names,
unfortunately I can suggest no obvious solution -
maybe use xpath where the easy way is not acceptable.
Also someone mentions 'just getting to the element he
wants' without using a long path. Again, xpath, would
be the direct/best approach perhaps.


:pv




__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping...

1 Answer

James Britt

10/3/2003 3:00:00 PM

0

paul vudmaska wrote:
>>>---------
>
> James Britt <jamesUNDERBARb@seemyemail.com>
>
>>>not manage complete business processes<<
>
>
> ecmascript is a class oriented general purpose
> scripting language just like Ruby and it is used (a
> lot!) supporting the entire business cycle - just like
> you would with java or language x or ruby. It is just
> not compiled. Witness the use of ECMAScript (as
> opposed to vbscript) with ASP/IIS. We used it in a
> large cororation for moderately large applications
> with great success because of it's simplicity and
> class orientation, which allowed us to protect our
> code. It is 'missing' cool things like interpolation
> and iterators - but it is quite sound, imo, and not
> some 'scripty' thing like you suggest. Much of m$'s
> site is written with this - some of it even works ;).
> Ecmascript if my favorite language on tues,thurs.
> Knock it if you want ;/

I'm not knocking it; I'm aware of it's features, have used it quite a
bit, and I like it a lot.

http://www.jamesbritt.com/index.rb/2003/Sept/23#The_Kewlness_of_...

But my impression is that, despite Ecmascript's qualities as a language,
it has been surplanted by JSP/Servlets/Java and marginalized (however
unfairly) as a "mere" Web scripting lanaguage. I can't remember the
last time I saw a job ad mentioning server-side javascript.

As with Ruby and other langauges, once some people have relegated a
language to the scripting ghetto it is hard to get them to see it any
differently.

James Britt