Re: [nodejs] A microframework in node.js called elet
@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 controller file with method on it will accept the request and render view. This almost leads to MVC pattern with minmum coding by the developers. Thank you On Sunday, 9 August 2015 22:46:17 UTC+5:30, Adam Reynolds wrote: > > 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://github.com/justin-john/elet >> <http://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fgithub%2Ecom%2Fjustin-john%2Felet&urlhash=bOJH&_t=tracking_anet> >> >> >> Please review Elet and let me know how I can improve it. Your suggestion >> will be highly appreciated. If any one of you like to contribute with your >> ideas, please do not hesitate to contact me or make a pull request in >> repository. >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to nodejs+un...@googlegroups.com . >> To post to this group, send email to nod...@googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/f7e69b80-3943-4a02-aa4c-c71922427774%40googlegroups.com >> >> <https://groups.google.com/d/msgid/nodejs/f7e69b80-3943-4a02-aa4c-c71922427774%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/43cd3305-13c9-493c-a3cb-cfc85b246ecc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] A microframework in node.js called elet
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, Tests are first thing that are in my mind now. It's very difficult to check all sceanrio's that are working well will work with new updates. But I'm in confusion which testing framework to be used, whether it be mocha, jasmine or something else. Actually I started this as study purpose to create an wrapper that can be used in web application that doesn't use any external npm dependencies. Thank you once again for pointing me to all these questions. On Sunday, 9 August 2015 22:46:27 UTC+5:30, ajlopez wrote: > > 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 implement async call using fiber > module (but I think it could be "too much") > > - Any example of: authentication, upload file? > > - Maybe cache of compiled templates, like the output of hogan.compile... > Mustache cache the same text, and then skip compile > > - Tests, tests, tests ;-) > > Angel "Java" Lopez > @ajlopez > > > On Sun, Aug 9, 2015 at 3:44 AM, 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://github.com/justin-john/elet >> <http://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fgithub%2Ecom%2Fjustin-john%2Felet&urlhash=bOJH&_t=tracking_anet> >> >> >> Please review Elet and let me know how I can improve it. Your suggestion >> will be highly appreciated. If any one of you like to contribute with your >> ideas, please do not hesitate to contact me or make a pull request in >> repository. >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to nodejs+un...@googlegroups.com . >> To post to this group, send email to nod...@googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/f7e69b80-3943-4a02-aa4c-c71922427774%40googlegroups.com >> >> <https://groups.google.com/d/msgid/nodejs/f7e69b80-3943-4a02-aa4c-c71922427774%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/7073310d-5a78-4230-9e29-0ad7d5594b87%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] A microframework in node.js called elet
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 <http://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fgithub%2Ecom%2Fjustin-john%2Felet&urlhash=bOJH&_t=tracking_anet> Please review Elet and let me know how I can improve it. Your suggestion will be highly appreciated. If any one of you like to contribute with your ideas, please do not hesitate to contact me or make a pull request in repository. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/f7e69b80-3943-4a02-aa4c-c71922427774%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.