databases

An Introduction to MongoDB — SitePoint – Website Design Article

MongoDB is a cross-platform, open-source, NoSQL database, used by many modern Node-based web applications to persist data. In this beginner-friendly tutorial, I’ll demonstrate how to install Mongo, then start using it to store and query data. I’ll also look at how to interact with a Mongo database from within a Node program, and also highlight some of the differences between Mongo and a traditional relational database (such as MySQL) along the way. What Is MongoDB? MongoDB is a document-oriented database.…

Read More

Thinking in React Hooks: Building an App With Embedded Analytics – Website Design Article

Get hooked on React Hooks You may have noticed that React Hooks, introduced in the React’s 16.8.0 release, have been received by the web dev community very diversely. Some warmly embraced this new way to reuse stateful logic between components, while some strongly criticized it. One thing can be said for sure — React Hooks are an incredibly hot topic now. This is confirmed by the number of articles, tutorials, video courses, and project samples on the subject. My goal…

Read More

Create an Offline-first React Native App Using WatermelonDB — SitePoint – Website Design Article

React Native has different database storage mechanisms for different mobile app purposes. Simple structures — such as user settings, app settings, and other key-value pair data — can be handled easily using async storage or secure storage. Other applications — such as Twitter clones — fetch data from the server and directly show it to the user. They maintain a cache of data, and if a user needs to interact with any document, they call the APIs directly. So not…

Read More