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

General Discussion

PHP & AJAX Treehouse Tutorials?

Hi,

I was wondering if you had any plans to include a feature on using AJAX with PHP to create a simple app. Something like making a simple chat box. I love the content on treehouse but feel the PHP material is very limited compared to Ruby. It would be great if we could have a tutorial on this very crucial topic in web development. Thanks.

2 Answers

AJAX is more of a javascript/jquery thing than a PHP thing. There are already lessons on jQuery, but AJAX in itself is not covered.

Honestly, you don't even have to use PHP for AJAX, but it is very commonly used with AJAX.

Using jQuery for the AJAX requests is the easiest route, and you can find info on that in the jQuery documentation. It's pretty simple.