Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AJAX Basics (retiring) AJAX Concepts Introducing AJAX

Routine Poutine
Routine Poutine
26,050 Points

Why is this course being retired on June 19? Is it obsolete?

Hi, I was wondering if this course is worth learning. Is it being retired because it is obsolete? Looking at the prerequisites, I'm wondering if this has to do with jQuery and the development of better APIs in the browser now for Vanilla JavaScript.

Looks like they have a new one to replace it https://teamtreehouse.com/library/ajax-basics-2

3 Answers

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,735 Points

What you're probably looking for is Working with the Fetch API. This is the modern way of doing AJAX requests. It's now native to most modern browsers. It's promise-based rather than callback-based (you can learn more about that here).

Another option is to use axios. It's not native to the browser like fetch is now, so you'll have to import the library, but some people prefer the API, and also you can use axios on the node server side as well, so it's nice to have consistency if you have a full stack JS project.

It might still be worth your while to learn a bit about the older way of doing AJAX requests. You'll probably hear people referring to this way of doing things and there is legacy code out there.

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,252 Points

It looks like the course has been discreetly updated with only the first 2 sections of the retired course updated in the new course. I'm guessing the other 2 will one day be added in a new course. It uses the old graphics and the previous backdrop for the Portland studio.

Kevin Gates
Kevin Gates
15,052 Points

They normally only retire courses if they have uploaded or will upload soon new versions of the course.

Modern technology stacks are evolving regularly so it's best to get the latest information.