Ruby for Rails: Ruby techniques for Rails developers
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Greenwich, CT
Manning
2006
|
Schlagworte: | |
Online-Zugang: | Publisher description Inhaltsverzeichnis |
Beschreibung: | Includes index. |
Beschreibung: | XXXIII, 493 S. |
ISBN: | 1932394699 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV022520108 | ||
003 | DE-604 | ||
005 | 20080213 | ||
007 | t | ||
008 | 070719s2006 xxu |||| 00||| eng d | ||
010 | |a 2006296187 | ||
016 | 7 | |a LO 2006296187 |2 DE-101 | |
020 | |a 1932394699 |9 1-932394-69-9 | ||
035 | |a (OCoLC)636814406 | ||
035 | |a (DE-599)DNB 2006296187 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
044 | |a xxu |c US | ||
049 | |a DE-355 |a DE-523 | ||
050 | 0 | |a TK5105.888 | |
082 | 0 | |a 005.133 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Black, David A. |d 1959- |e Verfasser |0 (DE-588)124548253 |4 aut | |
245 | 1 | 0 | |a Ruby for Rails |b Ruby techniques for Rails developers |c David A. Black ; [foreword by David Heinemeier Hansson] |
264 | 1 | |a Greenwich, CT |b Manning |c 2006 | |
300 | |a XXXIII, 493 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
500 | |a Includes index. | ||
650 | 4 | |a Web site development |v Handbooks, manuals, etc | |
650 | 4 | |a Ruby (Computer program language) |v Handbooks, manuals, etc | |
650 | 0 | 7 | |a Ruby on Rails |0 (DE-588)7516633-1 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Ruby on Rails |0 (DE-588)7516633-1 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | |u http://www.loc.gov/catdir/enhancements/fy0716/2006296187-d.html |3 Publisher description | |
856 | 4 | 2 | |m Digitalisierung UB Regensburg |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015726856&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-015726856 |
Datensatz im Suchindex
_version_ | 1809403480764317696 |
---|---|
adam_text |
contents
foreword
preface
acknowledgments
about this book
about the cover illustration
Part
I How Ruby works
-* 1.1
Getting the preliminaries in place
guide
Writing and saving a sample program
Ruby
multiple
1.2
Command-line switches
interactive Ruby interpretation with irb
1.3
Using standard extensions and libraries
С
CONTENTS
1.4
The layout of the Ruby source code
Ruby installation
and applications
1.5
How Rails works
2.1
A framework user's-eye view of application development
Introducing the MVC framework concept
Meet MVC in the (virtual) flesh
2.2
2.3
Introducing R4RMusic, the music-store application
Modeling the first iteration of the music-store domain
Identifying and programmmg the actions
the views
2.4
Stage l:
ίο
action
2.5
Ruby-informed Rails development
3.1
Seeing RaiL· as a domain-specific language
code with a configuration flavor
that's actually programming
3.2
Adding functionality to a controller
files
3.3
Converting legacy data to ActiveRecord
The irb-based RaiL· application console
3.4
CONTENTS
PliK'fö
Objects and variables
4.1
Introducing object-oriented programming
Modeling objects more closely: the behavior of a ticket
4.2
Identifying objects uniquely with the objected method
Querying an object's abilities xuith the. respond_to? method
Sending messages to objects with the send method 111
4.3
Required and optional arguments
arguments
4.4
Variable assignment in depth
and the things that look like them
4.5
Organizing objects with classes
5.1
A first class
5.2
The equal sign
ActiveRecord properties and other ^-method applications
5.3
Automating the creation of attribute handlers
setter) for one
5.4
Classes are objects too!
method
The Class class and Class, new
5.5
Basic usage of constants
modifying constants
CONTENTS
5.6
Inheritance and Rails engineering
nurture in Ruby objects
5.7
Modules and program organization
6.1
A moduk encapsulating "stack-like-ness"
into a class
6.2
Illustrating the basics of method lookup
method more than once
with super
6.3
Mix-ins and/or inheritance
in Rails source and boilerplate code
6.4
The default object (self) and scope
7.1
Who gets to be self, and where
messages
7.2
Global scope and global variables
Scope and resolution of constants
7.3
Private methods
access protection
7.4
Defining a top-level method
top-level methods
7.5
Control flow techniques
8.1
The if keyword and friends
Case statements
CONTENTS
8.2
Unconditional hoping with the loop method
Conditional looping with the while and until keywords
Looping based on a list of values
8.3
The basics of yielding to a block
iterations
More about for
8.4
Raising and rescuing exceptions
explicitly
8.5
IH.'Ii.T-IN
Built-in essentials
9.1
9.2
Special treatment of+=
9.3
Receiver-changing basics
Specialized and extended receiver-changing in
ActiveRecord objects
9.4
Writing your own to_* methods
9.5
9.6
True and false as states
The special object nil
9.7
Equality tests
9.8
Generating filtered and selective method lists
9.9
CONTENTS
Scalar objects
10.1
String basks
Comparing strings
10.2
Key differences between symboL· and strings
Rails-style method arguments, revisited
10.3
Numerical classes
10.4
10.5
Collections, containers, and enumerability
11.1
11.2
Creating a new array
elements
transformations
Ruby lessons from ActiveRe.cord collections
11.3
Creating a new hash
fiairs
transformations
Hashes in Ruby and Rails me/hod calls
11.4
Gainingenumerab/lity through each
Strings as
11.5
Sorting and the Comparable module
Defining sort order in a block
11.6
Regular expressionsand regexp-basedstring operations
12.1
A word to the regex-wise
CONTENTS
12.2
The regular expression literal constructor
Building a pattern
12.3
Capturing submatches with parentheses
Match success and failure
12.4
Quantifiers and greediness
assertions
regular expressions to each other
12.5
String#scan
gsub/gsub!
12.6
Ruby dynamics
13.1
Where the
singleton class directly
path
13.2
eval
eval: dass_eval (a.k.a. moduk_evalj
13.3
Proc
lambda keyword
as objects
ISA Callbacks and hooks
Intercepting unrecognized messages with method_missing
Trapping include operations with Modulettincluded
Intercepting inheritance with Class#inherited
Modub#const_missing
13.5
A cautionary tale
13.6
CONTENTS
Part
Ruby through
I
* * 14.1
model instance
An overview of model instance capabilities
Inherited and automatic ActiveRecord model behaviors
Semi-automatic behaviors via associations
14.2
Abstracting and adding models (publisher and edition)
The instruments model and many-to-many relations
Modeling for use: customer and order
14.3
| «^
1. 15.1
An example of model-enhancement contrast
15.2
Honing the Work model through soft enhancements
the customer's business
Ruby vs. SQL in the development of soft enhancements
15.3
functionality
Prettification of string properties
period
15.4
Soft and hard chss methods
15.5
Enhancing the controllers and views
16.1
Organizing and accessing custom helper methods
The custom helper methods for R4RMusic
CONTENTS
16.2
Anatomy of a master template
in the welcome view template
16.3
The new face of the wekome action
16.4
The login and signup partial templates
in and saving the session state
actions with before_filter
facility
16.5
The view_cart action and template
buying an edition
action
16.6
From rankings to favorites
feature in action
16.7
I r*~K Techniques for exploring the Rails source code
A'
Sample info panning: belongsjto
17.2
Choosing a starting point
road intelligently
A transliteration of belongsjto
17.3
documentation
A roadmap of the online RaiL· API documentation
17.4
appendix Ruby and Rails installation and resources
index |
adam_txt |
contents
foreword
preface
acknowledgments
about this book
about the cover illustration
Part
I How Ruby works
-* 1.1
Getting the preliminaries in place
guide
Writing and saving a sample program
Ruby
multiple
1.2
Command-line switches
interactive Ruby interpretation with irb
1.3
Using standard extensions and libraries
С
CONTENTS
1.4
The layout of the Ruby source code
Ruby installation
and applications
1.5
How Rails works
2.1
A framework user's-eye view of application development
Introducing the MVC framework concept
Meet MVC in the (virtual) flesh
2.2
2.3
Introducing R4RMusic, the music-store application
Modeling the first iteration of the music-store domain
Identifying and programmmg the actions
the views
2.4
Stage l:
ίο
action
2.5
Ruby-informed Rails development
3.1
Seeing RaiL· as a domain-specific language
code with a configuration flavor
that's actually programming
3.2
Adding functionality to a controller
files
3.3
Converting legacy data to ActiveRecord
The irb-based RaiL· application console
3.4
CONTENTS
PliK'fö
Objects and variables
4.1
Introducing object-oriented programming
Modeling objects more closely: the behavior of a ticket
4.2
Identifying objects uniquely with the objected method
Querying an object's abilities xuith the. respond_to? method
Sending messages to objects with the send method 111
4.3
Required and optional arguments
arguments
4.4
Variable assignment in depth
and the things that look like them
4.5
Organizing objects with classes
5.1
A first class
5.2
The equal sign
ActiveRecord properties and other ^-method applications
5.3
Automating the creation of attribute handlers
setter) for one
5.4
Classes are objects too!
method
The Class class and Class, new
5.5
Basic usage of constants
modifying constants
CONTENTS
5.6
Inheritance and Rails engineering
nurture in Ruby objects
5.7
Modules and program organization
6.1
A moduk encapsulating "stack-like-ness"
into a class
6.2
Illustrating the basics of method lookup
method more than once
with super
6.3
Mix-ins and/or inheritance
in Rails source and boilerplate code
6.4
The default object (self) and scope
7.1
Who gets to be self, and where
messages
7.2
Global scope and global variables
Scope and resolution of constants
7.3
Private methods
access protection
7.4
Defining a top-level method
top-level methods
7.5
Control flow techniques
8.1
The if keyword and friends
Case statements
CONTENTS
8.2
Unconditional hoping with the loop method
Conditional looping with the while and until keywords
Looping based on a list of values
8.3
The basics of yielding to a block
iterations
More about for
8.4
Raising and rescuing exceptions
explicitly
8.5
IH.'Ii.T-IN
Built-in essentials
9.1
9.2
Special treatment of+=
9.3
Receiver-changing basics
Specialized and extended receiver-changing in
ActiveRecord objects
9.4
Writing your own to_* methods
9.5
9.6
True and false as states
The special object nil
9.7
Equality tests
9.8
Generating filtered and selective method lists
9.9
CONTENTS
Scalar objects
10.1
String basks
Comparing strings
10.2
Key differences between symboL· and strings
Rails-style method arguments, revisited
10.3
Numerical classes
10.4
10.5
Collections, containers, and enumerability
11.1
11.2
Creating a new array
elements
transformations
Ruby lessons from ActiveRe.cord collections
11.3
Creating a new hash
fiairs
transformations
Hashes in Ruby and Rails me/hod calls
11.4
Gainingenumerab/lity through each
Strings as
11.5
Sorting and the Comparable module
Defining sort order in a block
11.6
Regular expressionsand regexp-basedstring operations
12.1
A word to the regex-wise
CONTENTS
12.2
The regular expression literal constructor
Building a pattern
12.3
Capturing submatches with parentheses
Match success and failure
12.4
Quantifiers and greediness
assertions
regular expressions to each other
12.5
String#scan
gsub/gsub!
12.6
Ruby dynamics
13.1
Where the
singleton class directly
path
13.2
eval
eval: dass_eval (a.k.a. moduk_evalj
13.3
Proc
lambda keyword
as objects
ISA Callbacks and hooks
Intercepting unrecognized messages with method_missing
Trapping include operations with Modulettincluded
Intercepting inheritance with Class#inherited
Modub#const_missing
13.5
A cautionary tale
13.6
CONTENTS
Part
Ruby through
I
* * 14.1
model instance
An overview of model instance capabilities
Inherited and automatic ActiveRecord model behaviors
Semi-automatic behaviors via associations
14.2
Abstracting and adding models (publisher and edition)
The instruments model and many-to-many relations
Modeling for use: customer and order
14.3
| «^
1. 15.1
An example of model-enhancement contrast
15.2
Honing the Work model through soft enhancements
the customer's business
Ruby vs. SQL in the development of soft enhancements
15.3
functionality
Prettification of string properties
period
15.4
Soft and hard chss methods
15.5
Enhancing the controllers and views
16.1
Organizing and accessing custom helper methods
The custom helper methods for R4RMusic
CONTENTS
16.2
Anatomy of a master template
in the welcome view template
16.3
The new face of the wekome action
16.4
The login and signup partial templates
in and saving the session state
actions with before_filter
facility
16.5
The view_cart action and template
buying an edition
action
16.6
From rankings to favorites
feature in action
16.7
I r*~K Techniques for exploring the Rails source code
A'
Sample info panning: belongsjto
17.2
Choosing a starting point
road intelligently
A transliteration of belongsjto
17.3
documentation
A roadmap of the online RaiL· API documentation
17.4
appendix Ruby and Rails installation and resources
index |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Black, David A. 1959- |
author_GND | (DE-588)124548253 |
author_facet | Black, David A. 1959- |
author_role | aut |
author_sort | Black, David A. 1959- |
author_variant | d a b da dab |
building | Verbundindex |
bvnumber | BV022520108 |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.888 |
callnumber-search | TK5105.888 |
callnumber-sort | TK 45105.888 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
classification_rvk | ST 250 ST 253 |
ctrlnum | (OCoLC)636814406 (DE-599)DNB 2006296187 |
dewey-full | 005.133 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 |
dewey-search | 005.133 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
discipline_str_mv | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000zc 4500</leader><controlfield tag="001">BV022520108</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20080213</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">070719s2006 xxu |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2006296187</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">LO 2006296187</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1932394699</subfield><subfield code="9">1-932394-69-9</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)636814406</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB 2006296187</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxu</subfield><subfield code="c">US</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-355</subfield><subfield code="a">DE-523</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">TK5105.888</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.133</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Black, David A.</subfield><subfield code="d">1959-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)124548253</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Ruby for Rails</subfield><subfield code="b">Ruby techniques for Rails developers</subfield><subfield code="c">David A. Black ; [foreword by David Heinemeier Hansson]</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Greenwich, CT</subfield><subfield code="b">Manning</subfield><subfield code="c">2006</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXXIII, 493 S.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes index.</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web site development</subfield><subfield code="v">Handbooks, manuals, etc</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Ruby (Computer program language)</subfield><subfield code="v">Handbooks, manuals, etc</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Ruby on Rails</subfield><subfield code="0">(DE-588)7516633-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Ruby on Rails</subfield><subfield code="0">(DE-588)7516633-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/enhancements/fy0716/2006296187-d.html</subfield><subfield code="3">Publisher description</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Regensburg</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015726856&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-015726856</subfield></datafield></record></collection> |
id | DE-604.BV022520108 |
illustrated | Not Illustrated |
index_date | 2024-07-02T18:02:59Z |
indexdate | 2024-09-06T00:13:47Z |
institution | BVB |
isbn | 1932394699 |
language | English |
lccn | 2006296187 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-015726856 |
oclc_num | 636814406 |
open_access_boolean | |
owner | DE-355 DE-BY-UBR DE-523 |
owner_facet | DE-355 DE-BY-UBR DE-523 |
physical | XXXIII, 493 S. |
publishDate | 2006 |
publishDateSearch | 2006 |
publishDateSort | 2006 |
publisher | Manning |
record_format | marc |
spelling | Black, David A. 1959- Verfasser (DE-588)124548253 aut Ruby for Rails Ruby techniques for Rails developers David A. Black ; [foreword by David Heinemeier Hansson] Greenwich, CT Manning 2006 XXXIII, 493 S. txt rdacontent n rdamedia nc rdacarrier Includes index. Web site development Handbooks, manuals, etc Ruby (Computer program language) Handbooks, manuals, etc Ruby on Rails (DE-588)7516633-1 gnd rswk-swf Ruby on Rails (DE-588)7516633-1 s DE-604 http://www.loc.gov/catdir/enhancements/fy0716/2006296187-d.html Publisher description Digitalisierung UB Regensburg application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015726856&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Black, David A. 1959- Ruby for Rails Ruby techniques for Rails developers Web site development Handbooks, manuals, etc Ruby (Computer program language) Handbooks, manuals, etc Ruby on Rails (DE-588)7516633-1 gnd |
subject_GND | (DE-588)7516633-1 |
title | Ruby for Rails Ruby techniques for Rails developers |
title_auth | Ruby for Rails Ruby techniques for Rails developers |
title_exact_search | Ruby for Rails Ruby techniques for Rails developers |
title_exact_search_txtP | Ruby for Rails Ruby techniques for Rails developers |
title_full | Ruby for Rails Ruby techniques for Rails developers David A. Black ; [foreword by David Heinemeier Hansson] |
title_fullStr | Ruby for Rails Ruby techniques for Rails developers David A. Black ; [foreword by David Heinemeier Hansson] |
title_full_unstemmed | Ruby for Rails Ruby techniques for Rails developers David A. Black ; [foreword by David Heinemeier Hansson] |
title_short | Ruby for Rails |
title_sort | ruby for rails ruby techniques for rails developers |
title_sub | Ruby techniques for Rails developers |
topic | Web site development Handbooks, manuals, etc Ruby (Computer program language) Handbooks, manuals, etc Ruby on Rails (DE-588)7516633-1 gnd |
topic_facet | Web site development Handbooks, manuals, etc Ruby (Computer program language) Handbooks, manuals, etc Ruby on Rails |
url | http://www.loc.gov/catdir/enhancements/fy0716/2006296187-d.html http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015726856&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT blackdavida rubyforrailsrubytechniquesforrailsdevelopers |