search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Is it possible to interface with a system that already has an established database?

Asked by Aaron SM
23 days ago.

My webserver has a database already, which contains several tables that all work together to build “appointments”

with the add/edit event handler, is it able to interact someway, via either ajax or something similar, to make changes to these tables to keep the system up to date with the calendar, and vice versa, the calendar be updated to the tables.

Answer posted by Dan Letecky [DayPilot]
22 days ago.

Yes, you can use it with any database structure. You just need to supply the data to DayPilot components in the required structure.

This can be done on the server side quite easily - you need to create a JSON endpoint that returns the data in the right format.

Also, when handling UI event, you need to call your own API endpoint that stores the changes in the database.

I suggest going through the following tutorial which explains how to do that:

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):