ink of the Advantages and Disadvantages of JQuery

Advantages and Disadvantages of JQuery

June 21, 2017 3:10 pm Published by Leave your thoughts

ink of the Advantages and Disadvantages of JQueryAdvantages and Disadvantages of JQuery

Lately, I experimented with a jQuery event calendar on our Booking System. Our earlier version uses ASP.NET to construct the booking chart as a whole on the server and then renders the lot to the browser. It used to be a bit sluggish and awkward but worked. This made me think of the Advantages and Disadvantages of JQuery.

I wanted to have a PHP version of the Room Booking System so did a quick port from the ASP.NET C# to PHP, and so I dropped the jQuery fullcalendar component on the web page. I used a web service for the data which used to be still written in C# against a Microsoft SQLServer database.

On a bit more tinkering and refactoring, I discovered I could get rid of nearly all the PHP/.NET code as it used to be only used to initialise the web page. Now I was left with a web page with effectively just HTML and JavaScript the use of an AJAX to call a JSON data feed on a REST web service.

The results were stunning! Besides looking nicer, the speed of update was unbelievable – like a Windows application. Of course, this is achieved since the web page runs almost entirely in the browser and calendar navigation may request just a small amount of data using AJAX against the web service.

Could I write the entire app like this?

It reminded me of programming in the 1990’s. Web pages had been HTML with a bit of JavaScript; we then added a little ASP to get data from a database and stick that on the web page. Getting data on a web page used to be relatively easy even then; the issue has always been when we want the user to interact with it. Even the easy stuff, like only allowing a numeric digit into a text box, checking for a legitimate date, data grids or even simple popups weren’t as easy as in a Windows app.

How come? Because pure JavaScript is slow to write, it’s easy to make errors, tough to debug and you’re at the mercy of whichever browser the user has a preference for.

Programmers looked for other method and found them in applets, DLLs,.NET, JSF and other technologies and server frameworks. I moved directly to ASP.NET because it took the labor out of programming, automatically generated the JavaScript and was easy to write and debug; a far friendlier model. It still is, but jQuery and other JavaScript Frameworks are now threatening the established order.

Microsoft has adopted jQuery in a big way and it will replace the AJAX Toolkit. Many software developers have already adopted jQuery or YUI. Mixed with HTML5, these JavaScript Frameworks may change Flash and Silverlight. jQuery without a doubt has a place in the near future of web development

Can I simply use jQuery and nothing else? Maybe – but not yet, not completely. As impressed as I am with jQuery, I think it is just one of the tools within the software developer’s toolbox. I’ll use jQuery more and more but I’ll be using.NET and PHP too. This is how I summarize it:

For and Against jQuery and JavaScript Frameworks


  • Excellent User Experience, close to a Windows graphical user interface
  • Much more straightforward to use than simple JavaScript
  • Impressive speed
  • Coders do not have to fret about Browser variations
  • Reduces Server Load as fewer round-trips
  • Broadly used, good community support
  • Many components already developed
  • Open Source


  • You most likely still need a Server framework for initialisation and Session Management
  • You need another app to provide your data (like a web service) written in another language (like.NET, Java or PHP)
  • In larger apps, slower to code than PHP or ASP.NET
  • You need to understand CSS
  • Can still be tough to debug, especially if scripts interfere with each other.
  • Source code is difficult to protect
  • Can be a little cryptic to read

If you have not tried jQuery then you should without a doubt do so. It is easy to get into and will enhance your web applications

Tags: , , ,

Categorised in: , , ,

This post was written by Versitek

Leave a Reply

Your email address will not be published. Required fields are marked *