Learning AngularJS. A Guide to AngularJS Development - Helion
ISBN: 978-14-919-1670-4
stron: 212, Format: ebook
Data wydania: 2015-03-18
Księgarnia: Helion
Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)
With AngularJS, you can quickly build client-side applications that run well on any desktop or mobile platform, using REST web services for backend processes. You may have heard that the learning curve for this JavaScript MVC framework is too steep, but that’s not the case. This practical guide provides a hands-on approach to learning AngularJS that will have you building high-quality applications and websites in no time.
Along with a conceptual understanding of the framework, you’ll also gain direct experience with AngularJS by building a sample application throughout the book. If you’re familiar with JavaScript, web development, and software design concepts and patterns, this book is the perfect way to get started.
- Understand how AngularJS differs from other MVC frameworks
- Learn about AngularJS controllers, views, and models by diving into the book’s sample project
- Connect your working application to public REST services
- Build the application’s security layer with non-REST AngularJS services
- Explore the basics of building and testing AngularJS directives
- Use AngularJS as part of the MEAN stack (MongoDB, ExpressJS, AngularJS, and Node.js)
- Discover how search engine optimization relates to AngularJS applications and sites
Osoby które kupowały "Learning AngularJS. A Guide to AngularJS Development", wybierały także:
- Angular 2. Programowanie z użyciem języka TypeScript 77,10 zł, (23,90 zł -69%)
- Jest i Cypress. Kurs video. Testy jednostkowe i automatyczne w Angularze 148,98 zł, (59,59 zł -60%)
- Angular. Kurs video. Programowanie reaktywne aplikacji webowych z RxJS 148,98 zł, (59,59 zł -60%)
- RESTful Web Services. Kurs video. Tworzenie restowych aplikacji internetowych w Spring, AngularJS 79,00 zł, (31,60 zł -60%)
- AngularJS. Kurs video. Poziom pierwszy. Tworzenie aplikacji 119,00 zł, (47,60 zł -60%)
Spis treści
Learning AngularJS. A Guide to AngularJS Development eBook -- spis treści
- Preface
- Why I Wrote This Book
- What This Book Covers
- Who Should Read This Book
- The Chapters in This Book
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- 1. Introduction to AngularJS
- JavaScript Client-Side Frameworks
- Single-Page Applications
- Bootstrapping the Application
- Dependency Injection
- AngularJS Routes
- HTML5 Mode
- Modern Search Engines
- AngularJS Templates
- AngularJS Views (MVC)
- AngularJS Models (MVC)
- AngularJS Controllers (MVC)
- Controller Business Logic
- Integrating AngularJS with Other Frameworks
- Testing AngularJS Applications
- Conclusion
- 2. The IDE and AngularJS Projects
- The IDE
- Editing the HTML Code
- Editing the JavaScript Code
- Creating the Templates
- Running the Applications
- Testing AngularJS Applications in the IDE
- JsTestRunner
- Karma Test Runner
- Protractor
- Conclusion
- 3. MVC and AngularJS
- The Old Way
- Choice One
- Choice Two
- A New and Better Way
- Testing Considerations
- Responsive Design Considerations
- Conclusion
- The Old Way
- 4. AngularJS Controllers
- Initializing the Model with Controllers
- Adding Behavior with Controllers
- Controller Business Logic
- Presentation Logic and Formatting Data
- Form Submission
- Using Submitted Form Data
- JS Test Driver
- Creating Test Scripts
- Testing with JS Test Driver
- Testing with Karma
- Installing Karma
- Karma Configuration
- Running Karma Unit Tests
- End-to-End Testing with Protractor
- Installing Protractor
- Configuring Protractor
- Creating Protractor Test Specifications
- Starting the Selenium Server
- Running Protractor
- Conclusion
- 5. AngularJS Views and Bootstrap
- AngularJS Templates
- Creating the Blog Project
- Adding a New Blog Controller
- Adding a New Blog Template
- Twitter Bootstrap
- Adding a Bootstrap Menu
- Adding Mock Blog Data
- Using CSS3 to Style the Page
- Adding Styles and Presentation Logic
- Viewing the Blog Post
- Running the Blog Application
- Testing with Karma
- Karma Configuration
- Karma Test Specifications
- Karma Testing
- End-to-End Testing
- Protractor Test Specification
- Protractor Testing
- Conclusion
- 6. AngularJS and REST Services
- REST Services
- AngularJS and REST Services
- Ways to Create AngularJS Services
- Ways to Communicate with REST Services
- Updating the Project for REST
- REST Services and Controllers
- The JSON Response
- List Services
- Testing Services with Karma
- Karma Service Specifications
- End-to-End Testing
- Protractor Configuration
- Protractor Test Specification
- Conclusion
- 7. AngularJS Models
- Public REST Services
- Changes to the Controllers
- Model Properties
- Blog Application Public Services
- Modifying the HTML
- Modifying App.js
- Modifying the Controllers
- Running the Application
- Testing Services with Karma
- Karma Service Specifications
- Karma Testing
- End-to-End Testing
- Protractor Test Specification
- Protractor Testing
- Conclusion
- 8. Services and Business Logic
- Handling User Authentication
- Using Basic Authentication
- Creating AngularJS Services
- Holding User Credentials
- Checking User Credentials
- Deleting User Credentials
- Retrieving User Credentials
- Blog Application Business Logic
- Using the Business Logic
- Testing Services with Karma
- Karma Configuration
- Karma Test Specifications
- Karma Testing
- End-to-End Testing
- Protractor Configuration
- Protractor Test Specification
- Protractor Testing
- Conclusion
- 9. AngularJS Directives
- The HTML Compiler
- What Are Directives?
- Building Custom Directives
- Naming Conventions for Directives
- The Restrict Option
- The Template URL
- Template Attributes
- Adding the Custom Directive
- Passing the Title Attribute
- Running the Blog Application
- Testing Directives with Karma
- Karma Configuration
- Karma Test Specification
- Karma Testing
- End-to-End Testing
- Protractor Configuration
- Protractor Test Specification
- Protractor Testing
- Conclusion
- 10. AngularJS Security
- Authentication
- Adding a Login Service
- Adding a Login Controller
- Security Modifications to Other Controllers
- Adding a Logout Controller
- Adding a Login Template
- Adding New Routes
- Adding a Logout Link
- Running the Blog Application
- Logging In
- Testing with Karma
- Karma Configuration
- Karma Test Specifications
- Karma Testing
- End-to-End Testing
- Protractor Configuration
- Protractor Test Specification
- Protractor Testing
- One Last Point on Security
- Conclusion
- 11. MEAN Cloud and Mobile
- Local Deployment
- Installing Node.js, npm, and MongoDB
- Installing the NetBeans Node.js Plugin
- The MEAN Application
- Node.js Public Folder
- MEAN Services
- MEAN Blog Controllers
- MEAN Blog Templates
- Adding Comments
- Adding Blog Entries
- Adding New Routes
- Adding Node.js Dependencies
- Running the Blog Application Locally
- Testing with Karma
- Karma Configuration
- Karma Test Specifications
- Karma Testing
- End-to-End Testing
- Protractor Configuration
- Protractor Test Specification
- Protractor Testing
- MEAN Deployment to the Cloud
- Testing the Cloud Blog
- Mobile Version
- Conclusion
- 12. AngularJS and SEO
- Old Versus New AngularJS SEO
- Getting Found by Search Engines
- Google Webmaster Tools
- Adding a Sitemap
- Microformat Tags
- Building Clean Client Code
- Building Fast REST Services
- Conclusion
- References
- Index