TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Non-framework approach to JavaScript apps - hexagonal.js

30 pointsby andrzejkrzywdaabout 12 years ago

7 comments

ganarajprabout 12 years ago
When I went ahead and had a look at one of the examples of hexagonal.js, Misko Hevery's answer in quora <a href="http://www.quora.com/Ember-js/Which-one-of-angular-js-and-ember-js-is-the-better-choice" rel="nofollow">http://www.quora.com/Ember-js/Which-one-of-angular-js-and-em...</a> immediately came to my mind. He notes that there are 3 ways to bind data to view. 1 ) in the code - jquery way 2 ) In html bindings - angular way 3 ) in a metadata file.. which is the glue that is professed in this library.
评论 #5264391 未加载
skywalkabout 12 years ago
According to the page, it's neither a framework, nor a library - isn't that a bit counterintuitive? That makes it sounds as if it is beyond any of the existing styles of code reuse in software development, which is not the case.<p>I'm sure many would identify it as a library in the classical sense, since it is a bundle of code you include in your application and make calls to.
评论 #5264499 未加载
评论 #5266826 未加载
MatthewPhillipsabout 12 years ago
Maybe I'm not "getting it", but what is the difference between:<p><pre><code> After(@useCase, "askForName", =&#62; @gui.showAskForName()) </code></pre> vs.<p><pre><code> @useCase.askForName() @gui.showAskForName() ?</code></pre>
评论 #5264991 未加载
评论 #5264949 未加载
bestestabout 12 years ago
I'd love to check it out, but I had too much coffee. Pun intended.
warfangleabout 12 years ago
Don't call something .js if it's all in .coffee.
评论 #5264497 未加载
bjfletcherabout 12 years ago
Is hexagonal.js basically a very simple state machine framework? :) E.g., <a href="https://github.com/pluginaweek/state_machine" rel="nofollow">https://github.com/pluginaweek/state_machine</a>
iricktabout 12 years ago
Previous discussion: <a href="http://news.ycombinator.com/item?id=5237977" rel="nofollow">http://news.ycombinator.com/item?id=5237977</a>