舉報(bào)

會(huì)員
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 更新時(shí)間:2021-07-23 20:16:33
推薦閱讀
- Oracle從入門(mén)到精通(第3版)
- VMware View Security Essentials
- Python Game Programming By Example
- Learning AWS Lumberyard Game Development
- Web Application Development with R Using Shiny(Second Edition)
- HTML5+CSS3網(wǎng)站設(shè)計(jì)教程
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運(yùn)維
- Android項(xiàng)目實(shí)戰(zhàn):手機(jī)安全衛(wèi)士開(kāi)發(fā)案例解析
- Java Web開(kāi)發(fā)就該這樣學(xué)
- Spring MVC+MyBatis開(kāi)發(fā)從入門(mén)到項(xiàng)目實(shí)踐(超值版)
- .NET Standard 2.0 Cookbook
- 區(qū)塊鏈項(xiàng)目開(kāi)發(fā)指南
- Delphi開(kāi)發(fā)典型模塊大全(修訂版)
- HTML5移動(dòng)前端開(kāi)發(fā)基礎(chǔ)與實(shí)戰(zhàn)(微課版)
- Mobile Forensics:Advanced Investigative Strategies
- 例說(shuō)FPGA:可直接用于工程項(xiàng)目的第一手經(jīng)驗(yàn)
- Python無(wú)監(jiān)督學(xué)習(xí)
- Ionic3與CodePush初探:支持跨平臺(tái)與熱更新的App開(kāi)發(fā)技術(shù)
- Visual FoxPro程序設(shè)計(jì)實(shí)驗(yàn)教程
- RPA開(kāi)發(fā):UiPath入門(mén)與實(shí)戰(zhàn)
- Abaqus GUI程序開(kāi)發(fā)指南(Python語(yǔ)言)
- IBM Cognos 10 Report Studio Cookbook(Second Edition)
- HTML5與CSS3權(quán)威指南(第2版·上冊(cè))
- 程序員面試筆試通關(guān)寶典
- 自動(dòng)化測(cè)試實(shí)戰(zhàn)寶典:Robot Framework+Python從小工到專(zhuān)家
- FreeSWITCH權(quán)威指南
- Python安全攻防:滲透測(cè)試實(shí)戰(zhàn)指南
- Android SQLite Essentials
- 使用前端技術(shù)展現(xiàn)Web系統(tǒng)(藍(lán)橋杯軟件大賽培訓(xùn)教材-Java方向)
- Hands-On Object:Oriented Programming with C#