Re: [nodejs] A microframework in node.js called elet

2015-08-10 Thread Justin John
@Adam This doesn't substitute express at all. Actually, what I tried is to create something that can be used to create web applications without almost no external npm modules(except templates) dependencies. One of feature that I would say is it's ease to create application by creating the some

Re: [nodejs] A microframework in node.js called elet

2015-08-10 Thread Justin John
Thank you @ajlopez I never think about template cahe in this module. It could be a great boost in load time. I don't got usage of async here. Sorry, no example are provided for authentication, upload file now. I'll add these things later. To be frank, I need to work on authenication part. Yes

Re: [nodejs] A microframework in node.js called elet

2015-08-09 Thread Angel Java Lopez
Nice! First suggestions, questions: - Maybe fs.readFileSync in view.js engine method is something to be cached, or replaced by async call (yes, I know, it could imply that engine method becomes async... no free lunch ;-) I would prefer file content caching, and watch file system changes. Or imple

Re: [nodejs] A microframework in node.js called elet

2015-08-09 Thread Adam Reynolds
Had a quick look. Why would I use this over express? On 9 Aug 2015 16:55, "Justin John" wrote: > I would like to present a microframework in Node.js called Elet which was > inspired by CakePHP framework. It helps in building web applications > simpler and require less code. > Please check: https:

[nodejs] A microframework in node.js called elet

2015-08-09 Thread Justin John
I would like to present a microframework in Node.js called Elet which was inspired by CakePHP framework. It helps in building web applications simpler and require less code. Please check: https://github.com/justin-john/elet