skip to content
Beginning Rails : from novice to professional Preview this item
ClosePreview this item
Checking...

Beginning Rails : from novice to professional

Author: Jeffrey Allan Hardy; Cloves Carneiro; Hampton Catlin
Publisher: Berkeley, Calif. : Apress, ©2007.
Series: Expert's voice in Web development.
Edition/Format:   Print book : EnglishView all editions and formats
Summary:

This book not only teaches the necessary skill set to become a proficient Ruby on Rails developer, it also explains the theory needed for the developer to explore and learn on their own. The text  Read more...

Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Document Type: Book
All Authors / Contributors: Jeffrey Allan Hardy; Cloves Carneiro; Hampton Catlin
ISBN: 1590596862 9781590596869
OCLC Number: 144516776
Notes: Includes index.
"A beginner's guide to the rails framework for Ruby"--Cover.
Description: xxiv, 361 pages : illustrations ; 24 cm.
Contents: About the Technical Reviewer xvii --
Chapter 1 Introducing the Rails Framework 1 --
The Rise and Rise of the Web Application 1 --
The Web Is Not Perfect 3 --
The Good Web Framework 3 --
Enter Rails 4 --
Rails Is Ruby 5 --
Rails Encourages Agility 6 --
Rails Is Opinionated Software 9 --
Rails Is Open Source 9 --
The MVC Pattern 10 --
The MVC Cycle 11 --
The Layers of MVC 12 --
The Libraries That Make Up Rails 15 --
Rails Is No Silver Bullet 15 --
An Overview of Rails Installation 17 --
Installing on Mac OS X 10.4 Tiger 19 --
Installing the Apple Developer Tools (Xcode) 20 --
Installing MySQL 20 --
Adding MySQL to Your Path 23 --
Installing Ruby 24 --
Installing RubyGems 26 --
Installing Rails 27 --
Automating Installation 27 --
Installing on Windows XP 28 --
Installing MySQL 29 --
Installing Ruby 30 --
Installing Rails 31 --
Installing on Linux 32 --
Installing MySQL 33 --
Installing Ruby 34 --
Installing RubyGems 35 --
Installing Rails 35 --
Creating Your First Rails Application 36 --
Starting the Built-In Web Server 37 --
Generating a Controller 39 --
Creating an Action 40 --
Creating a Template 40 --
Chapter 3 Getting Something Running 45 --
An Overview of the Project 45 --
Creating the Events Application 46 --
Creating the Project Databases 48 --
Creating the Event Model 50 --
Creating a Database Table 51 --
Generating a Controller 54 --
Up and Running with Scaffolding 54 --
Adding More Fields 57 --
Adding Validations 59 --
Generating a Scaffold 60 --
Chapter 4 Working with a Database: Active Record 65 --
Introducing Active Record: Object-Relational Mapping on Rails 66 --
What About SQL? 67 --
Active Record Conventions 68 --
Introducing the Console 69 --
Active Record Basics: CRUD 72 --
Creating New Records 72 --
Reading (Finding) Records 77 --
Updating Records 82 --
Deleting Records 83 --
When Good Models Go Bad 85 --
Chapter 5 Advanced Active Record: Enhancing Your Models 89 --
Adding Methods 89 --
Using Associations 92 --
Declaring Associations 94 --
Creating One-to-One Associations 95 --
Creating One-to-Many Associations 99 --
Applying Association Options 105 --
Creating Many-to-Many Associations 107 --
Creating Rich Many-to-Many Associations 112 --
Building Conditions for Advanced Finding 115 --
Using a Conditions Hash 115 --
Using a SQL Fragment 116 --
Using an Array 117 --
Using Association Proxies 119 --
Applying Validations 120 --
Building Custom Validation Methods 121 --
Using Built-in Validations 122 --
Making Callbacks 125 --
Reviewing the Updated Models 127 --
Updating the User Model 128 --
Chapter 6 Action Pack: Working with the View and the Controller 133 --
Action Pack Components 133 --
Action Controller 134 --
Action View 137 --
Embedded Ruby 138 --
Helpers 138 --
Routing 139 --
The Action Pack Request Cycle 140 --
A Controller Walk-Through 142 --
Setting Up Routes 142 --
Generating a Controller 146 --
Creating a Template 148 --
Working with Layouts 149 --
Creating a Registration Form 151 --
Using Form Helpers 153 --
Processing Request Parameters 156 --
Writing a Create Action 156 --
Rendering Responses 157 --
Redirecting 158 --
Displaying Error Messages in Templates 158 --
Adding the Edit Form 160 --
Staying Dry with Partials 161 --
Adding the Login and Logout Actions 165 --
Improving the Events Controller and Templates 171 --
Cleaning Up the Events Controller 171 --
Using Partials in the Events Templates 172 --
Adding Categories to the Events Form 173 --
Handling Categories in the Events Controller 175 --
Using Controller Filters 177 --
Requiring Authentication with Filters 178 --
Applying Filters to Controllers 180 --
Adding Finishing Touches 182 --
Using Action View Helpers 182 --
Escaping HTML in Templates 184 --
Formatting a Description Field 185 --
Adding Edit Controls 186 --
Adding Custom Helpers 188 --
Giving It Some Style 189 --
Chapter 7 Improving Interaction with Ajax 201 --
Ajax and Rails 201 --
Prototype and Helpers 202 --
JavaScript Libraries 202 --
Using Ajax Helpers 203 --
Making Remote Calls with link_to_remote 204 --
Posting Forms Remotely with form_remote_tag 210 --
Polling for Changes with observe_field and observe_form 214 --
Using script.aculo.us Helpers 217 --
Implementing Auto-Completion 217 --
Adding an In-Place Editor 219 --
Adding Visual Effects 222 --
Using RJS Templates 224 --
Implementing RJS in Templates 224 --
Implementing RJS in the Controller 227 --
Chapter 8 Sending and Receiving Mail 229 --
Setting Up Action Mailer 229 --
Configuring Mail Server Settings 230 --
Configuring Application Settings 231 --
Sending Email 232 --
Handling Basic Email 234 --
Sending HTML Email 237 --
Adding Multiple Parts to Messages 239 --
Adding Attachments 240 --
Sending Incoming Email to a Rails Process 241 --
Chapter 9 Testing Your Application 245 --
How Rails Handles Testing 246 --
Unit Testing Your Rails Application 247 --
Testing the Event Model 249 --
Testing Validations 255 --
Functional Testing Your Controllers 256 --
Testing the Events Controller 256 --
Creating a Test Helper 258 --
Running the Functional Test Suite 264 --
Integration Testing 267 --
Integration Testing the Events Application 268 --
Story-Based Testing 271 --
Running the Full Test Suite 275 --
Measuring Test Coverage with Rcov 276 --
Chapter 10 Extending Rails with Plugins 279 --
Finding and Installing Plugins 279 --
Finding Plugins 280 --
Installing Plugins 281 --
Using a Plugin in Our Application 282 --
Modifying the Database 282 --
Modifying the Application to Use the Plugin 283 --
Creating Your Own Plugin 287 --
Making the Plugin Available to Applications 288 --
Creating the Plugin Module 289 --
Updating the Controller and Views 297 --
Chapter 11 Deploying Your Rails Applications 301 --
Deploying with Capistrano 301 --
Capistrano Installation 302 --
Capistrano Recipes 305 --
Capistrano on the Deployment Server 307 --
Custom Capistrano Tasks 308 --
Setting Up Your Server Architecture 308 --
Monolithic Architecture 308 --
Proxy-Cluster Server: The New Kid on the Block 309 --
Becoming an Instant Deployment Expert 311 --
Appendix A Ruby, a Programmer's Best Friend 315 --
Instant Interaction 315 --
Ruby Types 316 --
Strings 316 --
Numbers 318 --
Arrays and Hashes 319 --
Language Basics 320 --
Variables 320 --
Operators 322 --
Blocks and Iterators 322 --
Control Structures 323 --
Methods 325 --
Classes and Objects 326 --
Objects 326 --
Classes 327 --
Ruby Documentation 330 --
Appendix B Databases 101 331 --
Examining a Database Table 331 --
Working with Tables 332 --
Selecting Data 333 --
Inserting Data 335 --
Updating Data 335 --
Deleting Data 336 --
Understanding Relationships 337 --
SQL and Active Record 340 --
Appendix C The Rails Community 341 --
Rails Mailing Lists 341 --
Rails IRC Channel 341 --
Rails Blogs and Podcast 342 --
Rails Wiki 343 --
Rails APIs 343 --
Rails Trac 344 --
Working with Rails Directory 344.
Series Title: Expert's voice in Web development.
Responsibility: Jeffrey Allan Hardy and Cloves Carneiro, with Hampton Catlin.

