Library Search
结果页Serverless 后端实战
在 元器件 / 技术栈 / 知识库 中找到 16 个匹配结果。
技术栈
技术栈
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' },… 1% Vue ```
src/
api/ # 接口请求
components/ # 公共组件
composables/ # 自定义 hooks
stores/ # Pinia store
views/ # 页面
router/ # 路由配置
utils/ # 工具函数
```
### Step 4: 前后端… 1% 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(… 1% Entity Framework ### 事务
```csharp
using var transaction = await db.Database.BeginTransactionAsync();
try {
db.Orders.Add(order);
db.Inventory.Remove(stock);
await db.SaveChangesAsync();
await transacti… 1% 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%
知识库
知识库
8 个 Serverless 后端实战 # Amazon DynamoDB 从零到实战:Serverless 后端
## 1. 背景与概念
### 1.1 DynamoDB 设计哲学
DynamoDB 继承自 Amazon 的 Dynamo 论文,核心理念:
- **永远可写**(Always Writable):无主从切换
- **最终一致**:默认最终一致,可选强一致
- **单表设计**:不像 SQL 多表 JOIN,最佳… 3% Express 毕设实战 — 中间件与 RESTful 设计 # Express 毕设实战 — 快速搭建后端 API
## 前言
Express 是 Node.js 最经典的 Web 框架,没有之一。它足够简单,但配合中间件生态能构建企业级应用。毕选用 Express 的最大优势是 **快**:从零到能演示的 API 只需一个晚上。
## 第一章:中间件机制 — Express 的灵魂
Express 的核心就是 **中间件管道**。每个请求依次经过所… 2% WebSocket 实时聊天室 — ws 库实战 # Node.js WebSocket 实时聊天室
## 目标
使用 `ws` 库构建多人在线聊天室,演示 Node.js 的事件驱动模型在实时通信中的优势。
## 完整代码
```javascript
// server.js
const WebSocket = require('ws');
const http = require('http');
const fs = require(… 2% Node.js 毕设实战 — 从入门到答辩 # Node.js 毕设实战教程
## 前言
Node.js 是大学毕设的热门选择,因为它一门语言打穿前后端。本教程将带你从零构建一个完整的毕设后端。
## 第一章:理解事件循环
Node.js 的核心是 **事件循环(Event Loop)**。与传统的多线程模型不同,Node.js 用单线程处理所有请求:
```
请求1 ──→ [Event Loop] ──→ 非阻塞I/O ──… 2% 02-进阶实战-WebSocket-后台任务-部署 # FastAPI 进阶实战 —— WebSocket、后台任务与部署
## 本章目标
- 实现 WebSocket 实时通信
- 使用 BackgroundTasks 处理异步后处理
- FastAPI + Celery 重型任务
- Docker + Nginx + Uvicorn 生产部署
## 1. WebSocket 实时通信
```python
from fastapi imp… 1% 入门篇 - Angular毕设项目架构 constructor(private api: ApiService) { }
}
```
```html
<!-- 用 async 管道自动订阅 -->
<div *ngFor="let s of students$ | async">{{ s.name }}</div>
```
---
## 毕设常见场景
### 管理后台
- Angular Material + 表格排序分页
-… 1% 入门篇 - jQuery毕设快速开发 ```javascript
// GET
$.get('/api/students', function(data) {
data.forEach(s => {
$('#list').append(`<li>${s.name}</li>`);
});
});
// POST
$.post('/api/students', { name: '张三', major: 'CS' },… 1% 入门篇 - Vue 3 毕设实战 ```
src/
api/ # 接口请求
components/ # 公共组件
composables/ # 自定义 hooks
stores/ # Pinia store
views/ # 页面
router/ # 路由配置
utils/ # 工具函数
```
### Step 4: 前后端… 1%