My Account Log in

2 options

Rails, Angular, Postgres, and Bootstrap : powerful, effective, and efficient full-stack web development / David Bryant Copeland.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Copeland, David (David Bryant), author.
Series:
Pragmatic programmers.
Pragmatic Programmers
Language:
English
Subjects (All):
Ruby on rails (Electronic resource).
PostgreSQL.
Bootstrap (Computer program).
AngularJS (Software framework).
Application software--Development.
Application software.
Web site development.
Web sites--Design.
Web sites.
Physical Description:
1 online resource (316 pages).
Edition:
Second edition.
Place of Publication:
Raleigh, North Carolina : The Pragmatic Bookself, 2017.
System Details:
Mode of access: World Wide Web.
text file
Summary:
Achieve awesome user experiences and performance with simple, maintainable code! Embrace the full stack of web development, from styling with Bootstrap, building an interactive user interface with Angular 4, to storing data quickly and reliably in PostgreSQL. With this fully revised new edition, take a holistic view of full-stack development to create usable, high-performing applications with Rails 5.1. Rails is a great tool for building web applications, but it's not the best at everything. Embrace the features built into your database. Learn how to use front-end frameworks. Seize the power of the application stack through Angular 4, Bootstrap, and PostgreSQL. When used together, these powerful and easy-to-use tools will open you to a new world of possibilities. This second edition is updated to cover Angular - a completely reworked front-end framework - and dives into new Postgres 9.6 features such as UPSERT. Also new is Webpack coverage, to develop the front-end code for your Rails application. Create a usable and attractive login form using Bootstrap's styles, while ensuring the database table backing it is secure using Postgres' check constraints. See how creating an advanced Postgres index for a case-insensitive search speeds up your back end - enabling you to create a dynamic user experience using Angular 4. Create reusable components that bring Bootstrap and Angular together and effectively use materialized views for caching within Postgres. Get your front end working with Webpack, use Postgres' features from migrations, and write unit tests for all of it. All of this within Rails 5.1. You'll gain the confidence to work at every level of the application stack, bringing the right solution to every problem. What You Need: This book covers Postgres 9.5, Rails 5, and Ruby 2.3. You should have some experience with basic Rails concepts and a cursory understanding of JavaScript, CSS, and SQL, but by no means need to be an expert. You'll learn how to install Postgres on your computer or use a free version of it in the cloud.
Contents:
Cover
Table of Contents
Acknowledgments
Introduction
The Application Stack
How to Read This Book
What You Need to Know
Online Forum and Errata
1. Set Up the Environment
Installing Ruby, Rails, and Postgres
Creating the Rails Application
Setting Up Bootstrap with Yarn and Webpack
Next: Authentication with Devise, Styled by Bootstrap
2. Create a Great-Looking Login with Bootstrap and Devise
Adding Authentication with Devise
Styling the Login and Registration Forms
Validating Registration
Next: Using Postgres to Make Our Login More Secure
3. Secure the User Database with Postgres Constraints
Exposing the Vulnerability Devise and Rails Leave Open
Preventing Bad Data Using Check Constraints
Why Use Rails Validations?
Next: Using Postgres Indexes to Speed Up a Fuzzy Search
4. Perform Fast Queries with Advanced Postgres Indexes
Implementing a Basic Fuzzy Search with Rails
Understanding Query Performance with the Query Plan
Indexing Derived and Partial Values
Next: Better-Looking Results with Bootstrap's List Group
5. Create Clean Search Results with Bootstrap Components
Creating Google-Style Search Results Without Tables
Paginating the Results Using Bootstrap's Components
Next: Angular!
6. Build a Dynamic UI with Angular
Configuring Rails and Angular
Porting Our Search to Angular
Changing Our Search to Use Typeahead
Next: Testing
7. Test This Fancy New Code
Installing RSpec for Testing
Testing Database Constraints
Running Headless Acceptance Tests in PhantomJS
Writing Unit Tests for Angular Components
Next: Level Up on Everything
8. Create a Single-Page App Using Angular's Router
Storing View Templates in HTML Files
Configuring Angular's Router for User Navigation
Navigating the User Interface Client-Side.
Implementing Back-End Integration Using TDD
Next: Design Using Grids
9. Design Great UIs with Bootstrap's Grid and Components
The Grid: The Cornerstone of a Web Design
Using Bootstrap's Grid
Adding Polish with Bootstrap Components
Next: Populating the View Easily and Efficiently
10. Cache Complex Queries Using Materialized Views
Understanding the Performance Impact of Complex Data
Using Materialized Views for Better Performance
Keeping Materialized Views Updated
Next: Combining Data with a Second Source in Angular
11. Asynchronously Load Data from Many Sources
Understanding Asynchronous Requests and Observables
Separating the App into Components
Sharing Data Between Components
Pulling Data from a Second Source
Using Bootstrap's Progress Bar When Data Is Loading
Next: Sending Changes Back to the Server
12. Wrangle Forms and Validations with Angular
Marrying Angular's and Bootstrap's Form Validations
Reusing Markup with a Generic Text Field Component
Customizing the Component's Behavior and Appearance
Listening for User Change Events
Saving Changes to the Server
Next: Everything Else
13. Dig Deeper
Unlocking More of Postgres's Power
Leveling Up with Angular
Getting Everything Out of Bootstrap
The End
A1. Full Listing of Customer Detail Page HTML
A2. Creating Customer Address Seed Data
A3. Customer Details Extracted Components
Bibliography
Index
- SYMBOLS -
- A -
- B -
- C -
- D -
- E -
- F -
- G -
- H -
- I -
- J -
- K -
- L -
- M -
- N -
- O -
- P -
- Q -
- R -
- S -
- T -
- U -
- V -
- W -
- X -
- Y -
- Z -.
Notes:
"Version: P1.0 (June 2017)."
Includes bibliographical references and index.
Description based on print version record.
ISBN:
1-68050-265-4
1-68050-445-2
1-68050-444-4
1-68050-220-4
OCLC:
1000155599

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account