简体   繁体   English

nodeJS-Express或Meteor或Derby

[英]nodeJS-Express or Meteor or Derby

Recently I'm interested in doing research about nodejs, nosql (mostly mongodb, redis) and decide to make a simple blog using those modern techs (which university professors wont teach me about). 最近我有兴趣研究nodejs,nosql(主要是mongodb,redis),并决定使用那些现代技术制作一个简单的博客(大学教授不会教我这么做)。 Through this progress I think I can improve my own javascript skill and many things about network service development. 通过这一进展,我认为我可以提高自己的javascript技能和许多关于网络服务开发的东西。

A simple blog is a good start to go, then I find out that nodejs on Github and other node-based web frameworks: express, locomotive, railway, etc... problem is they have too many forks. 一个简单的博客是一个良好的开端,然后我发现Github和其他基于节点的Web框架上的nodejs:express,locomotive,railway等等......问题是它们有太多的分叉。

Surely that I can work with some of them by my efforts, because the MVC logic seems the same to all. 当然,我可以通过我的努力与其中一些人合作,因为MVC逻辑看起来对所有人来说都是一样的。 The point is that I want to focus on one framework which is the trend for next 1 year or more later. 关键是我想关注一个框架,这是未来1年或更长时间的趋势。 Express seems well, says railway, locomotive are based on Express, I'll be good if I follow Express at last, but then I found Meteor and Derby. 快递似乎很好,铁路说,机车是基于Express,如果我最后跟着Express,我会很好,但后来我找到了Meteor和Derby。 Now it does mess me a lot about choices. 现在它让我对选择感到困惑。 People said that use proper tool for your own task, here now I'm having time to waste on some, but not all of them. 人们说使用适当的工具来完成你自己的任务,现在我有时间浪费一些,但不是全部。 I think I should clear up some of my thoughts by questioning: 我想我应该通过提问来澄清我的一些想法:

  1. Is that meteor and derby are forks of nodejs? 那流星和德比是nodejs的分叉吗?

  2. Should I choose meteor, derby or locomotive, railway or just simply start with express from the scratch to make my own MVC setup? 我应该选择流星,德比或机车,铁路还是只是从头开始快速制作我自己的MVC设置?

  3. Why do people use Redis for sessions along with Mongodb (or CouchDB)? 为什么人们使用Redis与Mongodb(或CouchDB)一起进行会话? Why dont we just use Mongodb for sessions and main data? 为什么我们不只是将Mongodb用于会话和主要数据?

  1. No 没有
  2. I liked starting with Express because it gives you basic tools and you can build a project structure that works for you. 我喜欢从Express开始,因为它为您提供了基本工具,您可以构建适合您的项目结构。
  3. Redis is super fast but there also is session middleware for mongodb and couchdb. Redis超级快,但也有mongodb和couchdb的会话中间件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在nodejs-express中将函数传递给express-handlebars? - How to pass a function to express-handlebars in nodejs-express? nodejs-express-以mongodb的形式在主数据库上实现Redis缓存 - nodejs-express - Implement Redis caching over main database as mongodb 在nodejs-express车把中更新没有jquery的div内容 - update content of div without jquery in nodejs-express handlebar 在nodejs-Express上生成错误时如何保留表单数据 - How to preserve form data when Error Generate on nodejs-Express 在 NodeJS-Express 应用程序的 DOM 操作中使用 jQuery - Using jQuery in DOM manipulation of NodeJS-Express app 在同一部分中刷新NodeJS-Express Contact Form模板 - NodeJS-Express Contact Form template refresh in the same section Sequelize Nodejs-Express 中的主体解析器错误 API - Sequelize body-parser error in Nodejs-Express API 如何使用我的nodejs-express应用程序处理以https重定向的http请求? - How to handle http requests which are getting redirected as https using my nodejs-express app? 如何从 Nodejs-Express ( MongoDB ) 到 Angular8 FrontEnd 存储、访问和检索图像文件, - How to store, access and retrieve Image files from Nodejs-Express ( MongoDB ) to Angular8 FrontEnd, 无法使用Node.js-express向Cloudant-bluemix数据库发出PUT请求 - Unable to make PUT request to Cloudant-bluemix database using Nodejs-express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM