Configure PHP 7 and SQlite3 in Windows

Introduction In this tutorial I am going to show you how to configure PHP 7 and SQLite3 in Windows environment. By default SQLite3 extension comes with PHP 5.3.0 or higher version of PHP. So you don’t need to download it. SQLite3 is not enabled by default in Windows environment. So you must enable it before you use it. Why do you need SQLite? SQLite, can also be used as an in-memory database, a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the…

Continue

REST API CRUD Example in PHP, MySQL

In this tutorial I am going to show you how we can work with RESTful webservice or REST webservice in PHP PDO, MySQL. Introduction The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web service is implemented using HTTP and the principles of REST. Typically, a RESTful Web service should define the following aspects: The base/root URI for the Web service such…

Continue