Summary
By examining this drag-and-drop library, you have explored new concepts. Drag and drop now becomes a viable way for the user to communicate with the PHP application on the back end. You have seen how to track mouse movement. You have seen how to handle mouse events and, if you look at the util.js file, scrolling events as well. You have seen how to more securely link the events in and data sent from the user interface to the database on the back end using variable binding for the SQL. You have been exposed to the Document Object Model and have seen how to detect where any element is actually being displayed and what its display size is. These elements are required to create any type of drag-and-drop functionality, but they can also be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access