发明名称 |
PROGRAMMATIC NATIVE RENDERING OF STRUCTURED CONTENT |
摘要 |
A user interface (UI) layout description language is described in which a UI may be specified for presentation by different versions of the same app running on different platforms. A layout engine written in a platform-specific language parses the UI layout description and transforms it to a native view using native UI components. The app on each platform has its own layout engine, but each can use the same layout description to generate a native view. Thus, a UI can be built once for all of the platforms. And because the UI layout engines are written in the language of their corresponding platforms, the UIs generated are high performing. |
申请公布号 |
US2017091159(A1) |
申请公布日期 |
2017.03.30 |
申请号 |
US201514866388 |
申请日期 |
2015.09.25 |
申请人 |
Yahoo! Inc. |
发明人 |
Su Timothy;Li Shuai;Pintado Jorge;Pons Bordes Pablo |
分类号 |
G06F17/22;G06F9/44;G06F17/21 |
主分类号 |
G06F17/22 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer-implemented method, comprising:
providing a first version of an application to a first device having a first operating system, the first version of the application being in a first platform-specific language of the first device and including a first layout engine configured to receive a first user interface (UI) layout description specified in a UI layout description language, and to generate a first native view for presentation on the first device using the first UI layout description and one or more native UI components of the first device; and providing a second version of the application to a second device having a second operating system, the second version of the application being in a second platform-specific language of the second device, the second platform-specific language being different than the first platform-specific language of the first device, the second version of the application including a second layout engine configured to receive the first UI layout description, and to generate a second native view for presentation on the second device using the first UI layout description and one or more native UI components of the second device; wherein the first native view is substantially the same visually as the second native view. |
地址 |
Sunnyvale CA US |