Sharing business logic between server-side and client-side of web application?
- by thoughtpunch
Quick question concerning shared code/logic in back and front ends of a web application.
I have a web application (Rails + heavy JS) that parses metadata from HTML pages fetched via a user supplied URL (think Pinterest or Instapaper). Currently this processing takes place exclusively on the client-side. The code that fetches the URL and parses the…