Wordless Wordless dramatically speeds up and enhances your custom themes creation, thanks to Sass, Compass, Haml and Coffeescript. Version 0.1 Updated 2011-12-13 Downloads 213 Average Rating Click Click is an MVC library for developers with a... 続きを読む
Getting used Haml and Sass for any couple of Rails side projects, I have discovered that they accelerate my frontend development greatly. However, I've not found a Rails blogging service that's as 続きを読む
ハムです。 ではなくて、先日リリースしたインデントを綺麗にするサービス「Ham Cutlet」の技術的な話しです。 RubyにHamlというテンプレート言語があるんですが、それのユーザーの方なら、「Haml使っただけじゃん」という感じだと思います。Hamlが素晴らしいん... 続きを読む
Tuesday, 31 March 2009 Using Haml & Sass from a Rake task Some time ago I had the 'lightning' idea to implement another Rake automation to support my current blogging workflow, which at the moment consists of finding a sparkling idea to blog ... 続きを読む
Before we start this tutorial, I want to make one thing clear. After you look at this, go and convert one of your ERB files to Haml. Just try it. Just take the file and start hitting delete. Do it. You don’t have to keep the file if you don... 続きを読む
Haml Why is my markup indented properly in development mode, but not in production? To improve performance, Haml defaults to “ugly” mode in Rails apps running in production. How do I put a punctuation mark after an element, like ”I like <s... 続きを読む
Sample app. Using rails3.1, haml and TwitterBootstrap. 続きを読む
About Bootstrap Brief history, browser support, and more History In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that pre... 続きを読む
2011/11/07 SinatraとHamlで初めてのWeb開発 ▼Web開発 色々ありましてWeb開発に挑戦しています.いつか勉強したい,って思ってたのでいよいよその機会が来てしまいました.HTMLタグがひとつも分からないところからのスタートです. ▼Sinatra 「RubyでWebアプ... 続きを読む
Hows Haml? - Presentation Transcript How’s Haml? Patrick ReaganWhat is Haml? • Templating language for creating XHTML • Alternative to ERB in Rails • Principle: “Markup should be beautiful”What is Beauty?What is Beauty?Installation $ su... 続きを読む
少し出遅れてる感バリバリですが、node.jsをUbuntu 10.10@さくらVPSに入れてみた。 node.jsのWebフレームワークのexpressとテンプレート言語hamlで構成してみた。 hamlを選んだ理由は慣れてるから。というそれだけです。まず必要なもののチェック。 公式による... 続きを読む
ウワサのHamlを使ってみました。Hamlの文法は簡単です。本家サイトのチュートリアルを読んでも読まなくても書けるくらい。 というわけで、まずはkaeruspoonのlayoutsビューファイルをHamlにしてみました。以下のような感じです。すごく簡潔でいいですね。 app/v... 続きを読む
March 28, 2007 4:06 PM by funami フナミタカオです。 Etech2日目のセッション「Haml: A Semantic Rebellion in Template Land」から。 Ruby on Railsでは、MVCを分離していて、テンプレート言語として、ERbを使ったRHTMLを採用していますが、場合によって... 続きを読む
Dismiss Octotip: You've activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files. 続きを読む
Nearly a year after the release of Haml and Sass 3, we’re ready to announce the release of Haml and Sass 3.1. You can install them now: That’s right, there are two separate gems. last September, Haml and Sass are being split into two separa... 続きを読む
Dismiss Octotip: You've activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files. 続きを読む
2011年06月04日12:14 Ruby 今さら聞けない Rails3 + DataMapper + Haml + jQuery + RSpec な開発環境の作り方 というわけで、今さらですが Rails3 な開発環境 (Ruby 1.8.7, Rails 3.0.7) を作ってみました。そのときのログを残しておきます。 なお、ActiveRecor... 続きを読む
Sinatra で以下のように書いたとき Haml::Template::options[:escape_html] = true このようなエラーが出ることがあるuninitialized constant Haml::Template (NameError)ものによって出たり出なかったりなのでどういうタイミングでどう書いてあったら期待通り... 続きを読む
Ruby helpers do def partial(template, *args) options = args.last.is_a?(Hash) ? args.pop : {} options.merge!(:layout => false) if collection = options.delete(:collection) then collection.inject([]) do |buffer, member| buffer :layout => false, ... 続きを読む
Created on 2 Jul, 2010 | Tag(s): ruby rails mongodb haml rspec 会社用の、小物Webアプリを作ろうかと思い、せっかくなのでRuby on Rails 3とmongoDBで作ろうかなと思い、とりあえず環境を作るところまでのメモ。 Rails 3 のインストール とりあえず Raild 3... 続きを読む
Haml is a markup language that’s used to cleanly and simply describe the XHTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml a... 続きを読む
Haml/Sass の普及を目的としたユーザグループです。Rails 勉強会@東京の分科会のような位置付けで活動しています。略称は日本ハムです。 活動内容 Haml/Sass に関する情報交換 (Rails 勉強会@東京、または irc.freenode.net の #rails-tokyo チャンネル) 各種イ... 続きを読む
Ruby, Sinatraテンプレートに変数を埋め込む方法を調べてみた。コントローラ require 'rubygems' require 'sinatra' get '/:id' do @id = params[:id] @items = ['red', 'green', 'yellow'] haml :index end テンプレート !!! XML !!! %html{html_attrs('ja')} ... 続きを読む
Ruby Freaks Lounge 第9回 SinatraとSequel・Hamlで掲示板アプリを作る 2009年4月27日 原悠 Ruby, フレームワーク, Sinatra, Sequel, Haml, Sass 1 2 はじめに 第7回はRails以外のWebフレームワークの簡単な紹介と,SinatraでHello Worldアプリケーションを動... 続きを読む
先日、まちつく!が正式リリースになりました。よろしければ是非携帯でアクセスして遊んでみてください。 こんにちは、ryosukeです。 ラボブログの前々回のエントリーで ruby で実装された web application framework の Sinatra が紹介されていたのですが、私... 続きを読む