Ajax crud class with medoo class connection

Ajax crud class with medoo class connection

labroskarlabroskar Posts: 2Questions: 0Answers: 0

You might like my implementation on your server side script for ajax data.

I am using Medoo for database connections in my application so used this.
I am using a database constant file for connections so I implemented this in my class as private variables.
I used a singleton pattern to use only one instance of the database connection.
Also I added json import to the database if column data is array (usfull for multiple select2 data)

See it here.

Replies

  • allanallan Posts: 63,210Questions: 1Answers: 10,415 Site admin

    Fantastic - thanks for posting this up.

    Allan

This discussion has been closed.