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

Tutorials on websockets?

I have a little web app that I have been working on that allows people to view and share jnformation. Currently it uses a number of ajax requests and Php scrips to query the db. I now want to replace some of those ajax requests with more automated procedures that refresh content when there are updates on the db or display alerts when new comments are added etc without having to constantly pole to db?

What's the best option? What videos should I be watching on here?

5 Answers

Hi I think you should look into the web framework Meteor to get you started with "automated procedures that refresh content" or what Meteor calls, real time.

Hey cheers:) We have built our db in MSSQL Server. Is this technology specific to certain types of db or with it comvert across?

Meteor is a lot of fun. I used it to learn mongoDB which is a little different than the mySQL like databases. There is a 12 step guide that walks you through setting up a chat and list program. Only takes an hour and is great javascript practice.

Yeah the learning curve is actually quite easy if you have experience working with webapps before with other frameworks like Rails or Django etc.

I recommend using the online book, Discover Meteor. Which begins building a simple forum posting app. Pretty cool and gets you started with all the juicy concepts that Meteor provides like packaging, routing, and publishing/subscribing.

I have never used Meteor with a SQL database but google says you can. Good luck!

http://projectricochet.com/blog/can-meteor-and-mysql-play-nicely-together#.VJmG5V4AIA

Wow that is awesome. Although I'm so used to working with MongoDB now, I can't go back to relational databases :D

Cheers people :)

I would love to see Treehouse bring this aboard, it's amazing.

Meteor Tutorials?!