本页还没有译文
本页 8 段还没译成简体中文,下面显示的是英文原文。Philosophy
还没翻译译自英文(hono.dev)本页 8 段都还没译
模型写的
背景主张结果
Motivation
Hono 的诞生是为了填补 Cloudflare Workers 上的空白
At first, I just wanted to create a web application on Cloudflare Workers. But, there was no good framework that works on Cloudflare Workers. So, I started building Hono.But, there was no good framework that works on Cloudflare Workers. So, I started building Hono.因为没有好的框架能在 Cloudflare Workers 上运行,所以开始构建 Hono 作者想在 Cloudflare Workers 上创建 Web 应用,但找不到合适的框架,于是开始构建 Hono因为没有好的框架能在 Cloudflare Workers 上运行,所以开始构建 HonoCloudflare Workers
I thought it would be a good opportunity to learn how to build a router using Trie trees. Then a friend showed up with ultra crazy fast router called "RegExpRouter". And I also have a friend who created the Basic authentication middleware.I thought it would be a good opportunity to learn how to build a router using Trie trees. Then a friend showed up with ultra crazy fast router called "RegExpRouter". And I also have a friend who created the Basic authentication middleware.构建 Hono 最初是学习 Trie 树的机会,后来朋友提供了快速路由和中间件 作者借此学习 Trie 树,随后朋友提供了 RegExpRouter 和基本认证中间件构建 Hono 最初是学习 Trie 树的机会,后来朋友提供了快速路由和中间件Trie 树
Using only Web Standard APIs, we could make it work on Deno and Bun. When people asked "is there Express for Bun?", we could answer, "no, but there is Hono". (Although Express works on Bun now.)Using only Web Standard APIs, we could make it work on Deno and Bun. (Although Express works on Bun now.)仅使用 Web 标准 API,Hono 可在 Deno 和 Bun 上运行 因此当被问及 Bun 是否有 Express 时,可以回答"没有,但有 Hono",尽管 Express 现在也能在 Bun 上运行仅使用 Web 标准 API,Hono 可在 Deno 和 Bun 上运行Web 标准 API
We also have friends who make GraphQL servers, Firebase authentication, and Sentry middleware. And, we also have a Node.js adapter. An ecosystem has sprung up.We also have friends who make GraphQL servers, Firebase authentication, and Sentry middleware. And, we also have a Node.js adapter. An ecosystem has sprung up.Hono 周围已兴起生态系统,包括 GraphQL、Firebase 认证、Sentry 和 Node.js 适配器 朋友们贡献中间件和适配器,使 Hono 功能更强大Hono 周围已兴起生态系统,包括 GraphQL、Firebase 认证、Sentry 和 Node.js 适配器生态系统
In other words, Hono is damn fast, makes a lot of things possible, and works anywhere. We might imagine that Hono could become the Standard for Web Standards.In other words, Hono is damn fast, makes a lot of things possible, and works anywhere. We might imagine that Hono could become the Standard for Web Standards.Hono 非常快、能实现很多事、且在任何地方运行,可能成为 Web 标准的标准 作者设想它可能成为 Web 标准的标准Hono 非常快、能实现很多事、且在任何地方运行,可能成为 Web 标准的标准Hono