9
How to make website better ? Nguyễn Huy Hùng

How to make website better ? - HungNH

Embed Size (px)

DESCRIPTION

i think , we should be think , better for website , it not a good website , it should perfect website

Citation preview

Page 1: How to make website better ? - HungNH

How to make website better ?

Nguyễn Huy Hùng

Page 2: How to make website better ? - HungNH

Contents1. Subjects that I’ll talk in this seminar

SpriteUsing tags effectivenessResponse website.

2. Write in techblog

-Display: inline , block , inline-block ,

-Float: left vs text-align: center + display: inline-block.

-power of Clear: both

-Border-radius in IE7

Page 3: How to make website better ? - HungNH

Think and thinkNowaday, people who makes Website always

follow MVC standard but when we think about the website’s speed, we only think about increase the speed in Model and Controller, but the View is also important, it takes 1/3 in MVC model.

A good website is a website that has not only good Model and Controller but also good View.

Page 4: How to make website better ? - HungNH

1.Sprite An image sprite is a collection of images put into

a single image.

A web page with many images can take a long time to load and generates multiple server requests.

Using image sprites will reduce the number of server requests and save bandwidth.

Demo

Page 5: How to make website better ? - HungNH

2.Use tags effectivenessUse minimum number of tags , but quality is

best

Demo

Page 6: How to make website better ? - HungNH

3.1 Good website, can be better?

A good website can be better ?

Demo a good website

Page 7: How to make website better ? - HungNH

3.2 Response Web and Better

The website can be better when we use response website

Responsive web design (RWD) is a web design approach aimed at crafting sites to provide an optimal viewing experience-easy reading and navigation with a minimum of resizing, panning, and scrolling-across a wide range of devices (from mobile phones to desktop computer monitors

Demo

Can be made better ???

Page 8: How to make website better ? - HungNH

3.3 Server for mobileThe best thing is when we have a separate

server for mobile that has the same databases.

Use very easily http://mobilewebrockstar.com/detect-mobile-browser/ , it help to detect when use mobile to view , after redirect to version mobile.