architecture

architecture

文章 2浏览 10
  • 将属性动态附加到 ndb.Model 的实例并将它们放在 to_dict() 表示中

    Dynamicallyattachpropertiestoaninstanceofndb.Modelandhavethemintheto_dict()representation我正在通过GoogleAppEngineNDB编写一个RESTapi我排除了现有库,因为我需要控制事务和缓存。出于类似的原因,我排除了GoogleEndpoints,也因为我不想使用他们提供的javascript客户端。在…
    2025-05-131
  • 将微服务推广到公共 API 的良好做法是什么?

    WhatisagoodpracticetopromoteamicroservicetoapublicAPI?在观看并阅读了MartinFowler、SamNewman、AdrianCockcroft和SudhirTones的大量文章之后,微服务似乎非常适合我的软件。但是,在深入考虑实施时,存在一些问题:我的软件有一个UI,我们称它为基于Web的组件。该组件需要在内部协调/编排对10-20个不同微服…
    2024-11-161