Click here to Skip to main content

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: Why Mobile Mattersmemberkashif Atiq21 Feb '12 - 23:52 
great article
NewsAre graphic designers ruining the web?memberTerrence Dorsey21 Feb '12 - 13:17 
Are graphic designers ruining the web? (source: .net magazine)
First it was IE, then WebKit. Now they're coming after you.

"Sites are becoming more attractive and, in some cases, more user-friendly, but at a cost: page weight and complexity. Developers and designers debate who's to blame."
GeneralRe: Are graphic designers ruining the web?memberRahul Rajat Singh22 Feb '12 - 1:32 
Couldn't agree more. there has to be a balance between logic and design and it seems things are shifting towards design.
GeneralRe: Are graphic designers ruining the web?membered welch22 Feb '12 - 7:23 
The increase in bloat is mainly coming from javascript, not graphics
GeneralRe: Are graphic designers ruining the web?memberVectorX22 Feb '12 - 10:11 
ed welch wrote:
mainly coming from javascript

 
Not true, most js frameworks are small and compressed.
"I do not know with what weapons World War 3 will be fought, but World War 4 will be fought with sticks and stones." Einstein
 
"Few things are harder to put up with than the annoyance of a good example." Mark Twain

GeneralRe: Are graphic designers ruining the web?membered welch22 Feb '12 - 11:22 
Yes, it is true.
Take Reuters.com for instance:
total javascript = 414 KB
total image = 264 KB
GeneralRe: Are graphic designers ruining the web?memberied22 Feb '12 - 14:52 
Is their javascript transmitted uncompressed?? 414k gzipped is probably ~80k over the wire, so somewhat smaller than the images. Still a lot though.
-- Ian
GeneralRe: Are graphic designers ruining the web?protectorAspDotNetDev22 Feb '12 - 16:02 
Not to mention the majority of JavaScript can be downloaded once and used on multiple pages.

GeneralRe: Are graphic designers ruining the web?membered welch23 Feb '12 - 0:43 
AspDotNetDev wrote:
Not to mention the majority of JavaScript can be downloaded once and used on multiple pages.
 
Maybe jquery, but not the rest. Um, you could even look at the page I mention and see for yourself, rather than making false assumptions. Look at http://www.webpagetest.org/[^]
while your at it and see how having dozens of javascripts slows down the page loading
GeneralRe: Are graphic designers ruining the web?protectorAspDotNetDev23 Feb '12 - 17:09 
I just looked at the page using the FireBug Net panel. I sorted the JavaScript from largest to smallest. Here are the largest JavaScript files:
  • Facebook Widgets
  • jQuery
  • Twitter Widget
  • Google Analytics
  • yahoo-dom-event.js
 
Those are all third-party reusable libraries, and they are the bulk of the JavaScript. The majority of the other files appear to either be for reusable widgets (e.g., ticker, navigation, stocks) or mini libraries (e.g., geolocation, connection, cookie handling, animation, events, dom manipulation) that can be shared across pages.
 
Yes, I did make assumptions, but yes, they were correct.
 
By the way, merely having that many JavaScript files can slow down page load time, regardless of their file size, as browsers tend to download JavaScript files before downloading other files, and the latency alone increases the download time (browsers usually only allow about 5 concurrent downloads from a single domain). The solution to this is to host JavaScript files on a CDN with multiple domains to download from. This reduces the latency and allows the browser to download many of the JavaScript files simultaneously.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid