Aptana.Radrails.An.Ide.for.Rails.Development,教你如何发挥radrails强大功能的好书,书的目录如下
Preface 1
Chapter 1: Getting Started 7
Do I Need an IDE for Rails Development? 7
About Aptana RadRails 9
How Can Aptana RadRails Help Me? 10
Prerequisites 11
Java Virtual Machine 11
Ruby and Rails 12
Components to Install 13
Installing Rails if you already have Ruby and RubyGems 13
Installing Ruby and Rails on Linux 15
Installing Ruby and Rails on OS X 16
Installing Ruby and Rails on Windows 17
Supported Databases 17
Installing Eclipse 18
Installing Plugins in Eclipse 20
RadRails Installation 21
Summary 25
Chapter 2: First Steps 27
Basic Configuration 27
Eclipse Preferences Dialog 27
File Encoding 30
Connecting through a Proxy 30
Ruby Environment 32
Rails Environment 33
Creating a Rails Project 34
Importing an Existing Project into RadRails 37
Working with Perspectives and Views 38
Eclipse Perspectives 38
Table of Contents
[ ii ]
Eclipse Views 39
Summary 43
Chapter 3: Your First Application 45
Basic Views 45
The Ruby Explorer View 46
Ruby Explorer Top Icons 50
The Console View 51
The Generators View 53
Generating Models and Migrations 55
Running Your Migrations 56
Generating Scaffolds 58
Starting Your Server 60
Monitoring Your Server 63
Summary 65
Chapter 4: Writing Ruby Code 67
A Quick Note about Keyboard Shortcuts 67
The Ruby Editor 68
Syntax Highlighting 69
Outlining the Structure of Your Ruby Code 70
Quick Outline 71
Type Hierarchy 75
General Outline View 77
Code Folding 78
Code Formatting 80
Indenting Code Blocks 82
Commenting Code Blocks 82
Code Completion 82
Code Templates 85
Defining Your Own Code Templates 87
Navigating Your Code 89
General Source Navigation Tools 89
Matching Brackets 89
Declarations of Classes, Modules, Methods, and Variables 90
Navigating Your MVC Code 91
Opening Types and Resources 92
Refactoring 94
Generate Accessors 95
Generate Constructors 96
Convert Local Variable to Field 96
Encapsulate Field 96
Table of Contents
[ iii ]
Extract Method 96
Extract Constant 98
Inline Method 98
Rename 98
Split Local Variable 99
Searching in Ruby Projects 100
Searching within the Current File 100
Searching across Multiple Files 101
Ruby Search 104
Call Hierarchy 105
Summary 106
Chapter 5: Coding Rails Views 107
ERB/RHTML Templates 107
Views Navigation 108
View Templates 110
HTML Code Assist 112
Refactoring into Partials 113
Outline 114
Editing HTML Files 115
Editing JavaScript Files 115
Editing CSS Files 118
Summary 121
Chapter 6: Debugging Your Application 123
Getting Started with Debugging 124
Debugger Configuration 124
Starting Your Server 126
Debugging a Ruby Script 126
Using Breakpoints 127
The Breakpoints View 130
Setting Generic Breakpoints for Exceptions 131
Exporting and Importing Breakpoints 133
The Debug View 134
The Debug View and the Stack Frame 134
Stepping through Your Application 136
Variables and Expressions 139
The Variables View 139
The Expressions View 142
The Display View 144
Useful Tools for Debugging 146
Linking Errors and Source Code from the Browser 146
Table of Contents
[ iv ]
Tailing the Log Files 146
Summary 147
Chapter 7: RadRails Views 149
Opening the RadRails Views 149
Documentation Views 150
Ruby Interactive (RI) View 151
Ruby Core, Ruby Standard Library, and Rails API 151
Servers View 154
Starting a Server with Additional Arguments 156
Managing Non-Rails Servers from the Servers View 156
Launching External Tools from Eclipse 158
Rails Console 160
Rails Plugins View 161
RubyGems View 163
Rake Tasks 166
Generators View 167
Rails Shell View 169
RegExp View 171
Problems View 172
Tasks View 174
Test::Unit View 175
Summary 180
Chapter 8: Configuration Reference 181
General 182
Appearance 182
Editors 183
Annotations 185
Linked Mode 185
Quick Diff 186
Spelling 187
Keys 188
Workspace 190
Aptana 190
Browsers/User Agents 191
Editors 191
Code Assist 191
Colors 192
Folding 192
Formatting 193
Typing 194
RHTML Templates 195
Start Page 195
Table of Contents
[ ]
Rails 196
Ruby 196
Appearance 196
Editor 197
Syntax Coloring 198
Errors/Warnings 199
Task Tags 200
Summary 201
Chapter 9: Other Useful Plugins 203
Database Management 204
Installing DBViewer 205
Creating New Connections 206
DB Tree View 210
SQL Execute View 212
SQL History View 213
DBViewer Configuration 214
Version Control with Eclipse 215
Installing Subclipse 216
SVN Repository Exploration 218
Projects and Repositories 219
Checking out an Existing Project 220
Importing a New Project into a Repository 221
Update, Edit, Compare, and Commit 222
The Synchronize View 225
History View 226
Summary 227
Index 229
分享到:
相关推荐
Aptana RadRails,作为一款Eclipse的插件,主要的作用就是JavaScript的调试和智能提示,就想你跟踪Java bug那样方便,有助于提升javaweb的开发效率
RadRails是Eclipse平台上的一个开源插件,专为Ruby on Rails开发者提供了一个集成的工作环境。它提供了一系列便捷的功能,如代码编辑、调试、测试、数据库管理等,极大地提高了Rails项目的开发效率。通过安装...
### Aptana RadRails – 一款专为 Ruby on Rails 开发设计的 IDE #### 知识点一:Aptana RadRails 概述 - **定义与背景**:Aptana RadRails 是一款专为 Ruby on Rails(RoR)开发而设计的集成开发环境(Integrated...
Aptana_RadRails_Setup_2.0.5.part03 Aptana_RadRails_Setup_2.0.5.part03
Aptana_RadRails_Setup_2.0.5.part01 Aptana_RadRails_Setup_2.0.5.part01
RadRails是一款专为Ruby on Rails框架设计的集成开发环境(IDE),它基于Eclipse平台,提供了许多方便Rails开发者的功能,如代码自动完成、调试、版本控制集成等。在使用RadRails进行开发时,理解并正确配置其参数...
Aptana RadRails 2.0.5 includes extensive capabilities to build Ruby and Rails applications in addition to support for HTML, CSS and JavaScript editing.
标题"Aptana_RadRails_Setup_2.0.2.exe.hx5.rar"提示我们这是一个与Aptana RadRails相关的安装程序的压缩文件,版本为2.0.2,并且经过了hx5的编码处理。这个文件可能是为了在不支持直接下载.exe可执行文件的环境中...
RadRails是一款基于Eclipse的Ruby on Rails集成开发环境(IDE),提供了丰富的功能支持Rails应用开发。 1. **下载与安装** - 访问官网[http://www.radrails.org/](http://www.radrails.org/)下载RadRails,通常只...
标题"Aptana_RadRails_Setup_2.0.2.exe.hx2.rar"和描述中的内容表明,这是一个关于Aptana RadRails集成开发环境(IDE)的安装程序的压缩包,版本号为2.0.2。这个压缩包可能包含了一系列的分块文件,例如hx15到hx24,...
标题"Aptana_RadRails_Setup_2.0.2.exe.hx3.rar"提示我们这是一个关于Aptana RadRails的安装程序的压缩文件,版本为2.0.2,并且经过了hx3的分块处理。Aptana RadRails是一款强大的集成开发环境(IDE),专为Web开发...
标题"Aptana_RadRails_Setup_2.0.2.exe.hx4.rar"提示我们这是一个与Aptana RadRails相关的安装程序的压缩文件,版本为2.0.2,并且经过了hx4的编码处理。这个文件可能是为了分块上传或下载而被分割成了多个部分,从...
标题"Aptana_RadRails_Setup_2.0.2.exe.hx1.rar"提示我们这是一个关于Aptana RadRails的安装程序的压缩文件。Aptana RadRails是一款集成开发环境(IDE),专为Ruby on Rails框架设计,提供了一整套工具集,帮助...
标题"Aptana_RadRails_Setup_2.0.2.exe.hx7.rar"和描述中的"Aptana_RadRails_Setup_2.0.2.exe.hx7.rar 最后一个"提到了一个名为"Aptana RadRails"的软件的安装程序的压缩包文件。这个压缩包可能是该软件的旧版本,...
Aptana_RadRails_Setup_2.0.5.part05 Aptana_RadRails_Setup_2.0.5.part05
Aptana_RadRails_Setup_2.0.5.part09 Aptana_RadRails_Setup_2.0.5.part09
Aptana_RadRails_Setup_2.0.5.part07 Aptana_RadRails_Setup_2.0.5.part07
Aptana_RadRails_Setup_2.0.5.part04 Aptana_RadRails_Setup_2.0.5.part04
Aptana_RadRails_Setup_2.0.5.part08 Aptana_RadRails_Setup_2.0.5.part08