Dapr入门学习 Day 6

开发语言SDK与框架

Developer language SDKs and frameworks

开发框架

Developer frameworks

Dapr 可以被任何框架使用,下面的是已经和Dapr集成好的一些框架。

Dapr can be used from any developer framework. Here are some that have been integrated with Dapr.

Web

在Dapr的.net sdk中可以找到ASP.NET core与Dapr的集成功能,对来自其他服务的发布/订阅事件可通过有状态的路由控制器来响应。

In the Dapr .NET SDK you can find ASP.NET Core integration, which brings stateful routing controllers that respond to pub/sub events from other services.

在Dapr的Java SDK下,可以发现与Spring Boot的集成功能。

In the Dapr Java SDK you can find Spring Boot integration.

Dapr和python的Flask或Node的Express框架集成非常容易,这个可以在入门实例中查看。

Dapr integrates easily with Python Flask and node Express, which you can find in the getting started samples

Actors

dapr sdk支持Actor特性,Actor是一种有状态的对象,它使并发开发变得简单,并具有方法和状态封装的特性,它是为可伸缩的分布式应用程序而生。

Dapr SDKs support for virtual actors which are stateful objects that make concurrency simple, have method and state encapsulation, and are designed for scalable, distributed applications.

Azure Functions

Dapr通过扩展与Azure函数运行时集成,该扩展允许函数与Dapr无缝交互。Azure函数提供了事件驱动的编程模型,Dapr提供了云本地构建块。有了这个扩展,你可以将sererless和事件驱动的应用程序结合起来。有关更多信息,请阅读Azure Functions extension For Dapr并访问Azure Functions extension repo以试用示例。

Dapr integrates with the Azure Functions runtime via an extension that lets a function seamlessly interact with Dapr. Azure Functions provides an event-driven programming model and Dapr provides cloud-native building blocks. With this extension, you can bring both together for serverless and event-driven apps. For more information read Azure Functions extension for Dapr and visit the Azure Functions extension repo to try out the samples.

Dapr workflows

为了使开发人员能够轻松地构建使用Dapr功能(包括诊断和多语言支持)的工作流应用程序,可以使用Dapr工作流。Dapr集成了工作流引擎,如逻辑应用程序。有关更多信息,请阅读使用Dapr和Logic应用程序的cloud原生工作流,并访问Dapr工作流repo以试用示例。

To enable developers to easily build workflow applications that use Dapr’s capabilities including diagnostics and multi-language support, you can use Dapr workflows. Dapr integrates with workflow engines such as Logic Apps. For more information read cloud-native workflows using Dapr and Logic Apps and visit the Dapr workflow repo to try out the samples.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。