jsfest / 2014-oakland-cfp

Call for proposals for all speakers and events at JSFest Oakland.
24 stars 1 forks source link

what hapi taught us #94

Open selfcontained opened 9 years ago

selfcontained commented 9 years ago

Yahoo! has been service-oriented in the way it builds things for quite awhile. With all of the benefits that provides, one result is that there are often many services that are too low level for UIs to consume directly. We recently had to build a number of front-end applications that needed to interact with some common back-end services, and have been on the quest to find the best solution to sharing backend service calls between them.

We started w/ our frontend node apps serving as the service orchestration layer, and later moved to sharing that logic across apps with modules. Once we moved that into it's own dedicated service, we noticed some interesting side-effects. Things were easier to test both in the frontend and the service orchestration layer. Our error handling improved. Our logging became more robust and useful with a centralized layer handling our service calls. What I'd like to share from our experience, is that there are great benefits to giving the proper attention to this middle tier. Hapi has a lot to offer in solving this class of problems, and because of the effort put into modularizing the functionality, there are useful pieces no matter what you end up building on.

nvcexploder commented 9 years ago

:+1: This looks great! Do you have an email where I can send you further information?

selfcontained commented 9 years ago

bharris at yahoo-inc.com

nvcexploder commented 9 years ago

thanks!

On Tue, Nov 4, 2014 at 4:56 PM, Brad Harris notifications@github.com wrote:

bharris at yahoo-inc.com

— Reply to this email directly or view it on GitHub https://github.com/jsfest/oakland-cfp/issues/94#issuecomment-61743143.