WEB DESIGN


  Use progressive JPEG to improve user experience

JPEG image files can have two different save types : Baseline JPEG and Progressive JPEG. Both of them have the same extension name but with different display effect.Baseline JPEGThis type of JPEG files are scanned from top to bottom consecutively, each line of the image data will be saved sequentially. When opening this kind of images, data will be displayed with the save order line by line until all the data are read. If the image size is very large or network speed is very slow, the image will be displayed line by line from top to bottom.Progressive JPEGDifferent from baseline JPEG, pro...

15,580 1       USER EXPERIENCE PROGRESSIVE JPEG BASELINE JPEG


  Let your page be alive

With development of Internet, Web pages lie everywhere. How to design a visually attractive web product is becoming a major concern of designers, A complete webpage consists of the combination of points, lines and layers. If you want to let your page design be alive, you should put your efforts on below 4 aspects.1. Flexible font useIn a webpage, texts are the major information carrier and are what users care mostly about. It's the main element to convey messages to readers. The font size, color,style or even line height will directly affect the visual effect.The above page is very concise, it...

2,905 0       UI DESIGN WHITE SPACE GEOMETRIC GRAPH


  Relationship oriented website vs content oriented website

Relationship oriented website is a kind of website based on friend circle, people come to the website to share news with their friends and see what's happening around their friends, these websites include Facebook, Twitter and Tumblr. While content oriented website is a kind of website based on unique content, people come to the website to find information or find answers for their questions, these websites include TechCrunch, The Verge and Medium.Most of websites on the Internet nowadays belong to either one of them. They have their own advantages and disadvantages.The obvious feature of rela...

10,107 1       RELATIONSHIP ORIENTED CONTENT ORIENTED LOYALTY


  Best practices of front end optimization

1. Use DocumentFragment or innerHTML to replace complex elements insertionDOM operation on browser is expensive. Although browser performance is improved much, multiple DOM elements insertion is still expensive and will affect the page load speed.Assume we have an ul element on our page, we now want to retrieve a JSON list using AJAX and then update the ul using JavaScript. Usually we may write it as :var list = document.querySelector('ul'); ajaxResult.items.forEach(function(item) { // Create element var li = document.createElement('li'); li.innerHTML = item.text; // Manipulate ...

3,444 0       JAVASCRIPT TIPS OPTIMIZATION FRONT END


  Difference between sans-serif and serif font

When we design website, we will often need to choose which font to use while displaying contents on the page. Basically what's the criteria for the choice? There are two big families of fonts : sans-serif and serif. We need to first understand what the difference is between these two.The word sans is from French, the meaning of it is without. So the difference between sans-serif and serif is serif font will have lines in all ends of the character while sans-serif fonts don't have.Some examples of sans-serif fonts are: Arial, Verdana, Tahoma,Impact. Some examples of serif fonts are : Times New ...

3,000 0       SANS-SERIF SERIF FRENCH


  Content based HTTP Cache

Browsers may cache the webpages we visited, when user types a URL on the address bar, the browser may cache the webpage returned from server while displaying it. If there is no update on the webpage, then next time when the browser requests the same page, it will not download the page again, instead it will load the cached page. If the website explicitly specify that the page is updated, then the browser will download the page again from the server.What's HTTP Cache?You may be familiar with the cache mechanism of web browser. For example, the RSS subscribe page for JavaEye is http://www.iteye....

3,558 0       HTTP CACHE WEB CRAWLER


  Video website in big data era

Big data initially means the large data set which is not able to be analyzed, but later it was derivatized to the method to analyze huge amounts of data in  order to gain great value.This is a form which gradually gets attention, It's difficult to analyze these data and it's also difficult to store these data and it needs some unprecedented way, Now in China many companies use the open source Hadoop distributed data cluster to meet the needs of data statistics.Since we can get segmented data with great value in huge data through data analysis, so many websites have big data strategy, espe...

7,366 0       NETFLIX BIG DATA DATA MINING


  CSS and HTML5 responsive images

With the popularity of Retina screen, the requirement of the images in the webpages is higher. How to make sure the image still clear while enlarging twice on retina screen? This brings much trouble to web developers, the good news is CSS3 and HTML5 is trying to change this, we can use response image.What is responsive image?It means user agent loads different images according to different resolutions of output devices, it will not waste bandwidth as well. In addition, it can load respective images when the resolution of the device changes.CSS responsive imageiOS developers should be familiar ...

5,852 0       HTML5 CSS3 IMAGE-SET RESPONSIVE IMAGE