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 trialrobert morea
7,599 Points'Easier' to just use workspace
Dave says at the start of this video that you could set up a local server and view your files through it, or load your files on an existing server and access them that way, but it will be easier to just follow along in workspace.
The thing is ... no, I can't just set up a local server. No, I cant load my files on an existing server and access them that way. I don't know how. After quite a lot of time trying to study programming I still don't know how to do that. It's always glossed over. I don't want to just follow along in workspace. I want to make and send to and receive from a server.
I have studied HTTP, for example. I get how it works in theory. The header, PUT and GET and PUSH and DELETE. Codes that start with 200 or 300 or 400 ... quite a lot of things.. in theory. But how do you actually do it? Where can I learn to do that? Does Treehouse teach that?
1 Answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi Robert,
Do you know how to use a local server using a program like MAMP, XAMPP, or DesktopServer. These are powerful applications that allow you to acess localhost so you can use server side languages like PHP and use AJAX, without having to pay for a web host (although you will need one eventually.
Here are a couple of courses on Treehouse that although have WordPress in mind, should have you set up for whatever you want to do.
- https://teamtreehouse.com/library/windows-local-php-dev-environment/ Using Local PHP in Windows
- https://teamtreehouse.com/library/mac-local-php-dev-environment Setting up a local server on a MAC
Good luck
robert morea
7,599 Pointsrobert morea
7,599 PointsWow! Yes! That looks like what I need.
Maybe it's there and I missed it but I think something like this should be featured early in any of the tracks that sorta kinda assume we have a server going ...
Anyway, thanks.