News for hackers. Stuff that matters.

Ask HN: OSS library to "apizize" your app?

I'm building an open source library that can apizize any function in your backend just by writing an XML element in a configuration file. It will handle not only the response, but also dispatch the requests. You don't have to deal with formats, authentication and client libraries: it's all handled by the library.

Any thoughts?

Thx.

( 4 comments | on HN )
Re:Ask HN: OSS library to "apizize" your app? by the_sinz on Wednesday September 22, 2010 @12:41AM (#1715199)
Yeah actually It would make me save some time when integrating different backend parts together. When it comes to integration it's definitely a mess dealing with different services and an intermediate layer, if well written, could be the right solution.
Re:Ask HN: OSS library to "apizize" your app? by aphyr on Wednesday September 22, 2010 @01:11AM (#1715245)
-1 for XML configuration, +1 for automation. There are some ripe candidates for shared libraries; auth, routing requests, and serialization chief among them.

I'm also curious about integration--what's the binding to the backend?

Re:Ask HN: OSS library to "apizize" your app? by sinzone on Wednesday September 22, 2010 @01:49AM (#1715313)
I was thinking of implementing first a PHP library, and annotations are not so popular among the PHP community. The binding is achieved through reflection on the functions configured. Different http methods can be configured for every function, and custom complex objects (like a model class) are supported in the response. I plan to add Ruby support with an annotation based configuration as a next step.
Re:Ask HN: OSS library to "apizize" your app? by Raphael on Wednesday September 22, 2010 @01:16AM (#1715248)
what?