Recent submissions

Comment · 13 years ago
Ok, now I see what you meant. So basically we don't want to limit audience of that idea to just CoffeeScripters. Also: maybe we'll switch to JS some day - if community show the need.
Comment · 13 years ago
We use Around in such cases - it can put original method call to callback of asynchronous method.
Comment · 13 years ago
So the switching your mindset to hexagonal.js is quite hard at the beginning and I think it's the most time consuming part. Then you are very productive - gameboxed.com developed > 20 small and large apps using hexagonal.js last year.
Comment · 13 years ago
We'll try to deliver new examples in pure JS.
Comment · 13 years ago
To be honest most of project I developed with hexagonal.js have Rails as a backend and it's really powerful with sprockets on board. So give it a try, maybe in toy project.
Comment · 13 years ago
Sorry for my poor english, I'm still learning :(
Comment · 13 years ago
Good question. In hexagonal.js approach client side is full app - so there's model part (use case is part of model), glue ~ controller and views are GUI and other adapters.
Comment · 14 years ago
I scoped my blog just to unit tests, because it's short note rather than article. DI can be useful on integration and acceptance level too - for simple apps you should be able to configure whole app or its parts as easy as you run it on production. Without DI you have to do some magic with class / module constants, which can populate on other parts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton