You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/20 06:41:30 UTC

[41/50] [abbrv] incubator-weex git commit: * [doc] updated guide/intro/write-once

* [doc] updated guide/intro/write-once


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3ffffe3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3ffffe3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3ffffe3c

Branch: refs/heads/master
Commit: 3ffffe3c2569ecb86223367058e784d6fcd3126d
Parents: 0fb4fd9
Author: Jinjiang <zh...@me.com>
Authored: Fri Feb 17 10:59:20 2017 +0800
Committer: Jinjiang <zh...@me.com>
Committed: Fri Feb 17 10:59:20 2017 +0800

----------------------------------------------------------------------
 doc/source/guide/intro/write-once.md | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3ffffe3c/doc/source/guide/intro/write-once.md
----------------------------------------------------------------------
diff --git a/doc/source/guide/intro/write-once.md b/doc/source/guide/intro/write-once.md
index 6a431f7..282c992 100644
--- a/doc/source/guide/intro/write-once.md
+++ b/doc/source/guide/intro/write-once.md
@@ -5,6 +5,19 @@ order: 4.4
 version: 2.1
 ---
 
-# Write once, Run Everywhere
+# Write Once, Run Everywhere
 
-Work in progress.
\ No newline at end of file
+Weex is a "Write Once, Run Everywhere" solution.
+
+* First, Weex is based on web dev experience, which including syntax and project management.
+* Second, all components & modules in Weex is discussed by iOS, Android, web developers together to ensure it's common enough to satisfy every platforms.
+* You only need write the same Weex code for each platforms.
+
+We think about it in these aspects below:
+
+1. Today for almost mobile apps, one app solves the same problem in different platforms. Weex hope to supply a lightweight way to describe your business logic which works well in all platforms you need.
+2. For the differences of all mobile platforms, we are willing to fill the gap in 2 points:
+    1. Design the same APIs for all platforms to ensure different platforms the same business logic description.
+    2. Implement the APIs with different style or behaviors to ensure the implementation and user experience matching different platforms.
+    3. If there are definitely some different features in different platforms. We also have some environment variables to help developers in certain detail situations.
+3. We trust (web) standard is the best for all features in all platforms.