Deepkit Framework the new high-performance and real-time TypeScript framework for sophisticated isomorphic TypeScriptapplications.
Deepkit Framework consists of many high-performance TypeScript components aka packages, that can be used alone or incombination with the framework.
Deepkit Framework is all about high-performance:
The economic advantage of isomorphic TypeScript projects (frontend and backend written with TS) is enormous and DeepkitFramework wants to utilize this advantage to its fullest.
Deepkit is currently in an alpha state but is already extremely feature rich and used in production. You are encouraged to start building applications with the framework but some public APIs are still subject to change. The team is working hard towards a stable beta release.
Check out the Deepkit Documentation to get started.
@deepkit/type: Runtime type system with the fastest serializer for TypeScript, ultra-fast validation, and typereflection system. The heart of Deepkit that interoperates with all following packages in the most efficient way. Useone schema/model definition for your whole application stack: Database, DTO, RPC, message queue, frontend, and more.
@deepkit/framework: A command line framework to write command line tools using a dependency injection container andsimple classes.
@deepkit/framework: High-Performance HTTP/RPC server, HTTP Router, typesafe module&configuration system, typesafeHTML template engine, Dependency-Injection, Debugger, CLI. Uses @deepkit/type for module configuration schema definitionand router parameter/body schema definition.Example application.
@deepkit/orm: The fastest ORM for TypeScript with data-mapper/active-record pattern, UnitOfWork/IdentityMap,typesafe QueryBuilder, full returning/relations/join support, atomic patches, and SQL migrations. SQLite, PostgreSQL,MySQL, and MongoDB support. Uses @deepkit/type for schema definition.
@deepkit/orm-browser: A data browser for @deepkit/orm allowing to modify entity data directly in the browser withsupport for migrations, query prompt (think MongoDB GUI), ER model diagram, and migrations.
@deepkit/rpc: Highly configurable high-performance RPC server for TypeScript, with support for auto-inferring returnand parameter types (no code-generation needed), stream support using RxJS Observables, binary protocol with ability totrack download/upload progress, peer2peer communication, and live entity/collections. Uses @deepkit/type for typedeclaration.
@deepkit/broker: High-Performance typesafe message bus server for pub/sub pattern, key-value storage, and centralatomic app locks.
@deepkit/desktop-ui: Angular UI framework for desktop applications.
@deepkit/workflow: A workflow library to implement atomic workflow transitions with a dispatcher pattern.
@deepkit/event: Asynchronous event dispatcher for Typescript using decorators and classes..
@deepkit/http: Powerful and fast http library for building server side applications
@deepkit/logger: A logger library with support for colors, scopes, various transporter and formatter.
@deepkit/injector: A compiling high-performance dependency injection container, with constructor/property injection,type-safe configuration system, compiler-passes, scopes, and tags.
@deepkit/topsort: A fast implementation of a topological sort/dependency resolver with type grouping algorithm.
@deepkit/template: A fast template engine based on TSX, with support for dependency injection container and asynctemplates.
@deepkit/bson: Fastest BSON parser and serializer. 13x faster than official bson-js/bson-ext, and 2x faster thanJSON. Uses @deepkit/type for schema definition.
@deepkit/mongo: MongoDB client for modern TypeScript: Full async error stack trace, BigInt support, and bestperformance possible.
@deepkit/type-angular: Use @deepkit/type schemas directly in Angular Forms, making form validation much easier.
If you are interested in contributing to the development of Deepkit, check out the Development Docs to learn more about setting up your local development environment.
问题内容: 似乎每当我更改模型时,Play Framework都会要求我运行一个脚本,该脚本将删除整个架构并重新创建它。显然,这不适用于生产,那么在生产中处理此问题的正确方法是什么? 注意,我正在使用ebean和Postgres,并在heroku上托管。 问题答案: 不幸的是,只能创建 (不能创建)(如其组中所述),因此您需要尽快切换到手动演化。 一些规则: 在进行任何更改之前,请始终备份活动数据
问题内容: 是否有可能做到这一点 ?目前,它是这样完成的: 有没有办法像通过@Value批注获取属性? 因为必须调用该方法通常很好,但是例如在进行单元测试时,这很麻烦……在某些情况下,webdriver的PageObject模式中的对象没有初始化,这将非常有帮助 问题答案: 关键是,这仅对单元测试有用。在实际应用程序中,语言环境是无法在注释中进行硬编码的运行时信息。语言环境是根据运行系统中的用户语
问题内容: 我正计划开始一个新项目,并正在研究当前最新的Java Web框架。我决定围绕Guice构建我的应用程序,并可能使用非常轻量级的ORM,例如Squill / JEQUEL / JaQu或类似的东西,但是我不能决定Web框架。在如此轻巧的环境中,哪一个最合适?哪一个与Guice集成得最好? 问题答案: 我在11月开始为一个新项目进行编程时,已经在该主题上积累了一些经验。该项目现在处于后期。
问题内容: 假设我在Spring单例bean (简化代码)中进行了一些初始化: 我应该担心其他豆的可见性并对其进行标记吗? (假设我无法在构造函数中初始化它) 第二种情况:如果我 覆盖 in的值(例如在显式初始化或构造函数中的初始化之后),那么 将不会首先写入 该属性怎么办? 问题答案: Spring框架与Java编程语言无关,它只是一个框架。因此,通常,您需要将不同线程访问的非final字段标记
问题内容: 我喜欢玩!与其他企业Java框架相比,开发人员使用起来非常简单。但是,它是如何做到的呢?是什么使得使用Java之类的编译语言进行编辑- 刷新循环成为可能?是什么让Play!以其工作方式工作? 问题答案: Play使用Eclipse编译器在运行时编译代码。 看一看以下类,Play使用它来在运行时执行必要的编译。 https://github.com/playframework/play/
问题内容: 我需要显示照片库。所以这是我的模板: 这是我的控制器方法: 这是我的Photo bean: 我将照片绝对路径放在img节点的src属性中,但是不起作用。实现此目标的最佳方法是什么? PS:图像位于播放应用程序之外。 看一下我的非常类似的问题:从Play目录结构外部直接提供文件,最后我在非常基本的示例中使用了第二个建议,它可以显示为: 路由(使用星号with 允许内部带有斜杠的字符串):