Remote Calendar Demo

This sample uses a simple PHP (5.3+) / Ajax implementation to demonstrate the ease with which you can hook a CalendarPanel up to a server API. In fact, the only differences from the other local examples are in the store — giving it a remote proxy and defining the Ajax API). The PHP code uses a MySQL database for storage, allowing you to refresh the page without losing data.

The calendar will automatically handle server errors, either via remote validation (returning 'success': false in the response) or non-200 HTTP response codes. If an event editor is visible it will remain visible, and if an event was changed directly via a context menu or drag-and-drop the change will not be applied.

View the source