Haml

2,257 views

Published on

HTML is unmanageable, ugly and doesn't represent the DOM.
HAML fixes that.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,257
On SlideShare
0
From Embeds
0
Number of Embeds
29
Actions
Shares
0
Downloads
112
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Haml

  1. 1. HAML A renaissance in HTML
  2. 2. Me
  3. 3. Me • James Darling
  4. 4. Me • James Darling • Geocities at 13
  5. 5. Me • James Darling • Geocities at 13 • PHP at 15
  6. 6. Me • James Darling • Geocities at 13 • PHP at 15 • Ruby/Rails at 17
  7. 7. Me • James Darling • Geocities at 13 • PHP at 15 • Ruby/Rails at 17 • JS at 19
  8. 8. I come from the server baring gifts
  9. 9. Beautiful Code
  10. 10. Warning! Lovely Tasty Code
  11. 11. rspec
  12. 12. Model
  13. 13. Controller
  14. 14. View
  15. 15. Who’s Dom?
  16. 16. HTML is just plain UGLY
  17. 17. HTML is just plain UGLY HAML is the plastic surgeon
  18. 18. Hampton Catlin “I opened up my view files and started using my delete key”
  19. 19. A tag begins with $
  20. 20. A tag begins with $
  21. 21. A tag begins with $
  22. 22. Add an ID
  23. 23. Add an ID
  24. 24. Add an ID
  25. 25. Add a couple of classes
  26. 26. Add a couple of classes
  27. 27. Add a couple of classes
  28. 28. Add a couple of classes CSS Selector
  29. 29. Add a couple of classes CSS Selector
  30. 30. Add a couple of classes CSS Selector
  31. 31. Divs are even easier
  32. 32. Divs are even easier
  33. 33. Divs are even easier
  34. 34. All other attributes
  35. 35. All other attributes
  36. 36. All other attributes
  37. 37. No closing tags
  38. 38. Wonderfully Scalable
  39. 39. How do I get it
  40. 40. Rails Plugin haml.hamptoncatlin.com
  41. 41. StaticMatic staticmatic.rubyforge.org
  42. 42. sudo gem install staticmatic
  43. 43. sudo gem install staticmatic staticmatic setup jelly
  44. 44. sudo gem install staticmatic staticmatic setup jelly
  45. 45. sudo gem install staticmatic staticmatic setup jelly staticmatic preview jelly
  46. 46. sudo gem install staticmatic staticmatic setup jelly staticmatic preview jelly staticmatic build jelly

×