Reviews

Editorial reviews

Publisher Synopsis

From the reviews:"This book on Rails, a Web application development framework based on Ruby language, is both timely and accessible to beginners. ... this is an excellent book for a novice in both Read more...

 
User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Related Subjects:(3)

User lists with this item (2)

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/144516776> # Beginning Rails : from novice to professional
    a schema:CreativeWork, schema:Book ;
    library:oclcnum "144516776" ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/290387672#Place/berkeley_calif> ; # Berkeley, Calif.
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/cau> ;
    schema:about <http://id.worldcat.org/fast/1791554> ; # Ruby on rails (Electronic resource)
    schema:about <http://id.worldcat.org/fast/1173243> ; # Web site development
    schema:about <http://experiment.worldcat.org/entity/work/data/290387672#CreativeWork/ruby_on_rails_electronic_resource> ; # Ruby on rails (Electronic resource)
    schema:about <http://dewey.info/class/005.133/e22/> ;
    schema:about <http://id.worldcat.org/fast/1101038> ; # Ruby (Computer program language)
    schema:bookFormat bgn:PrintBook ;
    schema:contributor <http://viaf.org/viaf/273820987> ; # Hampton Catlin
    schema:contributor <http://viaf.org/viaf/168369922> ; # Cloves Carneiro
    schema:copyrightYear "2007" ;
    schema:creator <http://viaf.org/viaf/44092575> ; # Jeffrey Allan Hardy
    schema:datePublished "2007" ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/290387672> ;
    schema:inLanguage "en" ;
    schema:isPartOf <http://experiment.worldcat.org/entity/work/data/290387672#Series/expert_s_voice_in_web_development> ; # Expert's voice in Web development.
    schema:name "Beginning Rails : from novice to professional"@en ;
    schema:productID "144516776" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/144516776#PublicationEvent/berkeley_calif_apress_2007> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/290387672#Agent/apress> ; # Apress
    schema:workExample <http://worldcat.org/isbn/9781590596869> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/144516776> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/290387672#CreativeWork/ruby_on_rails_electronic_resource> # Ruby on rails (Electronic resource)
    a schema:CreativeWork ;
    schema:name "Ruby on rails (Electronic resource)" ;
    .

