In the previous post we talked about the singleton design pattern, but generic, now let’s take a look at one of the most important behavioral designs out there, which is Observer design pattern, used in event handling for example.
it’s a way to instantiate one and only instance of a class, imagine you want to code a chat room application, and you know that all users should be connected and use the same room, in this case you should have one and only instance of Room class, even if other coder in another module tries to instantiate the class Room, he or she will get the same instance as you, So this is Why Singleton design pattern. But can we make it general, I mean make a template that can take any other class and generate for you a…
SQLite is a open source project and it’s type of database management system for mobile devices in the form of a library written in C language that offers a relational database engine accessible using SQL language.
SQLite is built into every Android device. Using an Android SQLite database doesn’t require any configuration or administration of the database.
let’s make this article quick i’m going to use android studio IDE:
First thing to do is create a java class that content all methods and parameters to create a connection with your sqlite system.
Go to your package work in your app/java…
npm install — save ngx-typed-js
software engineer, Eager to learn new things. ✌🏼