您的位置:首页 > Web前端 > JavaScript

(01)JS大法好,JavaScript一统天下开篇

2016-04-19 11:07 501 查看
作为MEAN学习记录的开篇,希望能坚持到最后。有幸看到这里的同学如果想一起学习,戳这里下载调料包。

MEAN is an abbreviation for MongoDB, Express, AngularJS, and Node.js. The concept behind it is to use only JavaScript driven solutions to cover the different parts of your application. The advantages are great and are as follows: // MEAN是MongoDB, Express, AngularJS和 Node.js首字母缩写,真正的思想是只使用就能贯穿应用的各个部分。优点如下:

A single language is used throughout the application//你只要会写JS就好了

All the parts of the application can support and often enforce the use of the MVC architecture//应用的各个模块可以支持MVC,并让你加强对MVC架构使用的认知?

Serialization and deserialization of data structures is no longer needed because data marshaling is done using JSON objects//再也不需要进行数据结构的序列化和反序列化,因为数据本身就是JSON对象。

However, there are still a few important questions that remain unanswered:

还是有一些问题需要通过学习来解答:

- How do you connect all the components together?//如何链接各个组件?

- Node.js has a huge ecosystem of modules, so which modules should you use?//Node拥有庞大的modules社区,那我们该用哪些呢?不知道什么意思的直接点这里

- JavaScript is paradigm agnostic, so how can you maintain the MVC application structure?//JS下的MVC该如何组织?

- JSON is a schema-less data structure, so how and when should you model your data?//JSON是弱模式的数据架构,那数据又该怎么组织?

- How do you handle user authentication?//认证授权又该怎么处理?

- How should you use the Node.js non-blocking architecture to support real-time interactions?//在Node的无阻赛架构下如何支持实时交互?

- How can you test your MEAN application code base?//怎么测试?

- What kind of JavaScript development tools can you use to expedite your MEAN application development process?//JS开发IDE的选择?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息