web application development with breeze.js
TRANSCRIPT
![Page 1: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/1.jpg)
![Page 2: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/2.jpg)
• BREEZE
• FIRST
• 1.4.16
![Page 3: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/3.jpg)
•
•
•
•
•
![Page 4: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/4.jpg)
•
•
•
•
•
•
• ODATA
![Page 5: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/5.jpg)
Single Page App
SERVER
DATABASE
Markup
UI Logic
Data Access
![Page 7: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/7.jpg)
CALLING PATTERNS
•
•
![Page 8: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/8.jpg)
QUERY
ClientBreeze
Controller
Metadata
Entity
Manager
Query Results
GET breeze/Zza/Customers
ClientEntity
ManagerClient
GET breeze/{controller}/Metadata
Entity
ManagerClient
Entity
ManagerClientClient
Entity
ManagerClient
Entity
ManagerClient
Breeze
ControllerEntity
ManagerClient
Breeze
ControllerEntity
ManagerClient
QueryEntities
![Page 9: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/9.jpg)
METADATA
•METADATA IS USED BY BREEZE ENTITYMANAGER FOR MANY ASPECTS
•ENTITY TYPE INFORMATION
•CREATING ENTITIES
•MANAGING KEY PROPERTIES FOR ENTITIES
•MANAGING ENTITY RELATIONSHIPS
•VALIDATION
•DEFAULT VALUES
•ALLOW ENTITYMANAGER TO BE SMART ABOUT SENDING CHANGE BATCHES
• PARENT-CHILD RELATIONSHIPS AND QUERY EXECUTION ORDER
![Page 10: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/10.jpg)
UPDATE
Server
Persisted
Entities
Breeze
Controller
POST breeze/{controller}/SaveChanges
Entity
ManagerClient
SaveChanges
![Page 13: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/13.jpg)
•
•
•
•
![Page 14: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/14.jpg)
•
•
••
•
•
••
•
![Page 15: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/15.jpg)
•
•
•
•
•
• NHIBERNATE
• CUSTOM
•
![Page 16: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/16.jpg)
•
•
•
•
•
![Page 17: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/17.jpg)
•
•
•
•
•
•
•
•
•
![Page 20: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/20.jpg)
•
•
•
•
•
•
•
![Page 21: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/21.jpg)
•
•
•
•
![Page 22: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/22.jpg)
•
•
•
•
•
•
•
•
![Page 23: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/23.jpg)
•
••
•
•
•
••
•
••
•
•
•
![Page 24: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/24.jpg)
•
•
•
•
•
•
![Page 25: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/25.jpg)
•
•
•
•
![Page 26: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/26.jpg)
•
•
•
•
•
•
•
![Page 27: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/27.jpg)
•
•
•
•
•
•
•
•
•
•
•
![Page 28: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/28.jpg)
•
•
•
•
•
•
• MERGESTRATEGY
•
•
•
![Page 29: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/29.jpg)
•
•
•
•
•
•
•
![Page 30: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/30.jpg)
•
•
•
•
![Page 32: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/32.jpg)
•
•
•
•
•
•
•
•
•
•
![Page 34: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/34.jpg)
•
•
•
•
![Page 35: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/35.jpg)
• HTTP://WWW.BREEZEJS.COM/
• HTTP://WWW.BREEZEJS.COM/PREVIOUS-RELEASE-NOTES
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/RELEASE-NOTES
• HTTP://BRIANNOYES.NET/2013/02/16/CONSUMING-AN-ASP-NET-WEB-API-ODATA-SERVICE-WITH-BREEZE/
• HTTP://WWW.BREEZEJS.COM/SITES/ALL/APIDOCS/CLASSES/ENTITYMANAGER.HTML
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/METADATA
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/WEB-API-ROUTING
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/WEB-API-CONTROLLER
• HTTP://WWW.BREEZEJS.COM/SAMPLES/NODB
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/NHIBERNATE
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/ENTITYMANAGER-AND-CACHING
• HTTP://WWW.BREEZEJS.COM/SITES/ALL/APIDOCS/CLASSES/ENTITYASPECT.HTML
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/EXPORTIMPORT
• HTTP://WWW.BREEZEJS.COM/SITES/ALL/APIDOCS/CLASSES/MERGESTRATEGY.HTML
• HTTP://WWW.BREEZEJS.COM/SITES/ALL/APIDOCS/CLASSES/VALIDATIONERROR.HTML
• HTTP://WWW.BREEZEJS.COM/DOCUMENTATION/TESTING-BREEZE-APPLICATION
![Page 36: Web Application Development with Breeze.js](https://reader034.vdocuments.net/reader034/viewer/2022042615/55a6c7751a28ab9d048b46d1/html5/thumbnails/36.jpg)