What are the features of the mobile app interface?

Source: Internet
Author: User
What are the features of the mobile app interface?
Made 1.5 pc-side web, recently switched to a mobile app project, responsible for interface development
The phone is different from the PC, to consider the traffic and power, and the interface of a small amount of data, the number of requests and concurrency is relatively higher
So what are the features of the app interface?
Is it necessary to do various object-oriented complex encapsulation?
Is there a need to use frames? Which is the right one?

------Solution--------------------
interface and the PC is no different, write the object JSON output data can be, as for the flow and power problems of the mobile phone to select the data problem
------Solution--------------------
As long as there is data transfer, traffic must exist. Reduce the flow of data on the compression of redundancy
More power when sending data than when receiving data, since the less you send the better

It's better to use frames than not to use frames, because at least now you don't know much about mobile communications.
To be familiar with later, then decide the frame of choice
------Solution--------------------
If the interface is written on the server side, do not need to consider the problem of power, the same as the Web API to do.
Just return using JSON format.
------Solution--------------------
The service side is no need to consider the phone charge, you just pay attention to the traffic, and now basically return the JSON format of the data, it is in the return of data considerations, only provide the necessary fields, to avoid unnecessary field redundancy, as for the framework, see their own trade-offs, as well as the framework of understanding, suggest the initial frame bar
  • 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.