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

PHP

Is there a web application that runs code and displays the results in the browser (like Workspaces)?

Hello, I'm looking for a web application like Teamtreehouse Workspaces, that lets the user run code and get the results displayed on his browser? Another example maybe interactive tutorials sites like codecademy.com.

Thanks.

3 Answers

Codecademy has a feature called Codebits for experimenting with HTML, CSS and JavaScript. You could also have a look at Codecademy Labs which supports Ruby, Python and JavaScript.

Away from Codecademy, there's the excellent CodePen, JSFIDDLE, dabblet or JS Bin for your front-end needs (HTML, CSS & JavaScript).

Thank you for your reply. I meant applications that you can install on your own server though. Do you know about any?

For Windows I recommend Xampp. There is many tutorials how to set it up and it's easy to use. There is also MAMP and WAMP. In addition phpacademy 3 or 4 weeks ago posted video about http://www.vagrantup.com/ which is recommended by them. Those applications come with mysql apache server and even perl so you can work locally on your own computer.

Both JS Bin and Dabblet are open source:

JS Bin on GitHub

Dabblet on GitHub

Depends on your end goal... but if you're thinking about writing interactive tutorials why not try creating your own Codecademy courses using Codecademy's Course Creator?