|
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.
|
|
|
|
|
AspDotNetDev wrote:
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
Yes, exactly. Therefore, you have to agree that the graphic designer isn't the only one responsible for the bloat
|
|
|
|
|
How to crash other WP7 applications... (source: Niko Vrdoljak) ...and how not to crash WP7 apps.
"Do you know what is easiest way to crash someone’s WP7 application? Just quickly double-tap its “Rate my app” link. Here's what happens and how to fix it."
|
|
|
|
|
How different is Obj-C from C++? (source: The Ideal Lab) Here are the major differences between C++ and Objective-C.
"Wondering how much you'd have to relearn when moving from C++ to Objective-C? Here are 18 key differences you'll have to understand."
|
|
|
|
|
What is the chance of anyone having to move from C++ to Obj-C unless they are moving onto iOS specific development? Considering the fact that generic applications written in C++ can be ported to Mac.
Regards
N. Sharjith
|
|
|
|
|
If you want to access OSX/iOS APIs then you have to use obj-c
|
|
|
|
|
You'll need Objective-C for both Cocoa (Mac) and Cocoa Touch (iOS). Though you are right that C++ code can be compiled to run on Mac in many instances. But for native Mac/iOS programming most of it is done in Obj-C these days.
See also Xcode, GCC, and Homebrew[^] for some new ways to code without relying so heavily on Xcode.
Director of Content Development, The Code Project
|
|
|
|
|
Thanks for the clarification!
Regards
N. Sharjith
|
|
|
|
|
Must-have Tools for Developers on Windows (source: DZone) Beware of programmers that carry screwdrivers.
"Every dev has his favourite list of tools, applications and OS which they believe are indispensible and without them they would not be able to develop anything. Here’s my list."
|
|
|
|
|
|
Forgetting the Operating System (source: ONE37) Unified alerts: novelty, annoyance or a sign of an OS-less future?
"It's no longer about OS X or iOS, but about the user's interactions, the seamless experience, and the forthcoming marginalization of the operating system."
|
|
|
|
|
Ubuntu in your pocket (source: Mark Shuttleworth) This isn’t just a desktop in your pocket, it’s a media centre too.
"Carry just the phone, and connect it to any monitor to get a full Ubuntu desktop with all the native apps you want, running on the same device at the same time as Android."
|
|
|
|
|
Please Steal These webOS Features (source: ignore the code) There are a number of things the TouchPad does that make it more suitable for work.
"Now that it is becoming increasingly obvious that HP won’t do anything useful with webOS, it’s time to start stealing1 the things it does well. Here are some of these things."
|
|
|
|
|
Microsoft Office for iPad: Separating fact from fiction (source: ZDNet) Microsoft believes it has a ‘great tablet experience with Office'... but which tablet?
"The folks that brought us last year’s rumor that Microsoft planned to deliver Office for the iPad in 2012 are back with an update. Is it any more likely this time around?"
|
|
|
|
|
Using the language you want (in Windows 8) (source: Building Windows 8) Colourful language on your computer.
"With Windows 8, we’ve changed how we think about languages and have made it a priority for you to be able to work in any language you want, from any Windows 8 PC."
|
|
|
|
|
Google Bypassing User Privacy Settings in Safari and IE (source: IEBlog) We know where you browsed last summer.
"Google bypassed user privacy settings on Safari and IE to track users with cookies. We detail what we’ve discovered and offer recommendations to IE users on how to protect their privacy."
|
|
|
|
|
Don't cheat with the user interface (source: Jimmy Nilsson) The user interface has always been important, but has often been treated as the poor relation.
"The success of an application largely depends on the user experience. But it doesn't happen by itself that the UI code becomes good. In fact, it's often the opposite."
|
|
|
|
|
Lose The Wait: Optimizing GIF Images (source: Zoompf) 'Overhead' is just a fancy way of saying wasted bytes!
"Images make of the majority of content on the web. Understanding images and how to optimize them are skills for any front-end performance advocate."
|
|
|
|
|
What Can You Do with .NET Gadgeteer? (source: Devhammer's Den) Build small electronic devices using the .NET Micro Framework and Visual Studio.
"The cool thing about Gadgeteer is the speed with which you can come up with and execute on your ideas. You can build something fun or practical, prove out the concept, and then pull it all apart again and build something else."
|
|
|
|
|
In defense of doing it the “hard way” (source: accidental/ninja) Learning to code is not the same as learning to write applications.
"The only way to learn something properly is the hard way. The only way out is through. I recommend trying to build something that you want to see made as your first project."
|
|
|
|
|
The method that’s worked best for me, and that I recommend to anyone starting out, is to try to build something that you want to see made as your first project.
When I started out, programming for Atari ST, I asked other people what they wanted to see. I got good ideas, good feedback, and a loyal customer base (until Atari started to unravel and I got out of there as quick as I could).
Other than that, I think the blog is spot-on.
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
Honesty is the best policy, but insanity is a better defense. -- Steve Landesberg
|
|
|
|
|
John Glenn Orbited 50 Years Ago Today [podcast] (source: Scientific American) 'That was about the shortest day I've ever run into.'
"On February 20, 1962, John Glenn went to space, becoming the first American in orbit and a national icon. Today we're earthbound again."
|
|
|
|
|
One and done: Single-atom transistor is end of Moore's Law (source: Purdue) This is the physical limit of Moore's Law. We can't make it smaller than this.
"The smallest transistor ever built - in fact, the smallest transistor that can be built - has been created using a single phosphorous atom."
|
|
|
|
|
Designing Calm Technology (source: Mark Weiser and John Seely Brown) Some wise thinking on technology and UX... from Xerox PARC in 1995.
"Designs that encalm and inform meet two human needs not usually met together. Information technology is more often the enemy of calm. Can we really look to technology itself for a solution?"
|
|
|
|
|
The iPhone monoculture (source: QuirksBlog) Web developers don’t care about WebKit. They care about the iPhone.
"Webkit monoculture: threat or menace? This is simplistic us vs. them thinking. It’s not helpful. Now if you would say there’s an iPhone monoculture among web developers, you’d be right. But whose fault is that?"
|
|
|
|