Cargando…

Beginning Rails 4 /

Beginning Rails 4 is a book that will guide you from never having programmed with Ruby, to having a Rails application built and deployed to the web. Youll learn how to combine all the components of Rails to develop your own web applications. You will use test driven development to make sure your app...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Gamble, Adam (Autor), Carneiro, Cloves (Autor), Al Barazi, Rida (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkeley, CA] : Apress, [2013]
Edición:Third edition.
Colección:Expert's voice in Web development.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • ch. 1: Introducing the Rails Framework
  • The Rise and Rise of the Web Application
  • The Web Isn't Perfect
  • The Good Web Framework
  • Enter Rails
  • Rails Is Ruby
  • Rails Encourages Agility
  • Rails Is Opinionated Software
  • Rails Is Open Source
  • The MVC Pattern
  • The MVC Cycle
  • The Layers of MVC
  • The Libraries That Make Up Rails
  • Rails Is Modular
  • Rails Is No Silver Bullet
  • ch. 2: Getting Started
  • An Overview of Rails Installation
  • Installing on Mac OS X 10.8 Mountain Lion
  • Installing the Apple Developer Tools (Xcode)
  • Installing Command Line Tools
  • Installing Homebrew
  • Installing RVM
  • Installing Rails
  • Installing on Windows
  • Installing Ruby
  • Installing Rails
  • Installing SQLite
  • Installing on Linux
  • Installing Ruby
  • Installing Rails
  • Installing SQLite
  • Creating Your First Rails Application
  • Starting the Built-In Web Server
  • Generating a Controller
  • Creating an Action
  • Creating a Template
  • ch. 3: Getting Something Running
  • An Overview of the Project
  • Creating the Blog Application
  • Creating the Project Databases
  • Creating the Article Model
  • Creating a Database Table
  • Generating a Controller
  • Up and Running with Scaffolding
  • Adding More Fields
  • Adding Validations
  • Generated Files
  • ch. 4: Introduction to the Ruby Language
  • Instant Interaction
  • Ruby Data Types
  • Strings
  • Numbers
  • Symbols
  • Arrays and Hashes
  • Language Basics
  • Variables
  • Operators
  • Blocks and Iterators
  • Control Structures
  • Methods
  • Classes and Objects
  • Objects
  • Classes
  • Ruby Documentation.
  • ch. 5: Working with a Database: Active Record
  • Introducing Active Record: Object-Relational Mapping on Rails
  • What About SQL?
  • Active Record Conventions
  • Introducing the Console
  • Active Record Basics: CRUD
  • Creating New Records
  • Reading (Finding) Records
  • Updating Records
  • Deleting Records
  • When Good Models Go Bad
  • ch. 6: Advanced Active Record: Enhancing Your Models
  • Adding Methods
  • Using Associations
  • Declaring Associations
  • Creating One-to-One Associations
  • Creating One-to-Many Associations
  • Applying Association Options
  • Creating Many-to-Many Associations
  • Creating Rich Many-to-Many Associations
  • Advanced Finding
  • Using the where Method
  • Using an SQL Fragment
  • Using an Array Condition Syntax
  • Using Association Proxies
  • Other Finder Methods
  • Default Scope
  • Named Scope
  • Applying Validations
  • Using Built-In Validations
  • Building Custom Validation Methods
  • Making Callbacks
  • Updating the User Model
  • Reviewing the Updated Models
  • ch. 7: Action Pack: Working with the View and the Controller
  • Action Pack Components
  • Action Controller
  • Action View
  • Embedded Ruby
  • Helpers
  • Routing
  • RESTful Resources
  • Action Pack Request Cycle
  • A Controller Walk-Through
  • Setting Up Routes
  • Revisiting the Scaffold Generator
  • Rendering Responses
  • Redirecting
  • Understanding Templates
  • Working with Layouts
  • Looking at the Article Form
  • Using Form Helpers
  • Processing Request Parameters
  • Revisiting the Controller
  • Displaying Error Messages in Templates
  • The edit and update Actions
  • Revisiting the Views
  • Staying DRY with Partials.
  • ch. 8: Advanced Action Pack
  • Generating a Controller
  • Nested Resources
  • Sessions and the Login/Logout Logic
  • Lying in State
  • Using the Session
  • Session as a Resource
  • Logging In a User
  • Logging Out a User
  • Improving Controllers and Templates
  • Cleaning Up the Articles Index Page
  • Adding Categories to the Article Form
  • Using Controller Callbacks
  • Requiring Authentication with Filters
  • Applying Filters to Controllers
  • Adding Finishing Touches
  • Using Action View Helpers
  • Escaping HTML in Templates
  • Formatting the Body Field
  • Adding Edit Controls
  • Making Sure Articles Have Owners
  • Adding Custom Helpers
  • Giving It Some Style
  • ch. 9: JavaScript and CSS
  • Asset Concatenation and Compression
  • Secondary Languages
  • Asset Pipeline Locations
  • Turbolinks
  • Let's Build Something!
  • Ajax and Rails
  • jQuery and DOM
  • Moving to Practice
  • ch. 10: Sending and Receiving E-Mail
  • Setting Up Action Mailer
  • Configuring Mail Server Settings
  • Configuring Application Settings
  • Sending E-Mail
  • Handling Basic E-Mail
  • Sending HTML E-Mail
  • Adding Attachments
  • Letting Authors Know About Comments
  • Receiving E-Mail
  • Using a Rails Process
  • Reading E-Mail Using POP or IMAP
  • ch. 11: Testing Your Application
  • How Rails Handles Testing
  • Unit Testing Your Rails Application
  • Testing the Article Model
  • Testing Validations
  • Functional Testing Your Controllers
  • Testing the Articles Controller
  • Creating a Test Helper
  • Running the Full Test Suite
  • Integration Testing
  • Integration Testing the Blog Application
  • Story-Based Testing
  • Running the Full Test Suite.
  • ch. 12: Internationalization
  • Internationalization Logic in Rails
  • Setting Up i18n in the Blog Application
  • Localizing the Blog Application to Brazilian Portuguese
  • Bilingual Blog
  • ch. 13: Deploying Your Rails Applications
  • Set Up an Account with Heroku
  • Preparing Your Git Repository
  • That's it!
  • Appendix A: Databases 101
  • Examining a Database Table
  • Working with Tables
  • Selecting Data
  • Inserting Data
  • Updating Data
  • Deleting Data
  • Understanding Relationships
  • SQL and Active Record
  • Appendix B: The Rails Community
  • Beginning Rails 4 Channels
  • Rails Mailing Lists
  • Rails IRC Channel
  • Rails Blogs and Podcasts
  • Rails Guides
  • Rails APIs
  • Rails Source and Issue Tracking
  • Appendix C: Git
  • What Is Source Control Management?
  • How Does It Work?
  • Git
  • Installing Git
  • Setting Global Parameters
  • Initializing a Repository
  • Ignoring Files
  • Adding and Committing
  • Branching and Merging
  • Remote Repositories and Cloning
  • Learning More
  • Other SCM Systems
  • Online Resources.