You are searching about Advantages Of Using Event Driven Languages For Non Graphical Application, today we will share with you article about Advantages Of Using Event Driven Languages For Non Graphical Application was compiled and edited by our team from many sources on the internet. Hope this article on the topic Advantages Of Using Event Driven Languages For Non Graphical Application is useful to you.
Page Contents
Advantages and Disadvantages of JQuery
I recently experimented with a jQuery event calendar in our Booking System. Our previous version uses ASP.NET to build the entire reservation table on the server and then renders the lot to the browser. It was a little slow and difficult, but it worked.
I wanted to have a PHP version of the Room Reservation System, so I did a quick port from ASP.NET C# to PHP and then dropped the jQuery fullcalendar component into the page. I still used a web service for data written in C# against a Microsoft SQLServer database.
With a little more work and refactoring, I found that I could get rid of almost all of the PHP/.NET code because it was only used to run the page. Now I’m left with a page with just HTML and JavaScript, using AJAX to call a JSON data feed from a REST web service.
The effects were amazing! In addition to looking nicer, the update speed was incredible – just like a Windows app. Of course, this is achieved because the page runs almost entirely in the browser, and calendar navigation can require very little information using AJAX against the web service.
Can I write the whole application like this?
It reminded me of programming in the 1990s. The web pages were HTML with a bit of JavaScript; then we added some ASP to retrieve the data from the database and paste it into the page. Getting information on the page was relatively easy even then; the problem has always been when we want the user to interact with it. Even simple things like entering a numeric value into a text box, checking valid history, data grids, or even simple pop-ups were not as easy as in the Windows app.
Why? Because pure JavaScript is slow to write, it’s easy to make mistakes, hard to debug, and you’re at the mercy of whichever browser the user prefers.
Programmers looked for other tools and found them in applets, DLLs, .NET, JSF and other technologies and server frameworks. I switched to ASP.NET because it took the drudgery out of programming, generated JavaScript automatically, and was easy to write and debug; is a kinder model. It still is, but jQuery and other JavaScript Frameworks are now threatening the status quo.
Microsoft has adopted jQuery in a big way and it will replace the AJAX Toolkit. Many software developers have already adopted jQuery or YUI. Along with HTML5, these JavaScript Frameworks can put pressure on Flash and Silverlight. jQuery definitely has a place in the near future of web development
Can I just use jQuery and nothing else? Maybe – but not yet, not quite. As impressed as I am with jQuery, I feel it’s just another tool in a software developer’s toolbox. I’ll be using jQuery as I go, but I’ll also be using .NET and PHP. Here’s how I summarize it:
For and Against jQuery and JavaScript Frameworks
FOR:
- Good User Experience, close to Windows GUI
- It’s easier to use plain JavaScript
- Impressive speed
- Coders don’t have to worry about browser differences
- Reduces Server load such as fewer round trips
- Widely used, good community support
- Many components have already been developed
- Open source
AGAINST:
- You probably still need the Server framework for startup and Session management
- You need another application to serve your data (as a web service) written in another language (eg.NET, Java, or PHP).
- Coding in larger applications is slower than PHP or ASP.NET
- You must understand CSS
- Debugging can still be difficult, especially if scripts interfere with each other.
- Protecting source code is difficult
- It can be a little cryptic to read
If you haven’t tried jQuery, you definitely should. It’s easy to access and will improve your web applications
Video about Advantages Of Using Event Driven Languages For Non Graphical Application
You can see more content about Advantages Of Using Event Driven Languages For Non Graphical Application on our youtube channel: Click Here
Question about Advantages Of Using Event Driven Languages For Non Graphical Application
If you have any questions about Advantages Of Using Event Driven Languages For Non Graphical Application, please let us know, all your questions or suggestions will help us improve in the following articles!
The article Advantages Of Using Event Driven Languages For Non Graphical Application was compiled by me and my team from many sources. If you find the article Advantages Of Using Event Driven Languages For Non Graphical Application helpful to you, please support the team Like or Share!
Rate Articles Advantages Of Using Event Driven Languages For Non Graphical Application
Rate: 4-5 stars
Ratings: 8147
Views: 4875169 6
Search keywords Advantages Of Using Event Driven Languages For Non Graphical Application
Advantages Of Using Event Driven Languages For Non Graphical Application
way Advantages Of Using Event Driven Languages For Non Graphical Application
tutorial Advantages Of Using Event Driven Languages For Non Graphical Application
Advantages Of Using Event Driven Languages For Non Graphical Application free
#Advantages #Disadvantages #JQuery
Source: https://ezinearticles.com/?Advantages-and-Disadvantages-of-JQuery&id=4644898