Posts

Showing posts with the label REST

PHP MySQL REST API CRUD Tutorial

Image
PHP MySQL REST API CRUD Tutorial Introduction         I was looking for a simple Full Stack PHP CRUD REST API Tutorial online, but there was not one tutorial which had both the UI and the REST APIs together. In most of the tutorials either the UI only is explained or else the REST APIs are explained without the UI. Hence I decided to come up with a simple post on this which can be used as a base to build your own full stack PHP app.         In this post, we will build an Employee Dashboard App which can be used to view, create, update and delete Employee Data. We will be building the corresponding CRUD APIs.  PHP         PHP (Hypertext Preprocessor), originally stood for “Personal Home Page” and is a scripting language used for web development. Advantages of PHP include: State: Each and every web request starts from a completely blank slate. Concur...

Spring Boot MySQL Integration Tutorial

Image
Spring Boot MySQL Integration Tutorial Introduction         I was searching online for a complete tutorial on Spring Boot integration with MySQL database with all the CRUD operations and I was surprised that I could not find even one. The ones I found had just create and read operations or only view operation. Even the example on the official Spring website:  Accessing data with MySQL , has only create and view database operations. Hence I have come up with this post to give you a comprehensive overview of all the CRUD operations. I have also integrated HikariCP to the Spring Boot application. This will give you an optimized connection pooling. Please feel free to use my application as a base to build your own application. I am assuming that you have a Basic Knowledge of Spring Boot and have a Basic Spring Boot Application running in your machine. If not, please check my blog on Basic Spring Boot Application by going to the link:  Spring Boot Tutori...

Dropwizard Aerospike Tutorial

Image
Dropwizard Aerospike Tutorial Introduction         I was searching online for an end to end Dropwizard Aerospike Integration tutorial and I could not find even one. Dropwizard and Aerospike are being used extensively in many startups and other technology giants but there is not a single end to end tutorial online. Hence I decided to come up with this post. This post will give you a comprehensive overview of Dropwizard and Aerospike Integration. The use case that I am trying to address in this post is to call Aerospike from a RESTful Web Service. Aerospike can be used in multiple use cases, however in this post I am using it as a cache on top of a database so that I can retrieve the data that I frequently use, efficiently and much faster than retrieving it from the database. In this post, to keep things simple, I am not using a database instead I am creating and using a HashMap as my database.  ...