<http://experiment.worldcat.org/entity/work/data/290387672#Place/berkeley_calif> # Berkeley, Calif.
    a schema:Place ;
    schema:name "Berkeley, Calif." ;
    .

<http://experiment.worldcat.org/entity/work/data/290387672#Series/expert_s_voice_in_web_development> # Expert's voice in Web development.
    a bgn:PublicationSeries ;
    schema:hasPart <http://www.worldcat.org/oclc/144516776> ; # Beginning Rails : from novice to professional
    schema:name "Expert's voice in Web development." ;
    schema:name "Expert's voice in Web development" ;
    .

<http://id.worldcat.org/fast/1101038> # Ruby (Computer program language)
    a schema:Intangible ;
    schema:name "Ruby (Computer program language)"@en ;
    .

<http://id.worldcat.org/fast/1173243> # Web site development
    a schema:Intangible ;
    schema:name "Web site development"@en ;
    .

<http://id.worldcat.org/fast/1791554> # Ruby on rails (Electronic resource)
    a schema:CreativeWork ;
    schema:name "Ruby on rails (Electronic resource)" ;
    .

<http://viaf.org/viaf/168369922> # Cloves Carneiro
    a schema:Person ;
    schema:familyName "Carneiro" ;
    schema:givenName "Cloves" ;
    schema:name "Cloves Carneiro" ;
    .

<http://viaf.org/viaf/273820987> # Hampton Catlin
    a schema:Person ;
    schema:familyName "Catlin" ;
    schema:givenName "Hampton" ;
    schema:name "Hampton Catlin" ;
    .

<http://viaf.org/viaf/44092575> # Jeffrey Allan Hardy
    a schema:Person ;
    schema:familyName "Hardy" ;
    schema:givenName "Jeffrey Allan" ;
    schema:name "Jeffrey Allan Hardy" ;
    .

<http://worldcat.org/isbn/9781590596869>
    a schema:ProductModel ;
    schema:isbn "1590596862" ;
    schema:isbn "9781590596869" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.