文件名称:Crafting Rails Applications.pdf
文件大小:2.6MB
文件格式:PDF
更新时间:2022-09-03 07:14:36
Crafting Rails Applications Contents Acknowledgments 7 Preface 8 WhoShouldReadThisBook?................. 8 WhatIsintheBook?...................... 9 HowtoReadThisBook..................... 11 OnlineResources........................ 11 1 CreatingOurOwnRenderer 12 1.1 GeneratingProjectswithEnginex........... 13 1.2 WritingtheRenderer.................. 18 1.3 UnderstandingRailsRenderingStack........ 22 1.4 TakingIttotheNextLevel............... 27 1.5 WrappingUp....................... 29 2 BuildingModelswithActiveModel 30 2.1 CreatingOurModel................... 30 2.2 TakingIttotheNextLevel............... 46 2.3 WrappingUp....................... 50 3 RetrievingViewTemplatesfromCustomStores 52 3.1 SettingUpaSqlResolver................ 54 3.2 ConfiguringOurResolverforProduction....... 62 3.3 ServingTemplateswithMetal............. 68 3.4 WrappingUp....................... 72 4 SendingMultipartEmailsUsingTemplateHandlers 74 4.1 PlayingwiththeTemplateHandlerAPI........ 76 4.2 BuildingaTemplateHandlerwithMarkdown+ERb 80 4.3 CustomizingRailsGenerators............. 85 4.4 ExtendingRailswithRailties ............. 92 4.5 WrappingUp....................... 94 Download from Wow! eBook