Pro JavaScript for Web apps
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....
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] : New York :
Apress ; Distributed to the book trade worldwide by Springer Science+Business Media
c2012.
|
Edición: | 1st ed. 2012. |
Colección: | Expert's voice in Web development.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627983806719 |
Tabla de Contenidos:
- 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