Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
IncludeJS - Use CommonJS modules inside Ruby/Rails (github.com/walski)
2 points by JustAGeek on May 20, 2011 | hide | past | favorite | 1 comment


A friend of mine ran into the situation of having to implement the same business logic in both Javascript and Ruby.

He wondered how to get around this and his solution is IncludeJS which allows to write the business logic in Javascript and use this code in BOTH Javascript and Ruby. He gave a talk about this during the Railsconf 2011, here's the URL where you can find the abstract and slides which provide some more details about this:

http://en.oreilly.com/rails2011/public/schedule/detail/19412




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

Search: