简体   繁体   English

如何为Breeze创建数据绑定适配器

[英]How to create a Data Binding Adapter for Breeze

From Breeze introduction... 从微风介绍...

Breeze currently supports Knockout, BackBone, and AngularJS with adapters for other libraries on the way. Breeze当前支持带有其他库适配器的Knockout,BackBone和AngularJS。 We'd be happy to help you write an adapter for a library we don't yet support.". 我们很乐意帮助您为尚不支持的库编写适配器。”。

What other libraries are one the way? 还有哪些其他库是其中的一种?

Is there some documentation which describes what has to be done for other libraries? 是否有一些文档描述了其他库需要做什么?

We haven't gotten around to documenting the model library adapter api YET, but Breeze ships with the three model library adapters that you mentioned. 我们还没有到文档模型库适配器api YET的文档,但是Breeze附带了您提到的三个模型库适配器。 You can look at the source to see how these are done. 您可以查看源代码,以了解它们是如何完成的。

On the Breeze zip look in the Scripts/Adapters folder for any files that begin ith "Breeze.modelLibrary". 在Breeze zip上,在Scripts / Adapters文件夹中查找以“ Breeze.modelLibrary”开头的所有文件。 You will also see dataService adapters and ajax adapters in this folder as well. 您还将在此文件夹中看到dataService适配器和ajax适配器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM