视频教程
如果你更喜欢观看视频而不是(或除了)阅读文本,本节介绍了一些可以帮助你入门 Kobweb 的外部资源。
否则,你可以随意跳过并继续下一节!
介绍演讲
你可以观看我在 Droidcon SF 24 的演讲,了解 Kobweb 的高层概述。演讲展示了 Kobweb 的功能,介绍了 Compose HTML(Kobweb 的基础),并涵盖了广泛的前端和后端功能。演讲虽然代码较少,但有助于理解框架的结构和能力。
社区
The following videos were created while Kobweb was still in its relative infancy, so they may occasionally introduce concepts that have since been updated.
Most significantly, ComponentStyle
has been renamed to CssStyle, because the feature grew beyond just applying to widgets and is more generally applicable now.
So if you see:
that should now be written as:
Overall, the information provided in these videos will still be helpful for learning and understanding the structure of a Kobweb project.
Stevdza-san
Kobweb 的一位用户 Stevdza-San 创建了免费的入门教程,展示如何使用 Kobweb 构建项目。
Kobweb 入门
这个视频介绍了基本的 Kobweb 概念,并引导你完成从创建简单的(静态布局)站点到在本地机器上导出(然后可以上传到你选择的静态托管提供商)的整个过程。
部署 Kobweb 站点
这个视频基于前一个视频,展示了一些额外的技巧和诀窍,并指导你完成使用免费托管将你的站点部署到互联网的全过程。
构建全栈多平台站点
这个视频演示了如何编写前端和后端逻辑。它还展示了如何编写可以与你的服务器配合使用的独立 Android 前端。(即使你从不打算使用 Android,这个视频仍然值得一看)。
如果你感到困惑,可以先从静态布局站点开始,之后再迁移到全栈站点。这是一个简单的方法。 ( 静态布局与全栈站点)
Skyfish
一个名为 SkyFish 的 YouTube 频道创建了一个关于如何使用 Kobweb 构建全栈站点的教程视频。
构建基于MongoDB服务的全栈网站
This video demonstrates how to build a simple website with a frontend and a backend, using API routes and leveraging a MongoDB instance for persistent data storage.