Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20
, ,

Learning Rails 3

Rails from the Outside In

Paperback Engels 2012 9781449309336
Verwachte levertijd ongeveer 8 werkdagen

Samenvatting

If you're a web developer or designer ready to learn Rails, this unique book is the ideal way to start.

Rather than throw you into the middle of the framework's Model-View-Controller architecture, 'Learning Rails 3' works from the outside in. You'll begin with the foundations of the Web you already know, and learn how to create something visible with Rails' view layer. Then you'll tackle the more difficult inner layers: the database models and controller code.

All you need to get started 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 controller
- Build forms and process their results, progressing from simple to more complex
- Connect forms to models by setting up a database, and create code that maps to database structures
- Use Rails scaffolding to build applications from a view-centric perspective
- Add common web application elements such as sessions, cookies, and authentication
- Build applications that combine data from multiple tables
- Send and receive email messages from your applications

"Learning Rails 3 feels like a brisk pair programming session with professionals who know how to use Ruby on Rails to get things done, and get them done well." - Alan Harris, author of Sinatra: Up and Running

Specificaties

ISBN13:9781449309336
Taal:Engels
Bindwijze:paperback
Aantal pagina's:387
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:3-9-2012
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Simon St. Laurent

Simon St. Laurent is a content manager at LinkedIn Learning, focusing primarily on front-end web projects. He has been co-chair of the Fluent conference and of OSCON. He has authored or co-authored books including Introducing Elixir, Introducing Erlang, Learning Rails 3, XML: A Primer, and Cookies. You can find more of his writing on technology, Quakerism, and the Town of Dryden at simonstl.com.

Andere boeken door Simon St. Laurent

Over Eric Gruber

Eric J. Gruber is a web developer who loves design, as well as a public servant and community organizer.

Andere boeken door Eric Gruber

Inhoudsopgave

Preface

1. Starting Up Ruby on Rails
-If You Run Windows, You're Lucky
-Getting Started at the Command Line
-Starting Up Rails
-Test Your Knowledge

2. Rails on the Web
-Creating Your Own View
-What Are All Those Folders?
-Adding Some Data
-How Hello World Works
-Adding Logic to the View
-Test Your Knowledge

3. Adding Web Style
-I Want My CSS!
-Specifying Stylesheets
-Creating a Layout for a Controller
-Choosing a Layout from a Controller
-Sharing Template Data with the Layout
-Setting a Default Page
-Test Your Knowledge

4 Managing Data Flow: Controllers and Models
-Getting Started, Greeting Guests
-Application Flow
-Keeping Track: A Simple Guestbook
-Finding Data with ActiveRecord
-Test Your Knowledge

5. Accelerating Development with Scaffolding and REST
-A First Look at Scaffolding
-REST and Controller Best Practices
-Examining a RESTful Controller
-Escaping the REST Prison
-Test Your Knowledge

6. Presenting Models with Forms
-More Than a Name on a Form
-Generating HTML Forms with Scaffolding
-Form as a Wrapper
-Creating Text Fields and Text Areas
-Labels
-Creating Checkboxes
-Creating Radio Buttons
-Creating Selection Lists
-Dates and Times
-Creating Helper Methods
-Test Your Knowledge

7. Strengthening Models with Validation
-Without Validation
-The Original Model
-The Power of Declarative Validation
-Managing Secrets
-A Place on the Calendar
-Beyond Simple Declarations
-Test Your Knowledge

8. Improving Forms
-Adding a Picture by Uploading a File
-Standardizing Your Look with Form Builders
-Test Your Knowledge

9. Developing Model Relationships
-Connecting Awards to Students
-Connecting Students to Awards
-Nesting Awards in Students
-Many-to-Many: Connecting Students to Courses
-What's Missing?
-Test Your Knowledge

10. Managing Databases with Migrations
-What Migrations Offer You
-Migration Basics
-Inside Migrations
-Test Your Knowledge

11. Debugging
-Creating Your Own Debugging Messages
-Raising Exceptions
-Logging
-Working with Rails from the Console
-The Ruby Debugger
-Test Your Knowledge

12. Testing
-Test Mode
-Setting Up a Test Database with Fixtures
-Unit Testing
-Functional Testing
-Integration Testing
-Beyond the Basics
-Test Your Knowledge

13. Sessions and Cookies
-Getting Into and Out of Cookies
-Storing Data Between Sessions
-Test Your Knowledge

14. Users and Authentication
-Installation
-Storing Identities
-Storing User Data
-Wiring OmniAuth into the Application
-Classifying Users
-More Options
-Test Your Knowledge

15. Routing
-Creating Routes to Interpret URIs
-Generating URIs from Views and Controllers
-Infinite Possibilities
-Test Your Knowledge

16. From CSS to SASS
-Getting Started
-Sassy Style
-Making Everything Work Together
-Test Your Knowledge

17. Managing Assets and Bundles
-The Junk Drawer
-Test Your Knowledge

18. Sending Code to the Browser: JavaScript and CoffeeScript
-Sending JavaScript to the Browser
-Simplifying with CoffeeScript
-Test Your Knowledge

19. Mail in Rails
-Sending Mail Messages
-Receiving Mail
-Test Your Knowledge

20. Pushing Further into Rails
-Changing to Production Mode
-Deploying Is Much More Than Programming
-Joining the Rails Ecosystem

Appendix A: An Incredibly Brief Introduction to Ruby
Appendix B: An Incredibly Brief Introduction to Relational Databases
Appendix C: An Incredibly Brief Guide to Regular Expressions
Appendix D: Glossary

Index

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Learning Rails 3