News for hackers. Stuff that matters.
Re:Morpheus – Isomorphic web publishing platform, built with... by gadders on Wednesday January 21, 2015 @12:56PM (#8924367)
I may be thick, but what does isomorphic mean in this context?
Re:Morpheus – Isomorphic web publishing platform, built with... by thirdtruck on Wednesday January 21, 2015 @01:01PM (#8924403)
It's not just you. It's too abstract of a word to tell me anything without more context.

Edit: Here's the definition they're using: http://nerds.airbnb.com/isomorphic-javascript-future-web-app.... In short, "JavaScript that runs on both the client and the server." This goes beyond "using node" to mean that (e.g.) everything is rendered on the server, but that you can also render only parts and send them to the client to handle on its own.

Re:Morpheus – Isomorphic web publishing platform, built with... by isomorphic on Wednesday January 21, 2015 @02:19PM (#8924979)
To be pedantic, when I picked my handle back in the /. days, I thought it meant "a bijective homomorphism." Or, less opaquely, an invertible structure-preserving map (in the context of abstract algebra).

When I read about "isomorphic JavaScript" as, essentially, views rendered with the same code on the client or server (and yet a separate API), I can't help but think "You keep using that word. I do not think it means what you think it means."

Perhaps "symmetric JavaScript" would be better? But then the API is still an asymmetry...

Re:Morpheus – Isomorphic web publishing platform, built with... by thirdtruck on Wednesday January 21, 2015 @03:01PM (#8925304)
Agreed. The software doesn't strike me as really symmetrical or isomorphic. Perhaps a whole different metaphor is in order, assuming the idea is even concrete enough to warrant a short label in the first place. Not all labels need to be (or can be) reduced to a single word.
Re:Morpheus – Isomorphic web publishing platform, built with... by chubot on Wednesday January 21, 2015 @03:21PM (#8925457)
This is the second time I've seen the word "isomorphic" used like this.

https://news.ycombinator.com/item?id=8238239

Not trying to be a snob, but this usage is annoying. I use and like JavaScript, unlike other math snobs :)

Re:Morpheus – Isomorphic web publishing platform, built with... by mambodog on Wednesday January 21, 2015 @01:03PM (#8924422)
Basically, they can leverage the same code on the server and in the browser. Google 'isomorphic javascript'.
Re:Morpheus – Isomorphic web publishing platform, built with... by vesparny84 on Wednesday January 21, 2015 @01:30PM (#8924576)
Hi, here is Morpheus creator. Isomorphic means an application able to share the same state between client/server, and render static html on the first load for attaching to the DOM Javascript behaviors once the DOM is available.
Re:Morpheus – Isomorphic web publishing platform, built with... by duaneb on Wednesday January 21, 2015 @01:39PM (#8924633)
That's an awfully strange way of putting it, I would just call it "cross-platform library". Isomorphism usually has the constraints of full inversion—this seems to imply you can render it on the server and serve it from the browser, and that's not being fulfilled at all. It's not even clear how anything would, as browsers are not typically set up to serve. It's also misleading to people who use the term outside of node servers.

I strongly recommend using "fully shared state" or "client-server application" or something to not imply anything more than DRY logic in javascript across the state of the blog. Otherwise it devalues both your work (doesn't fulfill people's expectations of isomorphism) and the word (it no longer has any meaning).

EDIT: To put it another way, I would expect a server to NOT BE NECESSARY for the client to work, just like clients aren't necessary for the server to function correctly.

Re:Morpheus – Isomorphic web publishing platform, built with... by vesparny84 on Wednesday January 21, 2015 @01:51PM (#8924730)
The server is needed for serving responses to api calls when the user navigates pages. If you don't have server, you won't be able to have a SPA, but just a static generated website.
Re:Morpheus – Isomorphic web publishing platform, built with... by duaneb on Wednesday January 21, 2015 @02:38PM (#8925120)
Exactly, so it's not isomorphic. An isomorphic application wouldn't depend on its inverse to work.
Re:Morpheus – Isomorphic web publishing platform, built with... by vesparny84 on Thursday January 22, 2015 @03:48AM (#8928166)
Isomorphic means corresponding or similar in form and relations, not independently of each other.
Re:Morpheus – Isomorphic web publishing platform, built with... by duaneb on Thursday January 22, 2015 @03:56PM (#8931694)
If it's not independently of each other, it's entirely unclear what the value of the phrase IS. It, again, seems to be reduced to shared logic—a cross-platform library.