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) Programming AJAX Processing JSON Data

Xiaoxuan Wang
Xiaoxuan Wang
4,590 Points

How about processing on a huge employee list?

Unlike the example in the video, when it comes to a situation that the name list is huge, is it a better way to use LOOP? Are there any faster method solving this kind of issue?

3 Answers

ywang04
ywang04
6,762 Points

I have the same question. Any comments are really appreciate. :)

John Lundberg
John Lundberg
20,368 Points

Maybe you will get an answer if you specify a number like 20 000 and specify for what purpose.

Aby Abraham
PLUS
Aby Abraham
Courses Plus Student 12,531 Points

If you have huge list, consider a database for storing and retrieving data. You may need to opt for a db like MongoDB, SQlite for create connections for data transactions. But, you need to check on how to integrate those dbs in your current application via their respective documentation.

One Eg: Node.js web framework can be used with very beginner friendly mongodb (via npm packages). Full Stack Javascript track eventually gets you there. Similarly, we have many web frameworks for developing applications with many databases and services connected to it, as required.