Codeigniter MongoDB CRUD Example

Introduction Here we will see Codeigniter MongoDB CRUD example, where CRUD means Create, Read, Update and Delete. So basically we will perform creating new user, reading users/user, update existing user and deleting existing user operations into MongoDB. MongoDB is one of the widely used NoSQL(Not only SQL) database in market today. MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. Often we come across a situation where we end up using MongoDB with PHP based framework Codeigniter.

Continue

WebSocket on Spring MongoDB Reactive Programming

Introduction Here we will see an example on WebSocket on Spring MongoDB Reactive Programming. In past we have see few examples on WebSocket but this example will use Spring WebFlux, i.e., WebSocket on Spring Reactive API. WebFlux includes reactive WebSocket client and server support. Both client and server are supported on the Java WebSocket API (JSR-356), Jetty, Undertow, Reactor Netty, and RxNetty. On the server side, declare a WebSocketHandlerAdapter and then simply add mappings to WebSocketHandler-based endpoints.

Continue

Spring MongoDB Functional Reactive Microservices Example

Introduction In this three pages post we will see how to create Spring MongoDB Functional Reactive Microservices Example. We are going to use here Spring 5’s Webflux API. We will also see here how to use Flux and Mono with ServerResponse, ServerRequest in Handler function. We will know how to use RequestPredicates in Router function in subsequent sections. We will use Spring Cloud, Eureka server and Ribbon for implementing our example. If you want to know about reactive or functional reactive programming then you need to go through Spring Boot…

Continue

Spring Boot MongoDB Functional Reactive CRUD Example

Introduction We will see here Spring Boot MongoDB Functional Reactive CRUD Example. We have seen our previous example on Spring Boot Functional Reactive Programming but we did not use any persistent storage like MongoDB but here we are going to use MongoDB for performing CRUD operations. We are going to use Spring 5’s Webflux API with reactive stream to implement our Spring Reactive program. This is a Spring Reactive programming example implemented in a functional way using Java’s lambda expression. If you want to know detail on Reactive Programming or…

Continue

Angular + Spring Boot MongoDB CRUD Example

Introduction In this post we will create Angular + Spring Boot MongoDB CRUD Example. In my previous tutorial on Spring Boot MongoDB CRUD Example, we did not have any UI or front-end, so we had to test out application using REST client but here we will use Angular on front-end side so that we can easily make this application as a full-stack and deliver to the end users for performing real time activities. Prerequisites Spring Boot MongoDB CRUD Example Angular 7 Now we will see how to implement Angular +…

Continue

Angular + Python Flask REST API MongoDB CRUD Example

Introduction In this post we will see Angualr + Python Flask REST API MongoDB CRUD Example. We will use our existing tutorial on Python Flask REST API MongoDB CRUD Example for server side and we will introduce Angular on UI or front end side. You can also use any UI technologies, such as React JS, HTML, JavaScript, jQuery etc., for front end to suit your requirements.

Continue

Spring Boot MongoDB CRUD Example

Introduction Here we will see a post on Spring Boot MongoDB CRUD example, where CRUD means Create, Read, Update, and Delete operations. For performing CRUD operations on MongoDB through Spring Boot framework, we need to add required dependency. We will use Spring REST controller to expose our MongoDB CRUD operations onto REST or RESTful API. You may also like to read Spring Boot Data JPA CRUD Example, Python Flask REST API MongoDB CRUD Example.

Continue