Smarty can also be used to write the interface of the app?

Source: Internet
Author: User
Today look at Ecshop code, found that many of the app interface is using Smarty rendering interface, I am very curious, the app interface is not all written on the app side? It's all about using JSON to transmit data.

Reply content:

Today look at Ecshop code, found that many of the app interface is using Smarty rendering interface, I am very curious, the app interface is not all written on the app side? It's all about using JSON to transmit data.

The front end also has the template engine, backstage also has the template engine, as to you say the app is mobile app or what?

Native app Development
Native app Development is what we call the traditional app development model (native app development model), which is developed for different languages and frameworks for different mobile phone operating systems, such as iOS and Android, which is usually made up of "cloud Server data +app application Client" Part two, All UI elements, data content, and logical frames are installed on the mobile terminal.
Web app Development
Web app Development is a framework-based app development model (HTML5 App Framework development model), which has a cross-platform advantage, typically composed of "HTML5 Cloud Web site +app application Client" two parts, app client only need to install the application framework part, And the app's data is every time you open the app, go to the cloud to get the data presented to the mobile users.

Hybird, estimated to be used to fill webview controls.

There may be a lot of pages in the app WebView

The user opens the page that directly returns the interaction

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.