EasyEnv
Vibe 编程:从原型到生产
中级第 4 / 12 节30 分钟 · 实操

Working with Data

Vibe 编程:从原型到生产 课程的一部分

上一课,你给基础课程里做的那个项目加上了账户和登录,让它知道用户是谁。现在要给它一个真正存放信息的地方:别人下的订单、写的笔记、选的设置。眼下这些信息多半在应用程序一重启就没了。这一课就要解决这个问题,让你的数据在重启之后依然还在,而且随着量变大也不会散架。跟以往一样,你不用写任何代码。你只负责描述想存什么,代码由 AI 来写。

数据库是一个把信息井井有条地存起来、随时取回来的地方,应用程序关掉再打开,里面的东西照样在。可以把它想成一排贴好标签的文件柜,产品随时能往里写、也随时能读出来。没有数据库,用户做的一切就只存在应用程序的临时内存里,一重启就烟消云散。 ...

想在真实环境里学习 Vibe 编程:从原型到生产 Working with Data 吗?

点击下方,立即获得一台预装 Vibe 编程:从原型到生产 的 Linux 主机,跟懂你代码的 AI 导师一起完成 Working with Data 的实操练习。

开始这节课Working with Data

你将学到什么

  • Choosing a database without overthinking
  • Data models: what you store and what fields each thing has
  • Relationships: how records connect
  • Validation: rules that keep bad data out
  • Backups: keeping copies so data is never lost
  • Data migration: safely changing the shape of stored data

用你的语言阅读本课

本课程的所有课时

12 节
  1. 1Preparing Your Product20 分钟
  2. 2Building a Strong Foundation30 分钟
  3. 3Managing Users and Authentication30 分钟
  4. 4Working with Data30 分钟
  5. 5Keeping Your Product Secure30 分钟
  6. 6Testing Before Release30 分钟
  7. 7Working with Multiple AI Agents20 分钟
  8. 8Deploying to Production30 分钟
  9. 9Monitoring Your Product25 分钟
  10. 10Scaling Your Product20 分钟
  11. 11Maintaining and Improving Your Product20 分钟
  12. 12Running a Real Product45 分钟

探索其他课程

Working with Data - Vibe 编程:从原型到生产 (Chinese) | Engineering Courses