API Fundamentals
An Application Programming Interface or API is a defined way for one software component to request data or actions from another. In modern integration work, APIs are one of the most common connection mechanisms because they are explicit, reusable, and easy to document compared with ad hoc file exchange.
A typical API interaction includes:
- An endpoint or address
- A request with parameters or payload
- A response with data or status
- Rules for authentication, errors, and versioning
In many BSIT courses, students first encounter APIs through web systems. For example, a payment service may expose an endpoint to verify a transaction, while an LMS may expose an endpoint to create user access. When these APIs are well-designed, integration becomes more predictable.
Good API design values clarity. A consumer should know what a service does, what it expects, and what it returns. Unclear or inconsistent APIs create integration defects even when the backend logic is correct.
Service Orientation and Microservices
In service-oriented design, a system exposes functionality as services that other systems can use. Examples include a student profile service, payment validation service, or inventory lookup service. The idea is to encapsulate a capability and make it reusable.
Microservices are a more fine-grained style where applications are split into small services that can be deployed independently. This can improve agility when teams are large and systems change often. However, it also introduces complexity in deployment, monitoring, data ownership, and communication.
For students, the important lesson is this: microservices are not automatically the mature solution. They are useful only when justified by the scale and operational reality of the organization.
A practical design principle here is loose coupling. Each service should expose a stable contract and avoid knowing too much about the internal design of another service.
Contracts, Versioning, and Error Handling
ProReviewer — locked
Drills, code labs, and full solutions.
Practice & Exam Drills — Lesson 5
ProReviewer — locked
Drills, code labs, and full solutions.