Question

I have tried nodejs for a month, but finally, I'm don't like asynchronous-style programming.

I just found ringojs which seems synchronous-style. I wonder if I can use mongoose and express with it?

Was it helpful?

Solution

Both Express and Mongoose are fundamentally built around Node and are asynchronous by design. Ringojs is a different beast than Node. Use something from Ringo's ecosystem. Even if you somehow got Express working, it would probably be a ton of trouble to get and keep it working correctly. If Ringo doesn't have anything in its own ecosystem worth using then it would probably be a good idea to think twice about using it.

OTHER TIPS

Both node.js and ringo.js rely on Common.js specifications so there is a good chance of module compliancy, at least the basic ones.

As mongoose rely on native driver, I am not sure how this is handled by Ringo.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top