JatinGupta40 / blog

0 stars 1 forks source link

OOP Implementation #8

Open JatinGupta40 opened 3 years ago

JatinGupta40 commented 3 years ago

Requirement

  1. Implement OOPs in the project.
  2. Using classes, functions, objects.
  3. Connection file needs to get class.
  4. Use arrow functions.

Implementation -

  1. Implemented source file in the class folder that contains all the functions and classes.
  2. Implemented init file in the root folder that calls the source file in the class folder.
  3. Implement a connection file in the class folder that contains the code for connection to the DB.
  4. In the login, registration, editblog, and other pages, the queries syntax is changed with respect to the OOP functionality.