Live data from Hacker News

Introducing hexagonal.js

blog.arkency.com

1–10 of 43 posts

Re: Introducing hexagonal.js

#3

How can it be a good thing to follow the MVC framework on both the client side and the server side, as it says in it's philosophy, when the client side is the V in MVC?

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.

Re: Introducing hexagonal.js

#4
There's far too many typos for me to have any amount of confidence in the code itself.

Sorry, but I can't trust my business with people who cannot even be bothered to write proper English for their introduction.

Re: Introducing hexagonal.js

#5
post #3

How can it be a good thing to follow the MVC framework on both the client side and the server side, as it says in it's philosophy, when the client side is the V in MVC?

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.

Thanks for letting me know. I'll not be rushing out to add hexagonal.js to my Rails app, but if one of my friends who likes js wants to try building their own full app I'll mention this as a possibility.

Re: Introducing hexagonal.js

#6
post #4

There's far too many typos for me to have any amount of confidence in the code itself. Sorry, but I can't trust my business with people who cannot even be bothered to write proper English for their introduction.

Sorry for my poor english, I'm still learning :(

Re: Introducing hexagonal.js

#7
post #3

Earlier quoted context omitted.

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.

Thanks for letting me know. I'll not be rushing out to add hexagonal.js to my Rails app, but if one of my friends who likes js wants to try building their own full app I'll mention this as a possibility.

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.

Re: Introducing hexagonal.js

#8
post #4

There's far too many typos for me to have any amount of confidence in the code itself. Sorry, but I can't trust my business with people who cannot even be bothered to write proper English for their introduction.

I think that's a really nasty way to begin a conversation. It wasn't that bad at all.

It's a pitch from dedicated folks. Treat it as such?

On topic: Looks like an interesting collection of ideas, and as I've never heard of hexagonal architecture I'll definitely have to look into this. Always researching better ways of doing structure.

Re: Introducing hexagonal.js

#9

How can it be a good thing to follow the MVC framework on both the client side and the server side, as it says in it's philosophy, when the client side is the V in MVC?

Why can't MVC be compositional? The model of the client can come from the server's view. For example, a server could follow MVC, where the view is responsible for forming the data (such as in JSON or XML). In turn, that could form the model for the client's use of MVC.
Post reply on HN