Giữ nguyên tiếng Anh (dev Việt dùng hằng ngày)
controller, provider, module, middleware, guard, pipe, interceptor, exception filter, decorator, service, repository, handler, route, endpoint, request, response, payload, header, query, param, body, token, cookie, session, cache, queue, job, worker, event, listener, gateway, adapter, transporter, resolver, schema, DTO, entity, ORM, migration, hook, plugin, callback, promise, observable, stream, scope, singleton, instance, metadata, reflection, wrapper, factory, bootstrap, runtime, build, deploy, CLI, monorepo, workspace, library, framework, platform, feature module, root module, shared module, global module, dynamic module
Dịch (kèm tiếng Anh lần xuất hiện đầu tiên trong mỗi file)
| Tiếng Anh | Tiếng Việt |
|---|---|
| dependency injection (DI) | tiêm phụ thuộc (DI) |
| dependency | phụ thuộc / dependency |
| Inversion of Control (IoC) | đảo ngược điều khiển (IoC) |
| IoC container / Nest runtime | IoC container |
| inject | inject / tiêm |
| injection token | injection token |
| injection scope | phạm vi inject |
| route handler | hàm xử lý route (route handler) |
| request lifecycle | vòng đời request |
| execution context | ngữ cảnh thực thi (execution context) |
| lifecycle events / hooks | sự kiện vòng đời / lifecycle hook |
| authentication | xác thực |
| authorization | phân quyền |
| validation | kiểm tra dữ liệu (validation) |
| transformation | chuyển đổi dữ liệu |
| serialization | tuần tự hóa (serialization) |
| exception | exception / ngoại lệ |
| throw | ném (throw) |
| encapsulation | đóng gói |
| circular dependency | phụ thuộc vòng |
| lazy loading | lazy loading (tải lười) |
| binding (guard/pipe…) | gắn (bind) |
| global-scoped / controller-scoped / method-scoped | phạm vi global / controller / method |
| cross-cutting concerns | các mối quan tâm xuyên suốt (cross-cutting concerns) |
| boilerplate | code khung (boilerplate) |
| out-of-the-box | có sẵn |
| under the hood | bên dưới / cơ chế bên trong |
| best practice | best practice / cách làm khuyến nghị |
| use case | trường hợp sử dụng |
| trade-off | đánh đổi |
| hint | gợi ý |
| warning | cảnh báo |
| note | lưu ý |