Well, we all know what and how JQuery has revolutionized the UI design and development of websites and web applications. Given its robustness for browser support, familiar syntax ,built-in animations and not impact content gives it immense credibility and avenues for use in many great applications..
In its development novice developers sometimes makes the mistake of linking the lib from their own local site..However this is wrong ..which I can say confidently at least for the case of deployment of your app.
The reason is:
Using Cloud Scripts Keeps Your Pages Fast
Linking to script libraries such as jQuery from an internet location
(such as http://code.jquery.com/jquery-1.5.2.min.js in the HTML here) is a way of using a content delivery network (CDN). When many developers link to the same location for
a script, that script is more likely to be cached by your readers and load more
quickly. Also, your browser may have a limit of as few as two connections to a
specific host name at once, so this sends a request to a separate domain,
increasing the speed.
As jQuery's popularity has grown, companies have made the file freely available
through their Content Delivery Networks (CDNs).
Most notably:
Google : link
and Microsoft : link
offer the file on powerful, low-latency servers distributed around the world for fast download regardless of the user's location
..................................................If you just trying for local development ...you could have it in your own machine...maybe..that will save when you don't have net connection...
..so happy coding...and cheers..
way to goo..
In its development novice developers sometimes makes the mistake of linking the lib from their own local site..However this is wrong ..which I can say confidently at least for the case of deployment of your app.
The reason is:
Using Cloud Scripts Keeps Your Pages Fast
Linking to script libraries such as jQuery from an internet location
(such as http://code.jquery.com/jquery-1.5.2.min.js in the HTML here) is a way of using a content delivery network (CDN). When many developers link to the same location for
a script, that script is more likely to be cached by your readers and load more
quickly. Also, your browser may have a limit of as few as two connections to a
specific host name at once, so this sends a request to a separate domain,
increasing the speed.
As jQuery's popularity has grown, companies have made the file freely available
through their Content Delivery Networks (CDNs).
Most notably:
Google : link
and Microsoft : link
offer the file on powerful, low-latency servers distributed around the world for fast download regardless of the user's location
..................................................If you just trying for local development ...you could have it in your own machine...maybe..that will save when you don't have net connection...
..so happy coding...and cheers..
way to goo..
jQuery has played an important role in simplifying UI development and making websites and web applications more interactive. Its cross-browser compatibility, familiar syntax, built-in animation features, and ability to enhance user interfaces without changing the underlying content have made it a popular JavaScript library. One important deployment consideration, however, is how you include the library in your application. Instead of always hosting a local copy, using a reliable Content Delivery Network (CDN) can offer practical performance benefits.
ReplyDeleteCDNs such as Google and Microsoft have historically provided popular JavaScript libraries, including jQuery, through globally distributed servers. Using a shared CDN URL can improve loading performance when the browser already has a cached copy of the library, while also allowing the browser to download resources from a different host. Developers learning these techniques through a Javascript Online Course can gain a better understanding of script loading, browser caching, and deployment practices. For local development, keeping a local copy is also useful, particularly when working without an internet connection.
Choosing between a CDN and a locally hosted library depends on the application's deployment requirements, network availability, and performance considerations. A good understanding of these fundamentals through Javascript Online Training helps developers make informed decisions when building and deploying web applications. Happy coding!
ReplyDelete