I am writing some code shared between the browser and Node where they
both need to do some http client calls. I was thinking of checking
whether I was running in a browser and if the JQuery object was
available and using the jquery.get, post, put methods if so. If
running in node, I was hoping to write a Jquery style wrapper around
node's http client lib so my core code wouldn't have to change. Has
anybody done something like this already? Is the idea of using
JQuery style API to make it more palatable to non Node programmers, a
good one or should I use Mikeal's new Request http lib or some other
simple wrapper. Should I stop worrying about it and get it done
because it will probably take 1 hour, ha.
John
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.