Java 25: API và Thư Viện Mới
Deep dive vào các API và thư viện mới trong Java 25, bao gồm Scoped Values, Key Derivation Function API, Stable Values, PEM Encodings, và Vector API.
Tất cả bài viết với thẻ "api"
Deep dive vào các API và thư viện mới trong Java 25, bao gồm Scoped Values, Key Derivation Function API, Stable Values, PEM Encodings, và Vector API.
Học cách thiết kế và xây dựng ingestion API cho hệ thống IoT — xử lý dữ liệu device throughput cao, batching, validation, backpressure, và storage strategy với ví dụ thực tế.
Setup project Express + TypeScript từ đầu và build endpoint URL shortening đầu tiên. Bao gồm project scaffolding, folder structure, URL validation, Base62 short codes, redirect handling và error middleware.
Build REST API production-ready với Yii2 — ActiveController cho CRUD tức thì, custom controllers, field serialization, pagination, Bearer token auth, rate limiting, API versioning, và CORS configuration.
Hiểu rõ Cross-Origin Resource Sharing (CORS) từ gốc. Tìm hiểu cách browser enforce same-origin policy, preflight request hoạt động ra sao, và cách configure CORS đúng cách trong Node.js, Express, FastAPI, Spring Boot, và Go.
Xây dựng GraphQL APIs type-safe trong Spring Boot sử dụng Spring for GraphQL. Học định nghĩa schema, queries, mutations, subscriptions, DataLoader ngăn N+1, xác thực, kiểm thử và best practices với ví dụ Java đầy đủ.
Thành thạo phát triển API Node.js production-ready với TypeScript. Học Express.js và Fastify setup, middleware patterns, validation với Zod, error handling, authentication, file uploads, background jobs và logging.
Nắm vững GraphQL: schemas, queries, mutations, subscriptions, resolvers và best practices. Tìm hiểu so sánh GraphQL với REST và khi nào nên dùng.
Làm chủ tài liệu API trong Spring Boot sử dụng SpringDoc OpenAPI. Học cách tự động tạo Swagger UI tương tác, document endpoints với annotations, bảo mật API docs, và tạo tài liệu production-ready.
Nắm vững REST API: HTTP methods, status codes, thiết kế URL, authentication, versioning, pagination và best practices. Hướng dẫn toàn diện cho backend developers.