Learning Rails 5: Rails from the Outside in
內容描述
If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework’s Model-View-Controller architecture, as many books do, Learning Rails 5 begins with the foundations of the Web you already know.You’ll learn how to create something visible with Rails’ view layer before diving into the more difficult inner layers: the database models and controller code. All you need to begin your Rails journey is HTML experience. Each chapter includes exercises and review questions to test your understanding as you go.Present content by building an application with a basic view and a simple controllerBuild forms and process their results, progressing from simple to more complexUse Rails scaffolding and REST to build effective applications quicklyConnect forms to models and create code that maps directly to database structuresBuild applications that combine data from multiple tablesUse migrations to track changes to your database over timeAdd common elements such as sessions, cookies, and authentication