in reply to Re: XML::LibXML - WHAR HASH TREES WHAR?!
in thread XML::LibXML - WHAR HASH TREES WHAR?!
Yes, gmpassos is M.I.A., this means you can take over maintenance/development of XML::Smart -- you can also fork the codebase at any time.
That's not my point, and something I don't have the time for right now. XML::Smart is mostly dead and XML::LibXML is now the currently maintained XML module. My point is that with all of the development and talk about how great this module is, why hasn't there been some efforts to make it more elegant and "sugary"?
Actually, no, it really isn't. It is quite comprehensive and complete; in any case, as they say, patches welcome
A typical RTFM-like response, hmm?
And again, the docs are spread all over creation. Quick, tell me how to create a XML tree of nodes. Well, that's going to diving into 4-5 different module docs to look up the appendChild, setText, etc. methods. Not to mention that there are about 10 different ways to create these things and there is no tutorial saying "Okay, this is the RIGHT way to do it that uses the least code."
For that manner, can anybody tell me how XML::LibXML::SAX works? Because the documentation there doesn't give me any methods to use. Even the other sections, like this one, literally say "Usage is as above", which means "I'm too lazy to actually list out the methods for this module." Meanwhile, XML::LibXML::SAX::Parser, the class that isn't "DEPRACED" has absolutely no documentation.
Actually, no it wasn't. jQuery was created because html/browsers did not expose xpath to javascript. XML::LibXML gives you xpath.
And did they implement XPath? No. They used the CSS selector language to grab nodes. Why? Because everybody was familiar with it and we don't need Yet Another Selector Language. Just stick with one and be done with it.
Any idiot can define a one char shortcut for document.getElementById
Yes, and when millions of "idiots" are defining one-char shortcuts for a function, there is something wrong with the function.
Eh?
Okay, that's just a list of random modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XML::LibXML - WHAR HASH TREES WHAR?!
by Anonymous Monk on Jul 16, 2011 at 03:35 UTC | |
|
Re^3: XML::LibXML - WHAR HASH TREES WHAR?!
by SineSwiper (Beadle) on Jul 15, 2011 at 23:42 UTC | |
by Anonymous Monk on Jul 16, 2011 at 02:55 UTC |