Instant Haml
暫譯: 即時 Haml

Krzysztof Niksinskiis

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-23
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 52
  • 裝訂: Paperback
  • ISBN: 1783283777
  • ISBN-13: 9781783283774
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn how to integrate Haml into your current application setup and development workflow

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Step-by-step instructions that will help you integrate Haml into your current application setup and development workflow
  • Learn how to speed up development of view templates
  • Understand Haml options, configuration and Rails-specific features

In Detail

Haml is a markup language used to rapidly develop Rails view templates (or HTML pages). It is used by professional developers and praised for its cleanliness, human friendliness and usage agility. It functions as a replacement for inline page templating systems such as PHP, ASP, and ERB - the templating language used in most Ruby on Rails applications. Haml is itself a description of HTML and hence it avoids the need for explicitly coding HTML into the template with some code to generate dynamic content.

A practical guide which shows you a number of examples of Haml usage and then lets you dive into more advanced features to help you take full advantage of rapid development of view templates in your Rails applications. This book will show you how you can use Haml to create beautiful, easily maintainable and concise view templates without the hassle of writing in HTML.

Starting by showing you how to install Haml and how to integrate it into your Rails application, this practical guide will then teach you how to create the elements of a view template. This book will introduce you to the important features of Haml, show you how to integrate Haml with your development editor, and how to make it work with the Twitter Bootstrap framework.

This book will also show you how to convert existing view templates. With this book, you will be able to integrate Haml into your current application setup and development workflow.

What you will learn from this book

  • Download and install Haml
  • Integrate Haml with your Rails application
  • Convert all existing view templates automatically
  • Add Haml to your development editor
  • Use Haml with Twitter Bootstrap Framework

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A fast-paced, example-based guide to teach you how to integrate Haml into your Rails application.

Who this book is written for

If you are a developer who would like to speed up and simplify your view template creation, this book is ideal for you. A basic working knowledge of HTML and CSS, as well as some Ruby on Rails experience is recommended.

商品描述(中文翻譯)

學習如何將 Haml 整合到您當前的應用程式設置和開發工作流程中

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 逐步指導,幫助您將 Haml 整合到當前的應用程式設置和開發工作流程中
- 學習如何加速視圖模板的開發
- 了解 Haml 的選項、配置和 Rails 特定功能

詳細內容
Haml 是一種標記語言,用於快速開發 Rails 視圖模板(或 HTML 頁面)。專業開發人員使用 Haml,並讚揚其簡潔性、人性化和使用靈活性。它作為 PHP、ASP 和 ERB 等內嵌頁面模板系統的替代品,ERB 是大多數 Ruby on Rails 應用程式中使用的模板語言。Haml 本身是 HTML 的描述,因此避免了在模板中明確編碼 HTML 的需要,並使用一些代碼來生成動態內容。

這本實用指南展示了多個 Haml 使用範例,然後讓您深入了解更高級的功能,幫助您充分利用 Rails 應用程式中視圖模板的快速開發。本書將向您展示如何使用 Haml 創建美觀、易於維護且簡潔的視圖模板,而無需麻煩地編寫 HTML。

本書首先展示如何安裝 Haml 以及如何將其整合到您的 Rails 應用程式中,然後教您如何創建視圖模板的元素。本書將介紹 Haml 的重要功能,展示如何將 Haml 與您的開發編輯器整合,以及如何使其與 Twitter Bootstrap 框架一起工作。

本書還將展示如何轉換現有的視圖模板。通過本書,您將能夠將 Haml 整合到您當前的應用程式設置和開發工作流程中。

您將從本書學到什麼
- 下載和安裝 Haml
- 將 Haml 整合到您的 Rails 應用程式中
- 自動轉換所有現有的視圖模板
- 將 Haml 添加到您的開發編輯器
- 使用 Haml 與 Twitter Bootstrap 框架

方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這是一個快速、基於範例的指南,教您如何將 Haml 整合到您的 Rails 應用程式中。

本書的讀者對象
如果您是一位希望加速和簡化視圖模板創建的開發人員,這本書非常適合您。建議具備基本的 HTML 和 CSS 工作知識,以及一些 Ruby on Rails 的經驗。

最後瀏覽商品 (20)