Library Search
结果页

Serverless 后端实战

在 技术栈 中找到 8 个匹配结果。

返回文档库
技术栈

技术栈

8 个
查看全部
Amazon DynamoDB # Amazon DynamoDB 从零到实战:Serverless 后端 ## 1. 背景与概念 ### 1.1 DynamoDB 设计哲学 DynamoDB 继承自 Amazon 的 Dynamo 论文,核心理念: - **永远可写**(Always Writable):无主从切换 - **最终一致**:默认最终一致,可选强一致 - **单表设计**:不像 SQL 多表 JOIN,最佳… 2% Express # Express 毕设实战 — 快速搭建后端 API ## 前言 Express 是 Node.js 最经典的 Web 框架,没有之一。它足够简单,但配合中间件生态能构建企业级应用。毕选用 Express 的最大优势是 **快**:从零到能演示的 API 只需一个晚上。 ## 第一章:中间件机制 — Express 的灵魂 Express 的核心就是 **中间件管道**。每个请求依次经过所… 2% jQuery ```javascript // GET $.get('/api/students', function(data) { data.forEach(s => { $('#list').append(`<li>${s.name}</li>`); }); }); // POST $.post('/api/students', { name: '张三', major: 'CS' },… 2% Vue ``` src/ api/ # 接口请求 components/ # 公共组件 composables/ # 自定义 hooks stores/ # Pinia store views/ # 页面 router/ # 路由配置 utils/ # 工具函数 ``` ### Step 4: 前后端… 2% gRPC // Unary func (s *server) Add(ctx context.Context, req *pb.AddRequest) (*pb.AddResponse, error) { return &pb.AddResponse{Result: req.A + req.B}, nil } // Server Streaming func (s *server) Fibonacci(… 2% Entity Framework ### 事务 ```csharp using var transaction = await db.Database.BeginTransactionAsync(); try { db.Orders.Add(order); db.Inventory.Remove(stock); await db.SaveChangesAsync(); await transacti… 2% Spring Boot Spring Boot 配置加载优先级(从高到低): 1. 命令行参数 2. 操作系统环境变量 3. application-{profile}.properties(外部) 4. application.properties(外部) 5. application-{profile}.properties(classpath) 6. application.properties(classpath… 1% NestJS # NestJS 毕设实战 — 企业级架构入门 ## 前言 如果你想让毕设代码看起来「专业」,NestJS 是最佳选择。它的模块化、依赖注入、装饰器风格让代码整洁且可测试。面试时拿出 NestJS 项目,面试官会眼前一亮。 ## 第一章:理解依赖注入(DI) NestJS 的核心是 **IoC 容器**(控制反转)。你不需要手动 `new` 对象,容器自动帮你组装: ```typescri… 1%