Hacker News new | past | comments | ask | show | jobs | submit login

Someone once gave an example of a 'preview' feature on the client side (like preview the formatting of blog comments) -- then the same code is used on the server to generate the actual view.

I think this was briancarper.net where - since he's using clojure on the server - ended up running a javascript interpreter (rhino) on the server so that the same formatting code could run on the client and server.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: