Weex is a “Write Once, Run Everywhere” solution.
- First, Weex is based on web dev experience, which includes syntax and project management.
- Second, all components & modules in Weex are 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:
- Today for almost all 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.
- For the differences of all mobile platforms, we are willing to fill the gap in 3 points:
- Design the same APIs for all platforms to ensure different platforms have the same business logic description.
- Implement the APIs with different style or behaviors to ensure the implementation and user experience matches different platforms.
- Platforms obviously differ among each other. We also have some environment variables to help developers in certain situations.
- We trust (web) standard is the best for all features in all platforms.