1. Technology

Articles related to haml

Using Haml with Sinatra - Ruby - About.com
Integrating Haml and Sinatra is trivial. Simply include the Haml gem, use Haml for your views, and call the haml method instead of the erb method. The following ...
Installing Haml - Ruby - About.com
How to use Haml to create Sinatra views and layouts.
A Quick Haml Tutorial - Ruby - About.com
How to use Haml to create Sinatra views and layouts.
A Quick Haml Tutorial - Ruby - About.com
Tags are started in Haml using the percent sign (%). Any text that goes after this tag will go inside that tag. In addition, you can nest further tags and text inside ...
Making Forms and Views - Ruby - About.com
If there are any results to display, they're displayed below the form. #!/usr/bin/env ruby require 'rubygems' require 'sinatra' require 'haml' get '/' do haml :index
Creating Database-driven Apps with Sinatra - Ruby - About.com
usr/bin/env ruby require 'rubygems' require 'sinatra' require 'haml' require 'dm- core' DataMapper.setup( :default, "sqlite3://#{Dir.pwd}/rolodex.db" ) # Define the ...
AJAX With Sinatra - Ruby - About.com
We'll then use the jQuery ajax method to do the actual AJAX request and update the #message div. So this is what our Haml (and Javascript) looks like thus far.
Using Sinatra in Ruby - Introduction - About.com
... including the views. The following articles, we'll take a closer look at the routes, how you can store and retrieve data, and how to do better views with HAML.
HTML HR Tag - Add Horizontal Lines to Break Up Content
Using the HR tag allows you to divide up your content on a page into separate themes within the same article or story. Most browsers render it with a horizontal  ...
Sinatra Web Applications in JRuby - About.com
Now that we have a solid foundation in dealing with the Win32 API, we can start building the frontend using Sinatra and Haml.
1  |  2  |  3      Next

©2014 About.com. All rights reserved.