Название: Rails, Angular, Postgres, and Bootstrap Автор: David B. Copeland Издательство: Pragmatic Bookshelf Год: 2016 Формат: PDF, EPUB Размер: 27,8 Мб Язык: английский / English
As a Rails developer, you care about user experience and performance, but you also want simple and maintainable code. Achieve all that by embracing the full stack of web development, from styling with Bootstrap, building an interactive user interface with AngularJS, to storing data quickly and reliably in PostgreSQL. Take a holistic view of full-stack development to create usable, high-performing applications, and learn to use these technologies effectively in a Ruby on Rails environment.
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 AngularJS, Bootstrap, and PostgreSQL. When used together, these powerful and easy-to-use tools will open you to a new world of possibilities. In each chapter of this book, you'll learn how these technologies can work together inside a Rails app to deliver well-performing applications that offer great user experiences.
Create a usable and attractive login form using Bootstrap's styles, while ensuring the database table backing it is secure, using Postgres' check constraints. You'll see how creating an advanced Postgres index for a case-insensitive search can speed up your back-end--allowing you to create a highly dynamic user experience using AngularJS. You'll create complex interfaces using Bootstrap's grid, together with Angular's form support, backed by a materialized view for caching within Postgres. You'll get your front-end working with the Asset Pipeline, use Postgres' features from migrations, and write unit tests for all of it. All of this within Rails.