Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Learn REST APIs development in Core PHP Tutorials for Beginners #3 Database Table | Connection



In this video we’ll see:

PREPARATION OF DATABASE TABLE | DATABASE CONNECTION ESTALISHMENT

We need to 2 Basic Tools:
====================

1. Postman Extension or Software :
a) The Collaboration Platform for API Development.
b) Postman is currently one of the most popular tools used in API testing.
c) Postman helps us to be more efficient while working with APIs.

2. Code Editor (User Choice)
Atom Editor, Netbeans, Sublime, Notepad++, Eclipse, Visual Code etc…

ONLY THESE 2 TOOLS WE WANT TO LOCALSYSTEM FOR API DEVELOPMENT, THAT’s it.

Application Folder Structure:
======================

1. Project Folder

/config (database connection file)

database.php

/classes (class file for module CRUD operations)

student.php

/v1 (Files which will be called via postman)

create.php, read.php, single-student.php, update.php, delete.php

POSTMAN CHORE EXTENSION TOOL LINK
https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en

SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor

Other Tutorials
===============
Wordpress Customizations:
———————————
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more…

Javascript framework:
———————————-
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh

PHP Frameworks:
———————————-
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G

Tags:
———————————-
REST api development tutorial for beginners,
PHP api development tutorials for beginners,
API development in PHP,
PHP rest api development fro scratch,
api development tutorials in php
rest api development from scratch,
php apis development,
complete guide for developing rest apis in php,
REST apis beginners tutorials in php
step by step apis development in php for beginners,
online web tutor api development tutorials in php,
online web tutor sanjay,
online web tutor

Thanks
Online Web Tutor
Keep learning and Sharing 🙂

Support site by sharing this post

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn
Share on reddit
Reddit
Share on tumblr
Tumblr
Share on stumbleupon
StumbleUpon
10 comments
  1. <br />
    <b>Fatal error</b>: Uncaught Error: Call to undefined method mysqli_stmt: :excute() in D:xampphtdocsrest-api-phpclassesstudent.php: 37
    Stack trace:
    #0 D:xampphtdocsrest-api-phpv1create.php(27): Student-&gt;create_data()
    #1 {main
    }
    thrown in <b>D:xampphtdocsrest-api-phpclassesstudent.php</b> on line <b>37</b><br />

    pls explaine how to solve this error

  2. Hi
    I dont have password for my db and warning is coming that "mysqli::__construct(): (HY000/1045): acess denied for user 'task_home'@'localhost' (using password:YES) " here task_home is db name

Leave a Reply

Your email address will not be published. Required fields are marked *