4 ms·
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 a
by vesparny84 12y ago
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.
- duaneb 12y agoThat'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.
- vesparny84 12y agoThe 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.
- duaneb 12y agoExactly, so it's not isomorphic. An isomorphic application wouldn't depend on its inverse to work.
- vesparny84 12y agoIsomorphic means corresponding or similar in form and relations, not independently of each other.
- duaneb 12y agoIf 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.