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 trialHardik Gami
1,622 PointsHello, I am curious on how to write own snippets? an small video explaining this feature would be great.
I tried searching online and documents which are provided in Teachers note, but its very confusing to understand. I feel this is really good and cool to know on how to write customize snippets as it would save time and it can come in handy.
Also, if possible can any one explain more about how local server works and how to install them ? I am asking this because in future I am planning to create a dynamic project which can do interaction with database on local server. I mean what all installation is required for that. Do we need Apache or XAMPP for that ? .
Thank you for your time. Any help is really appreciated.
Regards Hardik Gami
1 Answer
Tianni Myers
10,453 PointsAs far as local servers all you need is a dedicated software. I’m on Mac so I use MAMP PRO. There is also XAMPP and WAMP(for Windows). All you do is install the software, move your project’s files to the htdocs folder and go to your browser and type in “localhost” and you should be able to view your project in the web browser. These specific instructions may diff depending on which one you use but the basic concept is the same. Hope this helps.