Sunday, March 30, 2008

Markaby

Really digging Markaby and the potential it has to more easily create html in Ruby. Try to work in some Markaby along with your Erb in Rails. (Markaby is included in Camping microframework I believe... the code is very clean). Currently, I believe the latest version is 0.5 as of this writing. You can install it with a simple:

bash-3.2$ sudo gem install markaby


Read all about it:

http://markaby.rubyforge.org/

http://redhanded.hobix.com/inspect/markabyForRails.html

http://redhanded.hobix.com/inspect/markaby03.html

html do
head do
title action_name
stylesheet_link_tag 'scaffold'
end

body do
p flash[:notice], :style => "color: green"
self << @content_for_layout end end

2 comments:

SEO Services Consultants said...

Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck! Web Design Company

rocky case said...

Stephen Stapinski

Really your blog is very interesting.... it contains great and unique information. I enjoyed to visiting your blog. It's just amazing.... Thanks very much for the share.