About App Interface design

Source: Internet
Author: User

In the recent period of time has been doing the app interface, summarize the app interface development process considerations:

1. Efficiency: Interface Access speed

The app is different from the Web service, the server-side requirements are more stringent, in the mobile side of the limited bandwidth conditions, the requirements of the interface response speed, all in the development process as far as possible to choose the efficient framework, PHP recommends the use of the YAF framework.

2. Data format

It is best to use JSON-formatted data because JSON has a good cross-platform nature. For

3. Data volume

On demand, the app client needs what data to return what data, too much data volume affects the processing speed, the most important is the impact of transmission efficiency.

4, interface, parameter naming accuracy

Whether it's an interface or a parameter, naming should be meaningful and straightforward.

5, a page as far as possible with an interface

Now many of the app pages have ads, focus maps, lists of articles, and so on, for these different formats of data, it is not possible to allocate an interface, which increases the number of app request interface, affecting the response speed. It is recommended that the server handle the data as well as possible and return it to the app client via an interface.

6. Cache

This is more important, whether it is the file cache or the Memcache cache.

7, the interface should be extensible

8. Interface Security

At present, in the app client and server through the contract algorithm, the passed parameter value is verified to match. However, if the app is recompiled, these conventions will be exposed, especially in the Android app, with an algorithm that completely validates the analog interface request.

9. Interface Version Control

For the interface version control, I have not found a good method, how to deal with the continuous application version upgrade, the new, the old interface processing.

10. Interface data, status

The interface must provide explicit data state information, whether successful or failed, and must be returned to the app client.

The above 10 points is their own in this time to do the app interface process notes, write a bit messy, think of what to write.

About App Interface design

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.