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

Fran Levy
Fran Levy
351 Points

PHP and HAML

I love using HAML (and SASS) to write HTML and CSS faster and more efficiently. I'm just starting to learn PHP now, and I can't figure out a good way to use it while writing in HAML. I've found some ways people are trying to do it, such as "phamlp" (http://code.google.com/p/phamlp/downloads/list), but I don't really understand it. I have no background in Ruby or Rails, so it looks pretty confusing to me. Does anyone know of a good method or tutorial out there to teach me how to write PHP in HAML?

1 Answer

William LaMorie
William LaMorie
11,769 Points

Here's the docs for the project: https://code.google.com/p/phamlp/w/list

Specifically, here's the installation and usage docs, which should explain how to use it. https://code.google.com/p/phamlp/wiki/InstallationAndUsage

The comments on the Installation Page might be of particular help!

Hope those help! =)