Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Byteflux
Southern Cross Incorporated Flying Dangerous
17
|
Posted - 2012.09.10 07:38:00 -
[1] - Quote
Greetings, space pimps.
I wanted to share with you something I've been working on for the past few days during my free time (between shooting people in the face and "real life" work):
hamster.js (or just Hamster)
What in space jesus' name is Hamster?!
Hamster is an asynchronous EVE Online API client for Node.js and does not really set itself apart from any other API client for any other runtime aside from being designed with an asynchronous interface in mind.
I wrote it because I enjoy writing JavaScript and its asynchronous nature has always been appealing to me.
Stability:
Hamster is currently very unstable. Considering how new it is, it will probably remain unstable for a while. I will do my best to create a stable API and push for a stable release. Any contributions would be greatly appreciated.
Tests:
It is mostly tested but any contributions in this area would be valued above all others.
Contribute:
To contribute, send a pull request with your change and I'll take a look. Thanks in advance.
License:
Licensed under the MIT license.
Check the Hamster project page on Github for code examples and an overview of its features. |
Peter Powers
Terrorists of Dimensions Free 2 Play
89
|
Posted - 2012.09.10 11:50:00 -
[2] - Quote
frankly i'm not js guy but the result/error handling seems a bit odd to me 3rdPartyEve.net - your catalogue for 3rd party applications |
Callean Drevus
Icosahedron Crafts and Shipping Silent Infinity
127
|
Posted - 2012.09.10 13:36:00 -
[3] - Quote
+1 for calling it hamster :P
This is interesting. I was going to do something with node.js myself, so it pretty nice to see someone is doing stuff with it as well. Will continue monitoring progress on this.
As for the error handling, it looks like pretty default async javascript error handling to me (except for the fact that the error is not actually handled ;) )? Developer/Creator of EVE Marketeer
|
Byteflux
Southern Cross Incorporated Flying Dangerous
18
|
Posted - 2012.09.10 17:18:00 -
[4] - Quote
Peter Powers wrote:frankly i'm not js guy but the result/error handling seems a bit odd to me
In the example at Github, the error doesn't actually get handled so that might seem a bit odd.
If you're referring to the practice of passing error objects to the callback, it's convention in Node.js and many asynchronous JavaScript libraries to have the error bubble up to the top so any errors that occur during the asynchronous function call will be forwarded to your callback.
However, if calling a synchronous function it is common to return the error object or throw it as an exception.
This should help: http://stackoverflow.com/questions/7310521/node-js-best-practice-exception-handling
Callean Drevus wrote:+1 for calling it hamster :P
This is interesting. I was going to do something with node.js myself, so it pretty nice to see someone is doing stuff with it as well. Will continue monitoring progress on this.
Thank you for the support! |
Peter Powers
Terrorists of Dimensions Free 2 Play
89
|
Posted - 2012.09.11 10:35:00 -
[5] - Quote
i see how that makes more sense in the asynchronous context, but it still feels odd for me, but as i said im no js dude..
you should add your project to 3rdpartyeve.net though ;)
3rdPartyEve.net - your catalogue for 3rd party applications |
Byteflux
Southern Cross Incorporated Flying Dangerous
18
|
Posted - 2012.09.11 12:26:00 -
[6] - Quote
Peter Powers wrote:you should add your project to 3rdpartyeve.net though ;) Done.
Thanks for the suggestion!
|
Trenker
18
|
Posted - 2012.09.11 19:04:00 -
[7] - Quote
Did something similar once:
github.com/Trenker/neal
@Peter Powers - that's the new "shiny" web 2.0 way of error handling |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |