Archives: Javascript
Using the IndexedDB API with Javascript in 2024
July 26, 2023 | By David Selden-TreimanIndexedDB is a powerful, client-side storage API designed for modern web applications. It offers a way to store significant amounts of structured data, including files and blobs, right in the user's browser. IndexedDB operates asynchronously, ensuring your web app’s performance is not hindered. It is ideal for applications requiring in-browser data persistence, such as offline-first apps.
The Web Storage API: Local & Session Storage in 2024
July 26, 2023 | By David Selden-TreimanThe Web Storage API provides a way for web applications to store data in a user's browser. It helps create a more personalized, seamless user experience by remembering users' inputs, preferences, and previous activity.
Using the Shadow DOM in 2024
July 25, 2023 | By David Selden-TreimanThe Shadow DOM is a powerful web standard that allows developers to encapsulate HTML, CSS, and JavaScript within custom web components. It offers style and script isolation, preventing clashes with the rest of a web page's code. By using the Shadow DOM, developers can create more modular, maintainable, and conflict-free web applications.