Pro JavaScript for Web Apps [electronic resource] /
Freeman, Adam.author.
JavaScript is the engine behind every web app, and a solid knowledge of it is essential for all modern web developers. Pro JavaScript for Web Apps gives you all of the information that you need to create professional, optimized, and efficient JavaScript applications that will run across all devices. It takes you through all aspects of modern JavaScript application creation, showing you how to combine JavaScript with the new features of HTML5 and CSS3 to make the most of the new web technologies. The focus of the book is on creating professional web applications, ensuring that your app provides the best experience for your users, with smooth and responsive control and feedback and an intuitive and optimized interface. You will learn how to take a basic application and bring it up to a professional level while making sure that it remains bullet-proof and bug free. Pro JavaScript for Web Apps will also enhance your development workflow using jQuery to streamline the process and freeing you to spend more time on the important parts of your app while the framework deals with the mundanity. The best app experiences are a combination of a beautiful idea with flawless execution. If you have the ideas, Pro JavaScript for Web Apps will help you craft them into a phenomenal app.
Tittle Page; Copyright Page; Contents at a Glance; Table Of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Chapter 1: Getting Ready; About This Book; Who Are You?; What Do You Need to Know Before You Read This Book?; What If You Don't Have That Experience?; Is This a Book About HTML5?; What Is the Structure of This Book?; Chapter 1: Getting Ready; Chapter 2: Getting Started; Chapter 3: Adding a View Model; Chapter 4: Using URL Routing; Chapter 5: Creating Offline Web Apps; Chapter 6: Storing Data in the Browser; Chapter 7: Creating Responsive Web Apps
Chapter 8: Creating Mobile Web AppsChapter 9: Writing Better JavaScript; Do You Describe Design Patterns?; Do You Talk About Graphic Design and Layouts?; What If You Don't Like the Techniques or Tools I Describe?; Is There a Lot of Code in This Book?; What Software Do You Need for This Book?; Getting the Source Code; Getting an HTML Editor; Getting a Desktop Web Browser; Getting a Mobile Browser Emulator; Getting the JavaScript Libraries; Getting a Web Server; Getting and Preparing Node.js; Introducing the CheeseLux Example; Font Attribution; Summary; Chapter 2: Getting Started
Upgrading the Submit ButtonPreparing to Use jQuery; Understanding the Ready Event; Selecting and Hiding the Input Elemen; Inserting the New Element; Applying a CSS Class; Responding to Events; Handling the Click Event; Handling Mouse Hover Events; Using the Event Object; Dealing with Default Actions; Adding Dynamic Basket Data; Adding the Basket Elements; Showing the Latent Content; Responding to User Input; Calculating the Subtotal; Displaying the Subtotal; Calculating the Overall Total; Changing the Form Target; Understanding Progressive Enhancement
Revisiting the Button: Using a Ul ToolkitSetting Up jQuery Ul; Creating a jQuery Ul Button; Summary; Chapter 3: Adding a View Model; Resetting the Example; Creating a View Model; Adopting a View Model Library; Generating Content from the View Model; Understanding Value Bindings; Understanding Flow Control Bindings; Taking Advantage of the View Model; Adding More Products to the View Model; Creating Observable Data Items; Creating Bidirectional Bindings; Extending the View Model; Generating the Content; Reviewing the Result; Adding a Dynamic Basket; Adding Subtotals
Adding the Basket Line Items and TotalExtending the View Model; Adding the Basket Structure and Template; Removing Items from the Basket; Finishing the Example; Summary; Chapter 4: Using URL Routing; Building a Simple Routed Web Application; Adding the Routing Library; Adding the View Model and Content Markup; Adding the Navigation Markup; Applying URL Routing; Consolidating Routes; Using Variable Segments; Dealing with Unexpected Segment Values; Using Optionnal Segments; Adding a Default Route; Adapting Event-Driven Controls to Navigation; Using the HTML5 History API
Adding History State to the Example Application
Includes index.
JavaScript is the engine behind every web app, and a solid knowledge of it is essential for all modern web developers. Pro JavaScript for Web Apps gives you all of the information that you need to create professional, optimized, and efficient JavaScript applications that will run across all devices. It takes you through all aspects of modern JavaScript application creation, showing you how to combine JavaScript with the new features of HTML5 and CSS3 to make the most of the new web technologies. The focus of the book is on creating professional web applications, ensuring that your app provides the best experience for your users, with smooth and responsive control and feedback and an intuitive and optimized interface. You will learn how to take a basic application and bring it up to a professional level while making sure that it remains bullet-proof and bug free. Pro JavaScript for Web Apps will also enhance your development workflow using jQuery to streamline the process and freeing you to spend more time on the important parts of your app while the framework deals with the mundanity. The best app experiences are a combination of a beautiful idea with flawless execution. If you have the ideas, Pro JavaScript for Web Apps will help you craft them into a phenomenal app.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.