Benefits and Disadvantages of JQuery

Lately I experimented with a jQuery match calendar on our Reserving Device. Our earlier model makes use of ASP.NET to construct the reserving chart as an entire at the server after which renders the lot to the browser. It used to be slightly sluggish and clunky, however labored.

I sought after to have a PHP model of the Room Reserving Device so did a snappy port from the ASP.NET C# to PHP, after which I dropped the jQuery fullcalendar element at the web page. I used a internet carrier for the knowledge which used to be nonetheless written in C# in opposition to a Microsoft SQLServer database.

On a bit of extra tinkering and refactoring, I discovered I may do away with virtually all of the PHP/.NET code because it used to be most effective used to initialise the web page. Now I used to be left with a web page with successfully simply HTML and JavaScript the use of a AJAX to name a JSON knowledge feed from a REST internet carrier.

The consequences had been shocking! But even so taking a look nicer, the rate of replace used to be fantastic – like a Home windows utility. After all, that is completed since the web page runs virtually completely within the browser and calendar navigation would possibly request simply small quantity of information the use of AJAX in opposition to the internet carrier.

May just I write all of the utility like this?

It jogged my memory of programming within the 1990’s. Internet pages had been HTML with slightly of JavaScript; we then added a bit of ASP to get knowledge from a database and stick that at the web page. Getting knowledge on a web page used to be somewhat simple even then; the issue has all the time been when we would like the consumer to have interaction with it. Even the easy stuff, like most effective permitting a numeric digit right into a textual content field, checking for legitimate date, knowledge grids and even easy popups weren’t as simple as in a Home windows app.

Why? As a result of natural JavaScript is sluggish to jot down, it is simple to make errors, tough to debug and you are on the mercy of whichever browser the consumer has choice for.

Programmers seemed for different approach and located them in applets, DLLs,.NET, JSF and different applied sciences and server frameworks. I moved directly to ASP.NET as it took the drudgery out of programming, mechanically generated the JavaScript and used to be simple to jot down and debug; a far friendlier style. It nonetheless is, however jQuery and different JavaScript Frameworks are actually threatening the established order.

Microsoft has followed jQuery in a large method and it’ll change the AJAX Toolkit. Many instrument builders have already followed jQuery or YUI. Mixed with HTML5, those JavaScript Frameworks would possibly pressurise Flash and Silverlight. jQuery no doubt has a spot within the close to long run of internet construction

Can I simply use jQuery and not anything else? Perhaps – however now not but, now not completely. As inspired as I’m with jQuery, I think it is simply probably the most equipment within the instrument developer’s toolbox. I will use jQuery an increasing number of however I will be the use of.NET and PHP too. This is how I summarise it:

For and In opposition to jQuery and JavaScript Frameworks


  • Just right Person Revel in, as regards to a Home windows GUI
  • A lot more uncomplicated to make use of than undeniable JavaScript
  • Spectacular velocity
  • Coders should not have to fret about Browser variations
  • Reduces Server Load as fewer round-trips
  • Extensively used, excellent neighborhood fortify
  • Many elements already evolved
  • Open Supply


  • You almost certainly nonetheless desire a Server framework for initialisation and Consultation control
  • You wish to have any other app to offer your knowledge (like a internet carrier) written in any other language (like.NET, Java or PHP)
  • In higher apps, slower to code than PHP or ASP.NET
  • You wish to have to know CSS
  • Can nonetheless be tough to debug, particularly if scripts intrude with every different.
  • Supply code is tricky to give protection to
  • Generally is a little cryptic to learn

If you have not attempted jQuery you then will have to indubitably achieve this. It is simple to get into and can give a boost to your internet packages

Supply through Les Kendall

You may also like...

WP2Social Auto Publish Powered By :