Be yourself; Everyone else is already taken. — Oscar Wilde. This is the first post on my new blog. I’m just getting this new blog going, so stay tuned for more. Subscribe below to get notified when I post new updates.
Author Archives: David Cheah
Introduce Yourself (Example Post)
This is an example post, originally published as part of Blogging University. Enroll in one of our ten programs, and start your blog right. You’re going to publish a post today. Don’t worry about how your blog looks. Don’t worry if you haven’t given it a name yet, or you’re feeling overwhelmed. Just click the …
What is Regex?
Introduction Regex or regular expression is a sequence of character that defines a search pattern for a string. Imaging given a string, we need to write a program in Java to differentiate between “A2”, “ABC”, “123”, “-123”, “-123.123”, “123.123” or “1 2 3”. Without regex, it would be hassle implement brute force type of checking …
How to do MultiThreading in Java?
What is process and thread? A process usually refers to a program in execution whereas a thread is part of process. A thread is the smallest part of process (light weight process)that can run concurrently with other threads. How to create a thread? Extend Thread class NOTE: You will not be able to extend to another class after …
How to work with Java Collections?
Introduction Collections in Java is a framework that provides architecture to store and manipulate data. 👉 (BONUS) Array-based Coding Interview Question at the end! Hierarchy Iterable Interface This interface is the root interface in Collection framework. It is extended by Collection interface. It contains method: Iterator<E> iterator() which returns iterator over elements in the list. Collection …
How to work with Servlet, JSP and JDBC?
A servlet is a Java class that can be loaded dynamically into and run by special web server called the servlet container — most popular one is Tomcat. Servlets interact with clients via request-response model based on HTTP (HTTPS also supported). A servlet can serve static content such as HTML pages and images file, but it would …
How to use Python with MySQL
What is Python? Well, it is a high-level and general-purpose programming language that can be used for web development, data science and scripting. According to TIOBE index, Python is ranked top 10 most popular programming language. In this article, I will be sharing how we can use Python to interact with MySQL database. Python Setup …
Flutter : How to do CRUD with Firebase RTDB
Introduction In previous post of Flutter : How to do user login with Firebase, we talked about how to implement user login or sign up screen with Firebase authentication. Using the same project, we are going to showcase CRUD or create, read, update and delete operations with Firebase RTDB or real time database in this post. …
Continue reading “Flutter : How to do CRUD with Firebase RTDB”
How to use cloud function between Android and Firestore with HTTP
Firebase offers a wide range of solutions that help you easily integrate features such as user authentication and database query into your mobile and web application seamlessly. Although integrating Cloud Firestore directly into your mobile app client may seem hassle-free to interact with database, this may pose security risk as your app could manipulated to …
Continue reading “How to use cloud function between Android and Firestore with HTTP”
Flutter: How to do CRUD with PostgreSQL? Part 2
I am going to share today some exciting topics such as : How to build RESTful api on web server using Dart and Aqueduct with integration of Postgresql. How to build Flutter mobile app and perform basic CRUD functions with Aqueduct application. 👈 You are here From the previous post, I have shared how to setup …
Continue reading “Flutter: How to do CRUD with PostgreSQL? Part 2”