5 things to be aware of in webapp design and entry development
WebApp is for Nativeapp, webapp most straightforward definition is an iphone, Android optimized mobile site, it uses the technology is nothing more than HTML or HTML5, CSS3, JavaScript, Service-side Technology Java, PHP, ASP and so on.
Today, 25 academy needs to talk to you about the five points of attention and how to design webapp of WebApp design
1. All smart phone devices must be fitted
The screen of the mobile device is various, the main influence to the design is the screen resolution, size, screen orientation these factors. Now iOS devices have 320x480,640x960,1136x640,1024x768,2048x1536 these resolutions, 3.5-inch, 4-inch, 7.9-inch, 9.7-inch These sizes, and so on, the future has a larger size.
Therefore, it is necessary to solve the problem of interface adaptation of web app on different screens.
There are 2 best solutions:
1, when writing the front-end page, CSS using 100% layout
2, using HTML5 technology to layout development.
1.1 Adapting to different resolutions
Improve the compatibility of pages in different resolutions with the design of responsive Web pages:
Due to the size of the mobile phone screen, generally only one module can be arranged from top to bottom in one module. At this point the designer needs to consider the priority of the module placement. In general, user-focused, recently updated, user-related information should be in front.
In addition, it is best to design at the mainstream resolution 480x800, which will scale the interface elements slightly above and below the resolution, and adjust the spacing and margins appropriately.
Therefore, it is best to avoid using PX units when setting the width of a container, picture, or text box, and use% to keep the layout and page structure unchanged for the page under different resolution screens.
1.2 Tablet PC
Use CSS3 's media query statement to get the browser's aspect and device pixel ratios, and to apply different stylesheets to different devices depending on the developer's needs. So developers can control the performance of a page on different devices.
Because the screen size and pixels of a mobile phone screen and tablet are far apart, it is best to use a different interface layout on both devices in order to take advantage of the big screen of the tablet to get a good user experience. I believe iOS users feel the same way: some apps only fit the iphone, and running on the ipad is not full of screens, only the "2X" button shows a rough interface. There is also an app that is compatible with both the iphone and ipad, and is perfectly displayed on both the phone and tablet screens, and users don't need to download two versions separately. Obviously, the latter is more convenient and aesthetically pleasing to use.
The Mobile Web app enables this functionality with media query capabilities. So what are some of the design points you need to pay attention to on your tablet?
Because tablets are used on a horizontal screen, using a column view allows you to display two levels of content within an interface, allowing users to quickly switch items.
Home more to Gongge view, tab-based, Weibo, QQ this content-based interface will be the column view as the default home is also possible. The most commonly used list on the phone is not very common on the tablet, and the entire screen displays a list, which is not only a waste of space, but also the efficient operation of a column view.
It is important to note that media query is not supported in browsers below IE9.
1.3 Toggle Screen
Since there is no way to disable the rotation of the device in the WebKit kernel, the Web app running in the browser will rotate if the user's device turns on the screen direction according to Gravity automatically.
If you can capture the direction of the device, the vertical and horizontal screen layout design, but it is best to ensure that the interface style and style will not change greatly.
A counter example is the iphone's music app, which displays a list of songs on a vertical screen, but switches to a horizontal screen to show the album cover. Two kinds of interface style beating too much to cause some users to not adapt, thought to be two different pages. The Calculator app also only displays the scientific calculation mode under the horizontal screen, the user cannot switch to this mode at all under the vertical screen, even does not have the boot.
The Gongge view is the smoothest layout of the screen, and look at the main screen of the iOS system. Each application icon in the vertical and horizontal screen switch, almost just the icon rotated a bit direction.
Another thing is that when you switch to a horizontal screen, you can automatically enter full-screen mode to display more content. Otherwise the title bar and the bottom bar will take up a lot of space
2.WebAPP Interactive Dynamic Effect
With browser performance, many of the gorgeous animations that native apps can perform are not very good in web App projects. So you should be decisive to remove the unnecessary action to ensure that the Web app can run smoothly.
Because many of the effects will be very good for users to guide, if not these animations, may lead to user understanding of the interface logical relationship confusion. This puts forward a high demand for the design of dynamic efficiency.
Summarizes some of the dynamic design principles of Web apps:
Try not to use unnecessary dynamic effects.
Use simple animations as a priority. such as panning, zooming. Try to avoid using 3D animations.
Avoid refreshing the page. Because the entire page white screen, the browser into the bar experience will give users the feeling of browsing the web, rather than using the app
The frame element is first displayed. Show loading animations only in the content loading area
Avoid skipping changes. In the case of no impact on performance, as far as possible with the zoom and move the picture, to ensure the user's visual focus continuity and understanding of continuity.
Homogeneous interface/object that is consistent with the dynamic effect of the interface/object at the same level. To help users understand the product architecture and navigation logic.
The high-level interface's dynamic performance corresponds to the advanced physical location. If the left and right panning animations are used to toggle the upper and lower levels, then the home page should be on the leftmost, such as iOS. If the animation is used to switch the upper and lower layers and, then the first page should be on the top, such as Windows Phone.
3.WebAPP content layout and app style to stay consistent
Speaking of navigation and information content layout of numerous articles, mobile Web app to achieve native app experience, according to the traditional mobile client design mode to design. Just remember that the Web app you're designing needs to run on multiple platforms, such as iOS, Android, Windows phone, and more.
Since iOS does not have a back button compared to other platforms, running on iOS requires that the navigation within the interface be closed. So some actions on Android can be called out via the menu key, but it needs to be exposed directly on iOS.
On the left is the Android version of Zaker and the iphone version on the right. The menu bar of the Android version needs to click the menu key before it appears.
4. UI-related controls that are good at using the native app
Using the native app's UI controls, you can make mobile Web apps more native app experience. Common such as Badge,back button,bubble,picker,indicator,title bar,dialog,toast,loading,drap down to refresh,notification and so on. It's Facebook's native app and Web app, which uses some UI controls that are common to clients, so it's hard to visually identify the latter as a web app.
Avoid using traditional Web UI controls, such as breadcrumbs, text chains:
In addition, you should also provide controls that are as large as possible in the size of the native app. Referring to experience and the official HMI guide of each platform, you can know that the size of the user finger click should be between 7-9mm, not less than 7mm. The leading of adjacent click Controls should not be less than 2mm.
5. WebApp later needs to be optimized for the browser
To take into account browser performance and interaction, the following points need to be noted:
The page uses as few DOM elements as possible;
simplifying the dynamic effect;
Avoid interaction with the browser, such as sliding left and right, such as the browser's tab bar, Action Bar, and the browser's full-screen virtual button;
Consider what data your users are saving: settings, personal data, reading anchor points, jumping out of pages, and so on.
The rule graphic is drawn with canvas to avoid requesting IMG from the server.
Note Offline data storage, which defines the files that need to be cached through manifest, so users can use them when they are offline.
Reduce the frequency of data requests.
Therefore, when we design webapp, regardless of which method, we must pay attention to these 5 major aspects. To design a good webapp. Furthermore, we should practise more reading the relevant WebApp knowledge points.
5 things to be aware of in webapp design and entry development