> From: Steven Wittens > ... > Implementing a jQuery like query system has opened up a whole > new way of dealing with forms in Drupal. It's a really cool > technique. The best part is that it's relatively easy to > adapt the code to custom structures, as the parsing is > separate from the operators. It's easy to insert your own > tree structure and define custom operators (e.g. > filesystem queries where you use pathnames + filename meta data). > > Has anyone else tried something like this? The jQuery > architecture is definitely useful beyond DOM. I'm thinking if > a bunch of people get together, we could make such custom > "xQuery" systems easy to develop and use. I guess XPath is > something similar, but I honestly don't know how much it's used ;).
Very nifty, Steven. Here's another jQuery-inspired system: Why the Lucky Stiff has written an HTML munger in Ruby called Hpricot, which uses a jQuery-like syntax to manipulate the HTML element tree: http://code.whytheluckystiff.net/hpricot/ -Mike _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
