Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish the translation of background.md #69

Merged
merged 6 commits into from
Oct 30, 2018

Conversation

andycall
Copy link
Member

@andycall andycall commented Oct 20, 2018

the first step #65

source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
-----

2008年,V8 引擎随 Chrome 浏览器横空出世,JavaScript 这门通用的 Web 脚本语言的执行效率得到质的提升。 V8 引擎的出现,注定是 JavaScript 发展史上一个光辉的里程碑。它的出现,让当时研究高性能服务器开发、长时间一筹莫展的 [Ryan Dahl](http://tinyclouds.org/) 有了新的、合适的选择,不久,在2009年的柏林的 JSConf 大会上,基于 JavaScript 的服务端项目 Node.js 正式对外发布。Node.js 的发布,不仅为开发者带来了一个高性能的服务器,还很大程度上推动了前端的工程化,带来了前端的大繁荣。与此同时,因为 JavaScript 执行效率的巨大提升,越来越多的业务逻辑开始在浏览器端实现,前端逻辑越来越重,前端架构随之提上日程。于是,我们谈论的主角,MVVM 模式,走进了 Web 前端的架构设计中。
Chrome released the V8 JavaScript engine in 2008 and enormously improved the performance of JavaScript.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V8 engine was shipped with Chrome

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of running JavaScript?

source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved

Browser-side business logic becomes complex, and developer realized that they need a framework to solve these problems.

San, the MVVM JavaScript framework. The architecture solution for web development.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这段话不对? The architecture solution for web development

### 前端 MVVM 图示
### View

View: the template. In MVVM pattern, The whole View is a dynamic template. It shows the ViewModel's data and state besides of structure and layout. View does not deal with component state, the main character of View is to declare data bindings, commands, and events.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It reflects the data/state of ViewModel along with layout structures,

source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved
source/_posts/en/tutorial/background.md Outdated Show resolved Hide resolved

开发者在 View 层的视图模板中声明 **数据绑定**、 **事件绑定** 后,在 ViewModel 中进行业务逻辑的 **数据** 处理。事件触发后,ViewModel 中 **数据** 变更, View 层自动更新。因为 MVVM 框架的引入,开发者只需关注业务逻辑、完成数据抽象、聚焦数据,MVVM 的视图引擎会帮你搞定 View。因为数据驱动,一切变得更加简单。
Developer write **declare bindings**, **event bind** in the View template, and write business logic process in ViewModel. After the event fired, the data of ViewModel changed and View updating automatically. With the power of MVVM framework, developers only need to focus on business logic, the abstraction of data and MVVM framework will help you make everything right in the View. Data-driven make everything simpler.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

business logic process → business logic process

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the data of ViewModel will change and View will update

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simplifies everything?

@andycall andycall added the translation Translate zh_CN to English label Oct 20, 2018
@andycall andycall mentioned this pull request Oct 29, 2018
54 tasks
@otakustay otakustay merged commit 59b590a into baidu:feature-i18n Oct 30, 2018
ice-zjchen pushed a commit to ice-zjchen/san-website that referenced this pull request Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation Translate zh_CN to English
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants