Book description
Arm yourself with over 65 hands-on recipes to master the skills of building scalable web applications with Ember.js
About This Book
- This book is your one-stop solution to the key features of Ember.js. Become skilled in the art of building web-apps in a fraction of the code you'd write in other frameworks.
- Build JavaScript apps that don't break the web! Our 100 recipes will make this a cakewalk for you!
- This books makes learning Ember.js easy by breaking down each topic into simple-to-understand recipes
Who This Book Is For
Anyone who wants to explore Ember.js and wishes to get hands on making sophisticated web apps with less coding will find this book handy. Prior experience in Coding and familiarity with JavaScript is recommended. If you've heard of Ember.js or are just curious on how a single-page application framework works, then this book is for you.
What You Will Learn
- Skip the boilerplate code with Ember CLI generators
- Create a component with actions and events
- Set up a model with Ember Data using fixture data
- Create several different types of test cases and run them
- Manage and set up user authentication using Ember Simple Auth
- Add animated transitions to your app with Liquid Fire
- Set up a service and initializer with dependency injection
- Create a working chat application
- Set up an Ember Service and initializer with dependency injection
- Create a working chat application
In Detail
Ember.js is an open source JavaScript framework that will make you more productive. It uses common idioms and practices, making it simple to create amazing single-page applications. It also lets you create code in a modular way using the latest JavaScript features. Not only that, it has a great set of APIs to get any task done. The Ember.js community is welcoming newcomers and is ready to help you when needed.
This book provides in-depth explanations on how to use the Ember.js framework to take you from beginner to expert. You'll start with some basic topics and by the end of the book, you'll know everything you need to know to build a fully operational Ember application.
We'll begin by explaining key points on how to use the Ember.js framework and the associated tools. You'll learn how to effectively use Ember CLI and how to create and deploy your application. We'll take a close look at the Ember object model and templates by examining bindings and observers. We'll then move onto Ember components, models, and Ember Data. We'll show you examples on how to connect to RESTful databases. Next we'll get to grips with testing with integration and acceptance tests using QUnit. We will conclude by covering authentication, services, and Ember add-ons. We'll explore advanced topics such as services and initializers, and how to use them together to build real-time applications.
Style and approach
Each recipe in this book will make it that much easier to understand Ember.js. Recipe after recipe, you will learn the concepts of Ember.js by following the simple step-by-step processes
Table of contents
-
Ember.js Cookbook
- Table of Contents
- Ember.js Cookbook
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Ember CLI Basics
-
2. The Ember.Object Model
- Introduction
- Working with classes and instances
- Working with computed properties
- Working with Ember observers in Ember.js
- Working with bindings
- Using mixins
-
Using enumerables with arrays
- Getting ready
-
How to do it...
- Using forEach with an array
- Using map with an array
- Using mapBy with an array
- Finding the first and last objects in an array
- Fun with filters
- Using filterBy with a collection of objects
- Using find to get the first match
- Using findBy with collections
- Learning with the every enumerable
- Using any to find at least one match
- How it works...
- 3. Ember Templates
- 4. Ember Router
- 5. Ember Controllers
- 6. Ember Components
- 7. Ember Models and Ember Data
- 8. Logging, Debugging, and Testing
- 9. Real-Life Tasks with Ember.js
- 10. Awesome Tasks with Ember
- 11. Real-Time Web Applications
- Index
Product information
- Title: Ember.js Cookbook
- Author(s):
- Release date: February 2016
- Publisher(s): Packt Publishing
- ISBN: 9781783982202
You might also like
book
Ember.js in Action
Ember.js in Action is a crisp tutorial that introduces the Ember.js framework and shows you how …
book
Building Web Apps with Ember.js
If you’re a web developer interested in building scalable single-page applications—full-stack, browser-based apps that connect to …
book
Pro Ember Data: Getting Ember Data to Work with Your API
Learn how to work with Ember Data efficiently, from APIs, adapters, and serializers to polymorphic relationships, …
book
Hands-On Full Stack Web Development with Aurelia
Develop rich and scalable web applications with Node.js, Express.js, and MongoDBAbout This Book Learn the advanced …