您的位置:首页 > 移动开发 > Android开发

Android平台开发-Android HAL develop-Android HAL开发

2011-03-09 14:41 363 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