Looking at the ecshop code today, I found that many of the app interfaces use smarty to render the interface. I am very curious, aren’t the app interfaces written on the app side? Isn’t it just a matter of using json to transfer data? What is this for?
Looking at the ecshop code today, I found that many of the app interfaces use smarty to render the interface. I am very curious, aren’t the app interfaces written on the app side? Isn’t it just a matter of using json to transfer data? What is this for?
The front-end also has a template engine, and the back-end also has a template engine. As for the app you are talking about, is it a mobile app or something else?
Native App Development
Native App development is what we call the traditional APP development model (native APP development model). This development requires different languages and frameworks for different mobile operating systems such as IOS and Android. This model is usually It consists of two parts: "cloud server data + APP application client". All UI elements, data content, and logical framework of the APP application are installed on the mobile terminal.
Web App Development
Web App development is a framework APP development model (HTML5 APP framework development model). This development has the advantage of cross-platform. This model usually consists of two parts: "HTML5 cloud website + APP application client" The APP application client only needs to install the framework part of the application, and the application data is retrieved from the cloud and presented to the mobile phone user every time the APP is opened.
Hybird, probably used to fill in the webview control
Maybe the pages in the APP have many webviews
The user will return directly to the interactive webpage after opening it