6,99 €
6,99 €
inkl. MwSt.
Sofort per Download lieferbar
payback
3 °P sammeln
6,99 €
6,99 €
inkl. MwSt.
Sofort per Download lieferbar

Alle Infos zum eBook verschenken
payback
3 °P sammeln
Als Download kaufen
6,99 €
inkl. MwSt.
Sofort per Download lieferbar
payback
3 °P sammeln
Jetzt verschenken
6,99 €
inkl. MwSt.
Sofort per Download lieferbar

Alle Infos zum eBook verschenken
payback
3 °P sammeln
  • Format: PDF

The Rails routing system has always been a key component of theframework, and with the introduction of RESTful routes in the pastyear, it has taken center stage. Fully programmable, the routing systemgoverns the process of mapping request URLs to the appropriatecontroller action. Routing also helps you when you're writing code,especially view templates, where the same logic that interprets URLsworks in reverse to automate the generation of URL strings in yourcode. As all routing is rule-based, you have to know how to write therules to get the most out of the routing system. In this short cut,…mehr

Produktbeschreibung
The Rails routing system has always been a key component of theframework, and with the introduction of RESTful routes in the pastyear, it has taken center stage. Fully programmable, the routing systemgoverns the process of mapping request URLs to the appropriatecontroller action. Routing also helps you when you're writing code,especially view templates, where the same logic that interprets URLsworks in reverse to automate the generation of URL strings in yourcode. As all routing is rule-based, you have to know how to write therules to get the most out of the routing system. In this short cut, you'lllearn techniques for writing custom routing rules, how to tap into theconvenience and power of named routes, and the workings of theRESTful routing that's had such an impact on Rails development.

Along with a thorough introduction to routing syntax and semantics,you'll find techniques for testing and troubleshooting routes, and tipson the use of this important part of your Rails skill set.

Section 1: What This Short Cut Covers 3

Section 2: Introduction 6

Section 3: The Routing System 13

Section 4: Writing Custom Routes 31

Section 5: Named Routes 45

Section 6: REST, Resources, Representations, Routing, and Ruby on Rails 53

Section 7: Reflecting on Routes 91

Further Resources 112

Acknowledgments 113

About the Author 114


Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, BG, CY, CZ, D, DK, EW, E, FIN, F, GR, HR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.

Autorenporträt
David A. Black is a long-time Ruby and Rails programmer, author, and trainer. Active in the Ruby world since 2000, David is the author of Ruby for Rails: Ruby Techniques for Rails Developers (Manning Publications, 2006).

David is the owner and director of the Ruby/Rails consultancy Ruby Power and Light, LLC (http://www.rubypal.com), and a co-director of Ruby Central, Inc., parent organization of the annual RubyConf and RailsConf events (http://www.rubycentral.org). In his Ruby Central role he has co-organized Ruby and Rails conferences, including the annual RubyConf, RailsConf, and RailsConf Europe, since 2001, and has served as administrator for the Ruby Central Regional Conference Grant Program and Ruby Central's participation in the Google Summer of Code.

David is the chief author of Ruby's standard scanf library, and the author and maintainer of the official Ruby Change Request site.