Javascript Everywhere

Decided to use/learn nodejs + express and mongodb in my toy project, I enjoy using Javascript in every level of my code. I program with Javascript in frontend, webserver and database logics. All my data is either a JS object or a JSON/BSON data. This way I don’t need to switch context and don’t need to rewrite the same functions for each language from scratch. I still copy functions for frontend and and backend, but may start playing with libraries that make it possible to reuse the same javascript code in frontend and backend. However, I’m not sure if it’s practical.

This entry was posted in javascript, nodejs, sips and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>