Learning AngularJS
Paperback Engels 2015 1e druk 9781491916759Samenvatting
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
Specificaties
Lezersrecensies
Inhoudsopgave
-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
-A New and Better Way
-Testing Considerations
-Responsive Design Considerations
-Conclusion
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
-Testing with Karma
-End-to-End Testing with 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
-End-to-End 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
-End-to-End Testing
-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
-End-to-End 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
-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
-End-to-End 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
-Testing with Karma
-End-to-End 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
-End-to-End 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
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan