220 likes | 424 Views
Progressive Enhancement and Responsive Web Design. Moinul Hossain Rifat. Outline. What is Progressive Enhancement? Why Progressive Enhancement? benefits of PE Responsive Web Design Why Responsiveness ? Conclusion. What is Progressive Enhancement?. A design Strategy for web
E N D
Progressive Enhancement and Responsive Web Design Moinul Hossain Rifat
Outline • What is Progressive Enhancement? • Why Progressive Enhancement? • benefits of PE • Responsive Web Design • Why Responsiveness ? • Conclusion
What is Progressive Enhancement? • A design Strategy for web • Using web technologies in a layered fashion • Separation of Content, Presentation and Behavior .
What is wrong the developers are doing? 2. I am a IE6 user. Your website is broken in my browser. 1. I made a website with the latest and coolest technologies available! 3. IE User? They exist? I thought they exist in museums only ! Cool Web Designer/Developer User 4. I cannot see your site from my mobile device 5. Why don’t you just use your desktop browser? User
The Graceful Degradation perspective • Focuses on building the website for the most advanced/capable browsers. • “Just upgrade your browser” attitude • Testing on the website done for older or less capable browser in last quarter of the development or no testing at all. • Fact is IE users exits !
Progressive Enhancement Perspective • Design the website in a layered way • Start with a skeleton design that works on low end browsers. • Keep adding layers of ‘enhancement’ over the design for the more capable browsers. • Different browser with different capability gets different layer. • Also referred as the chocolate layers paradigm.
The Chocolate Layer Paradigm What do we have in a web page?
Client Side Rendering –An Evil ? JavaScript (Behavior Layer) Content and Presentation (HTML) Rendering Web Service Using
Client Side Rendering –An Evil ? It’s slow I made a website that is rendered in client side with cool JavaScript I see a blank page in my mobile The Cool Web Designer/Developer I am a web spider. I can’t get any information from your website
Client Side Rendering –An Evil ? I used to do client side rendering. But now I got back to Server Side Rendering again. My site is now 5 times faster
Progressive Enhancement - Benefits • Can reach a wide range of users • User with low bandwidth(e.g., mobile device users) gets benefited. • No download of unnecessary contents • Good for the spiders to grab • Site loads faster with server side rendering !
Lets See some examples of PE • http://filamentgroup.com/examples/jqueryui-visualize/ • filamentgroup.com/examples/jquery-tree-control/
Responsive Web Design (RWD) • The new progressive Enhancement Way ! • We’re more and more moving towards smart mobile devices. • The Mobile First Approach • Same website- Different presentation according to browser’s screen capacity. • Targets the ‘screen’ also not the browser only!
Responsive Web Design (RWD) Screen Size--
RWD - Benefits • Reach a lots of users. • Only one site that fits any screen. • No more m.mysite.com ! • More SEO Friendly. • A single URL helps Google to index • Common code base. • Developers are relieved now ! • Cost effective
Conclusion • Progressive Enhancement • Responsive Web Design Questions?