舉報

會員
KnockoutJS Essentials
最新章節(jié):
Index
IfyouareaJavaScriptdeveloperwhohasbeenusingDOMmanipulationlibrariessuchasMootoolsorScriptaculous,andyouwantgofurtherinmodernJavaScriptdevelopmentwithasimpleandwell-documentedlibrary,thenthisbookisforyou.LearninghowtouseKnockoutwillbeperfectasyournextsteptowardsbuildingJavaScriptapplicationsthatrespondtouserinteraction.
目錄(102章)
倒序
- coverpage
- KnockoutJS Essentials
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Refreshing the UI Automatically with KnockoutJS
- KnockoutJS and the MVVM pattern
- A real-world application – koCart
- Installing components
- The view-model
- Observables to refresh the UI automatically
- Summary
- Chapter 2. KnockoutJS Templates
- Preparing the project
- Creating templates
- Handling templates with if and ifnot bindings
- Managing templates with jQuery
- Managing templates with koExternalTemplateEngine
- Summary
- Chapter 3. Custom Bindings and Components
- Custom bindings
- Create a binding to debug – the toJSON binding
- Summary
- Chapter 4. Managing KnockoutJS Events
- Event-driven programming
- The click event
- Event types
- Event binding
- Unobtrusive events with jQuery
- Delegation pattern
- Building custom events
- Events and bindings
- Summary
- Chapter 5. Getting Data from the Server
- REST services
- Defining CRUD
- Singleton resources
- Setting CRUD operations in the resource
- Using resources in the view-model
- Using Mockjax to mock HTTP requests
- Generating mock data with MockJSON
- Retrieving a product by ID
- Creating a new product
- Separation of concerns – behavior and data
- Creating the product service
- Creating the CartProduct service
- Updating a product
- Deleting a product
- Sending the order to the server
- Handling AJAX errors
- Validating data
- Extending the product model
- Extending the customer model
- Summary
- Chapter 6. The Module Pattern – RequireJS
- Installing the Knockout context debugger extension
- The console
- The module pattern
- Creating the Shop module
- The ViewModel module
- The Models module
- The Resources module
- The Services module
- Events bindings and Knockout components
- Updating the add-to-cart-button component
- Updating events
- Using RequireJS to manage dependencies
- Updating the template engine
- Configuring RequireJS
- Using RequireJS in our project
- Defining the app.js file
- Converting a normal module into an AMD module
- Applying RequireJS to components
- Applying RequireJS to mocks
- Applying RequireJS to bindings
- Applying RequireJS to events
- The limits of the application
- Summary
- Chapter 7. Durandal – The KnockoutJS Framework
- Installing Durandal
- The shell view-model
- Durandal life cycle
- Building a page with Durandal
- Summary
- Chapter 8. Developing Web Applications with Durandal – The Cart Project
- Introduction
- Setting up the project
- Routing the project – the shell view-model
- The navigation and shell templates
- Grouping code by feature – managing big projects
- Summary
- Index 更新時間:2021-07-23 20:16:33
推薦閱讀
- 從零開始構(gòu)建企業(yè)級RAG系統(tǒng)
- Objective-C Memory Management Essentials
- 編程的修煉
- Mastering Selenium WebDriver
- 構(gòu)建移動網(wǎng)站與APP:HTML 5移動開發(fā)入門與實戰(zhàn)(跨平臺移動開發(fā)叢書)
- JavaScript 網(wǎng)頁編程從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- Mastering Articulate Storyline
- Practical Game Design
- Oracle BAM 11gR1 Handbook
- Android 應(yīng)用案例開發(fā)大全(第3版)
- Visual C#.NET程序設(shè)計
- Learning Unreal Engine Android Game Development
- Spring Boot+MVC實戰(zhàn)指南
- Python:Deeper Insights into Machine Learning
- Oracle Data Guard 11gR2 Administration Beginner's Guide
- Java自然語言處理(原書第2版)
- 趣學(xué)數(shù)據(jù)結(jié)構(gòu)
- HTML5程序開發(fā)范例寶典
- 面向物聯(lián)網(wǎng)的Android應(yīng)用開發(fā)與實踐
- 移動智能系統(tǒng)測試原理與實踐
- Learning Spark SQL
- 零基礎(chǔ)HTML+CSS+JavaScript學(xué)習(xí)筆記
- Java程序設(shè)計教程(慕課版)
- Troubleshooting Ubuntu Server
- Python+Tensorflow機器學(xué)習(xí)實戰(zhàn)
- Python高級編程(第2版)
- 32位匯編語言程序設(shè)計(第3版)
- Bash Cookbook
- INSTANT PostgreSQL Starter
- Intelligent IoT Projects in 7 Days