Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ARTICLE] E4X with Ruby

Reply
Thread Tools

[ARTICLE] E4X with Ruby

 
 
Daniel Berger
Guest
Posts: n/a
 
      09-11-2004
Hi all,

I came across this article from Jack Herrington on E4X with Ruby:

http://www.onlamp.com/pub/a/onlamp/2...4x.html?page=1

I know E4X has been mentioned here in the past a couple times, but
it's been a while. It seemed pretty neat to me. Any thoughts?

Enjoy!

Dan
 
Reply With Quote
 
 
 
 
Erik Terpstra
Guest
Posts: n/a
 
      09-13-2004
Daniel Berger wrote:
> I know E4X has been mentioned here in the past a couple times, but
> it's been a while. It seemed pretty neat to me. Any thoughts?


I like it, seems ideal for reading and writing configuration files in XML, or 'per
file' XML records.

Erik.
 
Reply With Quote
 
 
 
 
Hal Fulton
Guest
Posts: n/a
 
      09-13-2004
Erik Terpstra wrote:
> Daniel Berger wrote:
>
>> I know E4X has been mentioned here in the past a couple times, but
>> it's been a while. It seemed pretty neat to me. Any thoughts?

>
>
> I like it, seems ideal for reading and writing configuration files in
> XML, or 'per file' XML records.


I like it, too... but I'm wondering about conflicts between XML names
and existing Ruby methods. Or am I misunderstanding how it works?


Hal




 
Reply With Quote
 
gabriele renzi
Guest
Posts: n/a
 
      09-13-2004
Daniel Berger ha scritto:

> Hi all,
>
> I came across this article from Jack Herrington on E4X with Ruby:
>
> http://www.onlamp.com/pub/a/onlamp/2...4x.html?page=1
>
> I know E4X has been mentioned here in the past a couple times, but
> it's been a while. It seemed pretty neat to me. Any thoughts?
>


I love the way rexml can be twisted. I wrote a SimpleXML-like interface
(the new php library for parsing xml) in near to 30 lines, just like it
was did with E4X.
 
Reply With Quote
 
Erik Terpstra
Guest
Posts: n/a
 
      09-13-2004
Hal Fulton wrote:
> I like it, too... but I'm wondering about conflicts between XML names
> and existing Ruby methods. Or am I misunderstanding how it works?


I am not sure either, I haven't read the article yet, but I already knew about E4X.

Anyway, wouldn't the same problem occur with yaml?

Erik.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
E4X "ECMAScript For XML" Patrick.O.Ige ASP .Net 0 01-23-2007 01:25 AM
insert E4X XML tree inside existing DOM tree Joris Gillis XML 2 06-16-2006 08:30 PM
e4x weirdness : <toto/>.nodeKind type is not a function cognominal Javascript 1 04-20-2006 01:38 PM
E4X: can't use "delete" with filter Bob Tinsman Javascript 2 03-15-2006 04:52 PM
E4X/Firefox 1.5: problem using default xml namespace Bob Tinsman Javascript 1 03-15-2006 03:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57