19.3 AdvancedAttributes ......................... 380
19.4 Transactions ............................. 383
20 Action Controller: Routing and URLs 392
20.1 TheBasics .............................. 392
20.2 RoutingRequests .......................... 393
21 Action Controller and Rails 424
21.1 ActionMethods............................ 424
21.2 CookiesandSessions ........................ 435
21.3 Flash.CommunicatingbetweenActions . . . . . . . . . . . . 445
21.4 FiltersandVeri.cation ....................... 447
21.5 Caching,PartOne .......................... 455
21.6 TheProblemwithGETRequests ................. 462
Report erratum
Prepared exclusively for Jordan A. Fowler
CONTENTS
22 Action View
465
22.1 Templates ............................... 465
22.2 UsingHelpers............................. 471
22.3 HelpersforFormatting,Linking,andPagination . . . . . . . . 473
22.4 HowFormsWork........................... 480
22.5 FormsThatWrapModelObjects ................. 482
22.6 CustomFormBuilders ....................... 494
22.7 Working withNonmodelFields ................... 498
22.8 UploadingFilestoRailsApplications . . . . . . . . . . . . . . . 501
22.9 LayoutsandComponents ..................... 505
22.10Caching,PartTwo .......................... 513
22.11 AddingNewTemplatingSystems . . . . . . . . . . . . . . . . . 518
23 The Web, V2.0 521
23.1 Prototype ............................... 521
23.2 Script.aculo.us ............................ 542
23.3 RJSTemplates ............................ 558
23.4 Conclusion .............................. 565
24 Action Mailer 567
24.1 SendingE-mail ............................ 567
24.2 ReceivingE-mail ........................... 578
24.3 TestingE-mail ............................ 579
25 Web Services on Rails 583
25.1 WhatAWSIs(andWhatItIsn�ft) .................. 583
25.2 TheAPIDe.nition .......................... 584
25.3 DispatchingModes ......................... 589
25.4 UsingAlternateDispatching .................... 590
25.5 MethodInvocationInterception . . . . . . . . . . . . . . . . . . 592
25.6 TestingWebServices ........................ 594
25.7 ProtocolClients ........................... 597
Agile Web Development with Rails
Começar do início
