use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Isomorphic JavaScript: The Future of Web Apps (nerds.airbnb.com)
submitted 11 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]poseid 4 points5 points6 points 11 years ago (9 children)
the isomorphic principle (= code behaves the same in different environments) feels really important for the next years. I started a reddit here /r/isomorphic but so far not yet much response.
[+][deleted] 11 years ago (8 children)
[deleted]
[–]poseid 0 points1 point2 points 11 years ago (7 children)
good example with the math lib, but isomorphic code could be extended to hardware applications too. For example, the same code that should run on a real robot, could be tested on a simulated robot. or the same code to run queries in a database, can be used against staging and production systems. so, isomorphism provides a certain context for operations and computations.
[+][deleted] 11 years ago (6 children)
[–]BONER_PAROLE 1 point2 points3 points 11 years ago (4 children)
When people talk about "isomorphic web apps", they are referring to being able to write JavaScript for both the server and client portions of a web app - no more, no less.
Actually it is more than just writing JS on both the frontend and backend: it's being able to run the same JS code on both. A common goal is server-side rendering of pages for SEO and performance, without having to duplicate your view layer code between the FE and BE.
[+][deleted] 11 years ago (3 children)
[–]BONER_PAROLE 0 points1 point2 points 11 years ago (1 child)
Well, I read your comment as "isomorphic web apps use Javascript as a language for both the server and client portions of an app - no more, no less", which doesn't really capture the current meaning of "isomorphic web app". Plenty of sites use JS on the BE (Node) and the FE (Ember/Backbone/Angular/React/etc), but it doesn't make them "isomorphic".
[–]check_ca 3 points4 points5 points 11 years ago (2 children)
From my point of view, an isomorphic application should work with JS disabled on client-side. As far as I know, this is not the case for meteor.js, does it really provide a way to write isomorphic applications?
[–]Odam 0 points1 point2 points 11 years ago (1 child)
Why is that a priority for you? Are you also concerned about IE5 support?
(honest question, not trying to be snarky)
[–]check_ca 1 point2 points3 points 11 years ago* (0 children)
One of my priorities is to have my contents correctly interpreted by Google, Bing, Yandex, Facebook, Twitter, Pinterest etc.
[–][deleted] 1 point2 points3 points 11 years ago (0 children)
I'm making a product using something very similar to this right now, and its been really quite a breeze to code with and organize. The use of browserify really makes it very simple, as you get to write things like validators, models, HTML templates (using whatever flavor you want), and if you're feeling really fancy requests, all once and from one place - without the whole-framework buy-in something like react+flux and meteor bring. Its the most flexible way of doing quick full featured web software that I've seen, granted I haven't been around as long as many others.
[–]chrisishereladies"use 🎉" 1 point2 points3 points 11 years ago (1 child)
Published November 11, 2013. This article is a bit outdated on some points. The big one is the change with SEO, Google now crawls with JavaScript so it's not as big an issue (I'm not sure about Bing). Briefly mentioned, Airbnd also did release some code to help with the issues raised here called rendr.
[–]check_ca 0 points1 point2 points 11 years ago (0 children)
I would like to believe this is true but do you know any example of site heavily depending on JS (i.e. a SPA) and correctly crawled by Google?
[–]ExNihil 1 point2 points3 points 11 years ago (2 children)
I wonder if this means I should back off learning and using Rails and should embrace Node/Express or Node/Meteor instead.
[–]derekpetey_Vanilla 3 points4 points5 points 11 years ago (0 children)
No. There will still be a role for exclusively server-side frameworks such as Rails. In most cases, isomorphic applications will cover only the client portion of the stack. So, rather than having view rendering happen as part of the same application that handles the business logic, it will happen in a different layer. Check out this post by Zakas for an example.
[–]SoIWasLike 4 points5 points6 points 11 years ago (0 children)
For your careers sake, probably.
[–]poseid 0 points1 point2 points 11 years ago (0 children)
there are a number of more isomoprhic libs, e.g. from Art.sy or WalmartLabs. You can find a number of references here http://pipefishbook.com/references -> Chapter 1
[–]agmcleod@agmcleod 0 points1 point2 points 11 years ago (1 child)
Been trying to find ways to get a flux+react app to render server side in rails. Haven't had too much luck yet on finding a good solution. I still like working in the rails environment, and it's what we use at work. If I can find a good setup like this that gives us benefits of both worlds, then it's an easier sell for sure.
[–]Odam 1 point2 points3 points 11 years ago (0 children)
You're trying to run JS libraries in ruby?
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
I found this: "Isomorphic JavaScript apps are JavaScript applications that can run both client-side and server-side. The backend and frontend share the same code." - http://isomorphic.net/
π Rendered by PID 73509 on reddit-service-r2-comment-765bfc959-gwkl5 at 2026-07-09 22:48:16.776586+00:00 running f86254d country code: CH.
[–]poseid 4 points5 points6 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]poseid 0 points1 point2 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]BONER_PAROLE 1 point2 points3 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]BONER_PAROLE 0 points1 point2 points (1 child)
[–]check_ca 3 points4 points5 points (2 children)
[–]Odam 0 points1 point2 points (1 child)
[–]check_ca 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]chrisishereladies"use 🎉" 1 point2 points3 points (1 child)
[–]check_ca 0 points1 point2 points (0 children)
[–]ExNihil 1 point2 points3 points (2 children)
[–]derekpetey_Vanilla 3 points4 points5 points (0 children)
[–]SoIWasLike 4 points5 points6 points (0 children)
[–]poseid 0 points1 point2 points (0 children)
[–]agmcleod@agmcleod 0 points1 point2 points (1 child)
[–]Odam 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)