Book description
In just a short time, you can learn the basics of the JavaScript language, jQuery library, and AngularJS framework, and find out how to use them to build well-designed, reusable components for web applications.
As you complete the lessons in this book, you will gain a practical understanding of how to provide rich user interactions in your web pages. You will learn how to add dynamic code that allows web pages to instantly react to mouse clicks and finger swipes, interact with back-end services to store and retrieve data from the web server, and create robust Internet applications.
Step-by-step instructions carefully walk you through the most common web application development tasks
Practical, hands-on examples show you how to apply what you learn
Quizzes and exercises help you test your knowledge and skills
Learn how to…
Create powerful, highly interactive single-page web applications
Leverage AngularJS’s innovative MVC approach to web development
Use JavaScript in modern frameworks
Implement JavaScript, jQuery, and AngularJS together in web pages
Dynamically modify page elements in the browser
Use browser events to interact with the user directly
Implement client-side services that interact with web servers
Integrate rich user interface components, including zoomable images and expandable lists
Enhance user experience by creating AngularJS templates with built-in directives
Bind user interface elements and events to the data model to add flexibility and support more robust interactivity
Define custom AngularJS directives to extend HTML’s capabilities
Build dynamic browser views to provide richer user interaction
Create custom services you can integrate into many AngularJS applications
Develop a well-structured code base that’s easy to reuse and maintain
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Authors
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
-
Introduction
- Who Should Read This Book
- Why You Should Read This Book
- What You Will Learn from This Book
- Why AngularJS, jQuery, and JavaScript in the Same Book?
- What Is JavaScript?
- What Is jQuery?
- What Is AngularJS?
- Beyond AngularJS, jQuery, and JavaScript
- Code Examples
- Development Web Server
- Special Elements
- Q&A, Quizzes, and Exercises
- Finally
-
Part I: Introduction to AngularJS, jQuery, and JavaScript Development
- Lesson 1. Introduction to Dynamic Web Programming
- Lesson 2. Debugging JavaScript in Web Pages
- Lesson 3. Understanding Dynamic Web Page Anatomy
- Lesson 4. Adding CSS/CSS3 Styles to Allow Dynamic Design and Layout
- Lesson 5. Jumping into jQuery and JavaScript Syntax
- Lesson 6. Understanding and Using JavaScript Objects
-
Part II: Implementing jQuery and JavaScript in Web Pages
- Lesson 7. Accessing DOM Elements Using JavaScript and jQuery Objects
- Lesson 8. Navigating and Manipulating jQuery Objects and DOM Elements with jQuery
- Lesson 9. Applying JavaScript and jQuery Events for Richly Interactive Web Pages
- Lesson 10. Dynamically Accessing and Manipulating Web Pages with JavaScript and jQuery
- Lesson 11. Working with Window, Browser, and Other Non-Web Page Elements
-
Part III: Building Richly Interactive Web Pages with jQuery
- Lesson 12. Enhancing User Interaction Through jQuery Animation and Other Special Effects
- Lesson 13. Interacting with Web Forms in jQuery and JavaScript
- Lesson 14. Creating Advanced Web Page Elements in jQuery
- Lesson 15. Accessing Server-Side Data via JavaScript and jQuery AJAX Requests
-
Part IV: Utilizing jQuery UI
- Lesson 16. Introducing jQuery UI
- Lesson 17. Using jQuery UI Effects
- Lesson 18. Advanced Interactions Using jQuery UI Interaction Widgets
-
Lesson 19. Using jQuery UI Widgets to Add Rich Interactions to Web Pages
- Reviewing Widgets
- Adding an Expandable Accordion Element
- Implementing Autocomplete in Form Elements
- Applying jQuery UI Buttons to Form Controls
- Creating a Calendar Input
- Generating Stylized Dialogs with jQuery UI
- Implementing Stylized Menus
- Creating Progress Bars
- Implementing Slider Bars
- Adding a Value Spinner Element
- Creating Tabbed Panels
- Adding Tooltips to Page Elements
- Creating Custom Widgets
- Summary
- Q&A
- Workshop
-
Part V: Building Web Applications with AngularJS
-
Lesson 20. Getting Started with AngularJS
- Why AngularJS?
- Understanding AngularJS
- An Overview of the AngularJS Life Cycle
- Separation of Responsibilities
- Integrating AngularJS with Existing JavaScript and jQuery
- Adding AngularJS to Your Environment
- Bootstrapping AngularJS in an HTML Document
- Using the Global APIs
- Using jQuery or jQuery Lite in AngularJS Applications
- Summary
- Q&A
- Workshop
- Lesson 21. Understanding AngularJS Application Dynamics
- Lesson 22. Implementing the Scope as a Data Model
- Lesson 23. Using AngularJS Templates to Create Views
- Lesson 24. Implementing Directives in AngularJS Views
- Lesson 25. Creating Your Own Custom Directives to Extend HTML
- Lesson 26. Using Events to Interact with Data in the Model
-
Lesson 27. Implementing AngularJS Services in Web Applications
- Understanding AngularJS Services
-
Using the Built-In Services
- Sending HTTP GET and PUT Requests with the $http Service
- Using the $cacheFactory Service
- Implementing Browser Alerts Using the $window Service
- Interacting with Browser Cookies Using the $cookieStore Service
- Implementing Timers with $interval and $timeout Services
- Using the $animate Service
- Using the $location Service
- Using the $q Service to Provide Deferred Responses
- Summary
- Q&A
- Workshop
- Lesson 28. Creating Your Own Custom AngularJS Services
- Lesson 29. Creating Rich Web Application Components the AngularJS Way
-
Lesson 20. Getting Started with AngularJS
- Index
- Code Snippets
Product information
- Title: Sams Teach Yourself AngularJS, JavaScript, and jQuery All in One in 24 Hours
- Author(s):
- Release date: August 2015
- Publisher(s): Sams
- ISBN: 9780134171708
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
The Joy of JavaScript
The Joy of JavaScript introduces techniques that turn JavaScript programmers into JavaScript pros. You’ll work with …
book
Design for How People Think
User experience doesn’t happen on a screen; it happens in the mind, and the experience is …
video
Introduction to ChatGPT and OpenAI
OpenAI ChatGPT is a powerful language model that uses advanced ML techniques to generate human-like text …