Post on 25-May-2015
description
transcript
HAMLA renaissance in HTML
Me
Me
• James Darling
Me
• James Darling
• Geocities at 13
Me
• James Darling
• Geocities at 13
• PHP at 15
Me
• James Darling
• Geocities at 13
• PHP at 15
• Ruby/Rails at 17
Me
• James Darling
• Geocities at 13
• PHP at 15
• Ruby/Rails at 17
• JS at 19
I come from the server baring gifts
Beautiful Code
Warning!Lovely Tasty Code
rspec
Model
Controller
View
Who’s Dom?
HTML is just plainUGLY
HTML is just plainUGLY
HAML is the plastic surgeon
Hampton Catlin“I opened up my view files and started using
my delete key”
A tag begins with $
A tag begins with $
A tag begins with $
Add an ID
Add an ID
Add an ID
Add a couple of classes
Add a couple of classes
Add a couple of classes
Add a couple of classes
CSS Selector
Add a couple of classes
CSS Selector
Add a couple of classes
CSS Selector
Divs are even easier
Divs are even easier
Divs are even easier
All other attributes
All other attributes
All other attributes
No closing tags
WonderfullyScalable
How do I get it
Rails Pluginhaml.hamptoncatlin.com
StaticMaticstaticmatic.rubyforge.org
sudo gem install staticmatic
sudo gem install staticmatic
staticmatic setup jelly
sudo gem install staticmatic
staticmatic setup jelly
sudo gem install staticmatic
staticmatic setup jelly
staticmatic preview jelly
sudo gem install staticmatic
staticmatic setup jelly
staticmatic preview jelly
staticmatic build jelly