Echo JS 0.11.0

<~>
mulderp 4045 days ago. link parent 3 points
thanks! this is still very experimental. But translating the Ruby source 1-1 so far went quite well. I am not yet so experienced with express.js. For example, maybe there are some other approaches to the templating. I am mainly experimenting with the Redis/Promisses setup.

Another interest for this would be adding a JS frontend (possibly Backbone driven). Also, it might be interesting to include an requireJS/Asset Pipeline approach.

Replies

fcambus 4043 days ago. link 2 points
Tried it after answering your comment, and it could display the news titles from my test instance, so I would say it's a really good start!

Regarding templating, there doesn't seem to be anything viable written in Node which would be similar to Lamer News HTML generator or to Erector :)
mulderp 4042 days ago. link 1 point
Thanks! Good to hear it is working for you.
Yes, my thoughts on templating currently keep it simple from viewpoint of development, not so much for performance issues. But Node is much faster than Ruby too, and maybe someone is already working on a Viagra templating approach for Node :)
fcambus 4042 days ago. link 1 point
That makes sense yes! :) I see you are using EJS templates, they look pretty similar to ERB templates actually, seems like a good choice indeed.
mulderp 4042 days ago. link 1 point
Yes, just got the login/signup routes working. I guess I post here in some days when there is substantial progress. Will be interesting to see a full JavaScript stack for this forum.