Home
home
API stands for Application Programming Interface.
A Web API is an application programming interface for the Web.
A Browser API can extend the functionality of a web browser.
A Server API can extend the functionality of a web
Introduction
API stands for Application Programming Interface.
A Web API is an application programming interface for the Web.
A Browser API can extend the functionality of a web browser.
A Server API can extend the functionality of a web
Example
const myElement = document.getElementById("demo");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
myElement.innerHTML = "Geolocation is not supported by this browser.";
}
}
Key Differences Between DBMS and RDBMS
| Feature | DBMS | RDBMS |
|---|---|---|
| Data Storage | Stores data as files or in hierarchical/navigational forms. | Stores data in tabular form (tables with rows and columns). |
| Relationships | Usually has no built-in relationship between data elements. | Tables are linked using keys (primary and foreign keys). |
| Normalization | Normalization is generally not present. | Uses normalization to reduce data redundancy. |
| Data Volume | Best for small amounts of data and single users. | Designed to handle large volumes of data and multiple concurrent users. |
| Codd's Rules | Does not satisfy all of Codd's 12 rules. | Aims to satisfy all 12 Codd rules for relational data. |
| Examples | XML, Windows Registry, FoxPro, dBase. | MySQL, PostgreSQL, Oracle, SQL Server. |