Created
April 15, 2010 20:34
-
-
Save hosh/367612 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I don't need this right now but I will need them for this current project over the summer. | |
Here's what I'm thinking: | |
- Build it on top of RESTClient | |
- On the surface, it should be compatible with ActiveResource | |
- Maybe take advantage of .to_model interface with ActiveORM in Rails3 | |
- Use Addressable as Jesse suggests, to construct the URL | |
- Defaults to Yajl, switchable to JSON gem | |
- Defaults to Nokogiri + libxml2 | |
- Pluggable backend: Net::HTTP or EventMachine's HTTP | |
- Pluggable auths | |
- Pluggable pagination | |
I was running late this morning after losing a money order. It turned out that I didn't really lose it, | |
but I wouldn't have wasted so much time arranging a refund if I kept my composure. So I thought 'composure' | |
is a good name for a successor of ActiveResource / HyperActiveResource / HTTParty. | |
I personally care more about being able to use yajl, libxml2, !Net::HTTP, and probably the auths and | |
pagination. My needs will require reliability over large transactions, which is why I'd need something | |
more robust than Net::HTTP | |
Let me know what you guys think. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment