Ruby on Rails: Up and Running(英文影印版)(低价优惠)
基本信息
- 原书名: Ruby on Rails: Up and Running
- 原出版社: O'Reilly
- 作者: (美)Bruce A.Tate, Curt Hibbs [作译者介绍]
- 丛书名: 东南大学出版社O'Reilly图书系列
- 出版社:东南大学出版社
- ISBN:7564105690
- 上架时间:2006-11-22
- 出版日期:2006 年11月
- 开本:16开
- 页码:167
- 版次:1-1
- 所属分类:
计算机 > 软件与程序设计 > Rails/Ruby
内容简介回到顶部↑
书籍
计算机书籍
也许您已经听够了所有关于ruby on rails的谈论并且现在就想一试身手,那么这本书就是您所需要的:一本快速、讲求实效的参考书,向您展示如何构建实际的应用程序。ruby on rails: up and running将通过七章的内容使您从一无所知加速到全速前进。无论您想搭建脚手架般的实验程序,还是用ajax编写响应快速并能取悦用户的应用程序,它都将涵盖您所需的一切内容。.
rails为数据库驱动的网络应用程序实现了一个真正轻量级的开发模型。在几乎不需要进行配置的情况下,只要遵循一些简单的规则,rails会自动在您的各个数据库表格间建立映射关系。在网络应用程序开发的过程中,如果您对程序进行修改,就可以立刻查看修改的效果,而不必像在其他框架和编程语言中那样,为此目的程序员得经历可怕的编译和部署过程。
使用rails进行开发相对要简单很多,它让您可以专注于应用程序中最有创造力的部分,而不是将时间与精力浪费在一些束缚手脚的规则或事情上面。就算在rails中也有束缚手脚的规则或事情,但相比较而言,只需要较少行数的代码来应对,从而达到代码维护工作量更少和开发周期更短。..
本书内容包括:
* 使用activerecord与数据库协同工作
* 使用migrations来修改数据库而无需sql
* 对数据库中表格的相互关系进行建模
* 构建控制器来表达应用程序中的基本操作
* 使用模板来开发html显示页面
* 在应用程序中整合ajax
* 编写单元测试、功能测试和集成测试
ruby on rails可能是近十年来最重要的开源项目。它已经革新了网络应用程序的开发方式并且使得数十万的开发人员工作更加轻松。如果您还没有使用rails来工作,现在就是开始的时候了;而ruby on rails: up and running将向您展示怎样开始。...
计算机书籍
也许您已经听够了所有关于ruby on rails的谈论并且现在就想一试身手,那么这本书就是您所需要的:一本快速、讲求实效的参考书,向您展示如何构建实际的应用程序。ruby on rails: up and running将通过七章的内容使您从一无所知加速到全速前进。无论您想搭建脚手架般的实验程序,还是用ajax编写响应快速并能取悦用户的应用程序,它都将涵盖您所需的一切内容。.
rails为数据库驱动的网络应用程序实现了一个真正轻量级的开发模型。在几乎不需要进行配置的情况下,只要遵循一些简单的规则,rails会自动在您的各个数据库表格间建立映射关系。在网络应用程序开发的过程中,如果您对程序进行修改,就可以立刻查看修改的效果,而不必像在其他框架和编程语言中那样,为此目的程序员得经历可怕的编译和部署过程。
使用rails进行开发相对要简单很多,它让您可以专注于应用程序中最有创造力的部分,而不是将时间与精力浪费在一些束缚手脚的规则或事情上面。就算在rails中也有束缚手脚的规则或事情,但相比较而言,只需要较少行数的代码来应对,从而达到代码维护工作量更少和开发周期更短。..
本书内容包括:
* 使用activerecord与数据库协同工作
* 使用migrations来修改数据库而无需sql
* 对数据库中表格的相互关系进行建模
* 构建控制器来表达应用程序中的基本操作
* 使用模板来开发html显示页面
* 在应用程序中整合ajax
* 编写单元测试、功能测试和集成测试
ruby on rails可能是近十年来最重要的开源项目。它已经革新了网络应用程序的开发方式并且使得数十万的开发人员工作更加轻松。如果您还没有使用rails来工作,现在就是开始的时候了;而ruby on rails: up and running将向您展示怎样开始。...
作译者回到顶部↑
本书提供作译者介绍
Bruce Tate是一位知名的作者、发言人和独立咨询师。他的专长在于轻量级开发技术,尤其是Ruby和Ruby on Rails。他的O’Reilly作品中包括获得Jolt大奖的Better, Faster, Lighter Java(影印版由东南大学出版社出版)和Beyond Java(中文版即将由东南大学出版社出版)。
Curt Hibbs 是一位波音公司的高级软件程序员,具有30年的开发经验。作为最早使用Ruby的人员之一,他活跃于Ruby开发人员社群。Curt是Instant Rails的作者,该软件用于Windows平台的Rails“一键式”安装。
.. << 查看详细
Curt Hibbs 是一位波音公司的高级软件程序员,具有30年的开发经验。作为最早使用Ruby的人员之一,他活跃于Ruby开发人员社群。Curt是Instant Rails的作者,该软件用于Windows平台的Rails“一键式”安装。
.. << 查看详细
目录回到顶部↑
preface.
1. zero to sixty: introducing rails
rails strengths
putting rails into action
organization
the web server
creating a controller
building a view
tying the controller to the view
under the hood
what's next?
2. active record basics
active record basics
introducing photo share
schema migrations
basic active record classes
attributes
complex classes
behavior
moving forward
1. zero to sixty: introducing rails
rails strengths
putting rails into action
organization
the web server
creating a controller
building a view
tying the controller to the view
under the hood
what's next?
2. active record basics
active record basics
introducing photo share
schema migrations
basic active record classes
attributes
complex classes
behavior
moving forward
前言回到顶部↑
The Ruby on Rails phenomenon is sweeping through our industry with reckless disregard for established programming languages, longstanding conventions, or commercial support. You can get a whole lot of information on Ruby on Rails from articles on the Web, excellent books, and even formal coursework. However, there's something missing. How does an established programmer, armed with nothing more than a little Ruby knowledge, go just beyond the basics, and be productive in Rails?.
With Ruby on Rails: Up and Running, we are not going to reiterate the reference manual or replace Google. Instead, we'll strive to give you the big picture of how Rails applications hold together and tell you where to go for the information that we don't cover in the chapters. You will see how Rails dynamically adds features to all database models, called Active Record objects. By understanding the big picture,you'll be able to make better use of the best reference manuals to fill in the details.We won't try to make you digest a whole lot of words. Instead, we'll give you the theory in the context of an end-to-end application. We'll walk you through the creation of a simple project--one that is a little more demanding than a blog or shopping cart, but with a simple enough structure that a Rails beginner will be able to quickly understand what's going on.
We're not going to try to cover each new feature. Instead, we'll show you the ones we see as the backbone, forming the most important elements to understand. We will also cover migrations and Ajax in some detail, because you won't find too much information on those two frameworks yet.
In short, we're not trying to build a comprehensive Rails library. We're going to give you the foundation you need to get up and running.
Who Should Read This Book?
Ruby on Rails: Up and Running is for experienced developers who are new to Rails and possibly to Ruby. To use this book, you don't have to be a strong Ruby programmer. We do expect you to be a programmer, though. You should know enough about your chosen platform to be able to write programs, install software,run scripts using the system console, edit files, use a database, and understand how basic web applications work.
Conventions Used in This Book
The following typographic conventions are used in this book:
Plain text
Indicates menu titles, menu options, menu buttons, and keyboard accelerators
(such as Alt and Ctrl).
Italic
Indicates new terms, URLs, email addresses, filenames, file extensions, path-
names, directories, and Unix utilities.
Constant width
Indicates commands, the contents of files, and the output from commands.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width ita2ic
Shows text that should be replaced with user-supplied values.
With Ruby on Rails: Up and Running, we are not going to reiterate the reference manual or replace Google. Instead, we'll strive to give you the big picture of how Rails applications hold together and tell you where to go for the information that we don't cover in the chapters. You will see how Rails dynamically adds features to all database models, called Active Record objects. By understanding the big picture,you'll be able to make better use of the best reference manuals to fill in the details.We won't try to make you digest a whole lot of words. Instead, we'll give you the theory in the context of an end-to-end application. We'll walk you through the creation of a simple project--one that is a little more demanding than a blog or shopping cart, but with a simple enough structure that a Rails beginner will be able to quickly understand what's going on.
We're not going to try to cover each new feature. Instead, we'll show you the ones we see as the backbone, forming the most important elements to understand. We will also cover migrations and Ajax in some detail, because you won't find too much information on those two frameworks yet.
In short, we're not trying to build a comprehensive Rails library. We're going to give you the foundation you need to get up and running.
Who Should Read This Book?
Ruby on Rails: Up and Running is for experienced developers who are new to Rails and possibly to Ruby. To use this book, you don't have to be a strong Ruby programmer. We do expect you to be a programmer, though. You should know enough about your chosen platform to be able to write programs, install software,run scripts using the system console, edit files, use a database, and understand how basic web applications work.
Conventions Used in This Book
The following typographic conventions are used in this book:
Plain text
Indicates menu titles, menu options, menu buttons, and keyboard accelerators
(such as Alt and Ctrl).
Italic
Indicates new terms, URLs, email addresses, filenames, file extensions, path-
names, directories, and Unix utilities.
Constant width
Indicates commands, the contents of files, and the output from commands.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width ita2ic
Shows text that should be replaced with user-supplied values.


点击看大图





加载中...



