书栈网 · BookStack 本次搜索耗时 0.029 秒,为您找到 76 个相关结果.
  • 安装drogon

    系统要求 依赖库 系统准备范例 Ubuntu 18.04 环境 jsoncpp uuid OpenSSL zlib CentOS 7.5 环境 jsoncpp uuid OpenSSL zlib MacOS 环境 升級gcc jsoncpp uuid OpenSSL zlib Windows 环境 包管理器 ...
  • Install drogon

    System Requirements Library Dependencies System Preparation Examples Ubuntu 18.04 Environment jsoncpp uuid OpenSSL zlib CentOS 7.5 Environment jsoncpp uuid OpenSSL zlib...
  • drogon_ctl命令

    version子命令 create子命令 视图创建 控制器创建 过滤器创建 创建工程 创建模型 压力测试 12 AOP面向切面编程 Drogon 框架编译安装后,一个命令行程序drogon_ctl也同时被安装于系统,为了方便,还安装了一个完全一样的副本dg_ctl。用户可以按喜好自行选用。 该程序目前的主要功能是为了方便用户创建各种...
  • drogon的线程模型

    Understanding Drogon’s threading model 事件循环和线程 网络IO 事件循环死锁 高速数据库客户端 使用协程 总结 Understanding Drogon’s threading model drogon 是一个快速的 C++ Web 应用程序框架,部分原因是没有抽象化底层线程模型并把它们包裹起来。 然...
  • drogon_ctl Command

    Version subcommand Create sub command View creation Controller creation Filter creation Create project Create models Stress Testing 12 AOP After the Drogon framework i...
  • Understanding drogon’s threading model

    Understanding Drogon’s threading model Event loops and threads Network IO in practice Deadlocking the event loop Fast DB clients Coroutines to the rescue TL;DR Understandi...
  • Redis

    Creating a client Using Redis Transaction Coroutines Drogon supports Redis, a very fast, in-memory data store. Which could be used as a database cache or a message broker. Lik...
  • Quick Start

    Static Site Dynamic Site 04.0 Controller Introduction Static Site Let’s start with a simple example that introduces the usage of drogon. In this example we create a project ...
  • 快速开始

    静态网站 动态网站 04.0 控制器简介 静态网站 我们从一个最简单的例子开始,介绍drogon的使用,在这个例子中我们使用命令行工具drogon_ctl创建一个工程: drogon_ctl create project your_project_name 进入工程目录,可以看到如下文件: ├── build ...
  • Redis

    创建客户端 使用Redis Redis 事务 协程 Drogon 支持 Redis,Redis是一种非常快速的内存数据存储。 可以用作数据库缓存或消息代理。 与 Drogon 中其他组件一樣,Redis的操作是异步的。 这确保了 Drogon 即使在重负载下也能以非常高的并发性运行。 Redis 支持依赖于hiredis 库。 如果在构建 Dr...