Question

Yesterday, I read couple of chapters on ASP.NET Ajax and jQuery from my ASP.NET 4 book...

Yesterday, I read couple of chapters on ASP.NET Ajax and jQuery from my ASP.NET 4 book and I found those frameworks pretty interesting and decide to learn more about them.

Today, I borrowed some books from library on Ajax and JavaScript. It seems ASP.NET Ajax is different from Ajax and jQuery seems like the "new" JavaScript.

Does it mean that I can skip JavaScript and learn jQuery directly?

On the other hand, the non-ASP.NET Ajax book I borrowed seems to apply to the client side web programming only and looks quite different from what I learned from ASP.NET Ajax. If I'm an ASP.NET developer, I guess I should stick with ASP.NET Ajax instead of client side Ajax right? What about PHP? Is there a "PHP Ajax" similar to ASP.NET Ajax?

It's not that I'm lazy to learn other tools, but I just want to focus on the right ones.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

This is a complicated subject but here's my attempt to distill what all of these things are and how they relate.

AJAX: This is a concept that involves pulling data asynchronously into a web application without reloading the entire page. It allows for dynamic UIs such as Google Mail that act like desktop applications but run in a browser.

ASP.NET AJAX: This is a library authored by Microsoft that attempts to make the AJAX concept accessible to developers that have an ASP.NET background. It provides methods that are similar to .NET Framework methods such as String.Format and others. It has some overlap with JQuery but they can both be used in harmony together as they have different strengths and weaknesses. It is important to remember that this is a client-side library and doesn't actually have a dependency on ASP.NET. You could use ASP.NET AJAX with any server-side technology.

jQuery: This is a JavaScript library that provides a framework to make AJAX applications easy to write. It provides a powerful selection model using a CSS-like syntax for interacting with the browser DOM. It also abstracts away many of the differences between the different browsers and versions. So you are almost always better off coding against jQuery as opposed to browser-specific DOM or AJAX APIs. There is a rich ecology of jQuery plugins available which can add all sorts of powerful behavior to your web applications, without a lot of work on your part.

JavaScript: This is an interpreted language implemented by all major browsers that allows for dynamic, client-side behavior on web sites. The language itself is pretty solid, but the different APIs that the different browsers provide make it complicated to write "raw" JavaScript effectively. That is why there are all these libraries on top of it.

Now, as to the question of what you should learn as an ASP.NET developer. I would recommend getting familiar with the functionality of both ASP.NET AJAX and jQuery. Microsoft endorses both, and both are included with VS 2010. They have different strengths and weaknesses and if you understand what those are you will be more effective with using them.

You don't have to use AJAX to do ASP.NET websites, but your websites will be more powerful and more user-friendly if you do. And if you develop a sense for when AJAX is effective and when it isn't, you will be a better web developer.

Oh, and stay away from UpdatePanels. That was MS's first answer to AJAX, but they are generally bad and go against a lot of the concepts that make AJAX good. They give you a short term benefit but in the long term they are a maintainability nightmare in my experience.

Add a comment
Know the answer?
Add Answer to:
Yesterday, I read couple of chapters on ASP.NET Ajax and jQuery from my ASP.NET 4 book...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hello guys, Here are a couple of questions from my Chemistry text book, that I would...

    Hello guys, Here are a couple of questions from my Chemistry text book, that I would like to learn how to figure out, some of them already have answers, but I don't get how the answers were found, some of them have some algebra attached and I am bad with algebra so I want to learn how the steps were done, and some of them are ones that I have done a little of but I am stuck in. Problem...

  • I. Read chapters 22, 23, 24 from your Text Book and Power Point Presentation II. NCLEX...

    I. Read chapters 22, 23, 24 from your Text Book and Power Point Presentation II. NCLEX Review questions chapters 22, 23, 24 from Evolve Resources III. Case Study : Initial Management of a Patient with Burns Patient Profile M.J. is a 23-year-old white woman transferred via ambulance to the hospital after a fire in her apartment. She was asleep when the fire started and managed to make her way out of the apartment through the smoke. She sustained second- and...

  • My question is about the case study “ Comparing Apples and Oranges: which group yuelds the...

    My question is about the case study “ Comparing Apples and Oranges: which group yuelds the best profit?” 1) Using the Excel apreadsheet attached to complete the rooms sold and revenue projections based on the above case study. Case Study: "Comparing Apples and Oranges: Which Group Yields the Best Profit?" ​The Diamond Peak Hotel, one of 45 hotels in the Host Marriott management company, was bustling with business this Thursday afternoon as the hour of the daily revenue meeting drew...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

  • Read the articles provided (Riggio, 2008) and Javidan & Walker (2012). Perform a self-assessm...

    Read the articles provided (Riggio, 2008) and Javidan & Walker (2012). Perform a self-assessment of the global mindset competencies. What competencies do you feel are your strengths? Your areas for improvement? What next learning steps could you take to address your areas for improvement? LEADERSHIP DEVELOPMENT: THE CURRENT STATE AND FUTURE EXPECTATIONS Ronald E. Riggio Claremont McKenna College This article discusses the common themes in this special issue of Consulting Psychology Journal on "Leadership Development" and summarizes some of the...

  • What are your top 3 takaways from this article? It’s always tempting to see the present...

    What are your top 3 takaways from this article? It’s always tempting to see the present moment as the peak of chaos and disruption, whether we’re talking about politics or just how those teenagers behave today. The same is true in marketing, because in many ways that profession is always in a state of chaos and disruption. But I don’t think it’s hyperbole to apply “peak chaos and disruption” to social media marketing in the first quarter of 2018. Let’s...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT