Markaby
Encyclopedia
Markaby is a small Ruby
library for writing HTML
code in pure Ruby. It is an alternative to templating languages such as ERb
and HAML
which combine Ruby code with some form of markup. It was developed by anonymous computer programmer "why the lucky stiff
" and its name comes from Markup as Ruby.
Executing the above code will render the following HTML:
gem install markaby
Rails
plugin
script/plugin install git://github.com/markaby/markaby.git
.
Ruby (programming language)
Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. Ruby originated in Japan during the mid-1990s and was first developed and designed by Yukihiro "Matz" Matsumoto...
library for writing HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....
code in pure Ruby. It is an alternative to templating languages such as ERb
ERuby
eRuby is a templating system that embeds Ruby into a text document. It is often used to embed Ruby code in an HTML document, similar to ASP, JSP and PHP.-Usage:eRuby allows Ruby code to be embedded within a pair of delimiters...
and HAML
Haml
Haml is a lightweight markup language that is used to describe the XHTML of any web document without the use of traditional inline coding. It’s designed to address many of the flaws in traditional templating engines, as well as making markup as elegant as it can be...
which combine Ruby code with some form of markup. It was developed by anonymous computer programmer "why the lucky stiff
Why the lucky stiff
why the lucky stiff is the persona formerly used by an anonymous and prolific writer, cartoonist, musician, artist, and computer programmer notable for his work with the Ruby programming language...
" and its name comes from Markup as Ruby.
Usage
Executing the above code will render the following HTML:
Distribution
Gemgem install markaby
Rails
Ruby on Rails
Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language.-History:...
plugin
script/plugin install git://github.com/markaby/markaby.git
Camping
Markaby is the templating engine used for the Camping micro web frameworkCamping (microframework)
Camping is a web application framework written in Ruby which consistently stays under 4kb - the complete source code can be viewed on a single page....
.