AJAXify_Interface
William Desportes edited this page Apr 6, 2019
·
6 revisions
A list of tasks and discussion for enhancing phpMyAdmin with AJAX. Partially implemented with the Google Summer of Code 2010 project AJAXify the phpMyAdmin Interface.
- confirmLink(): done
- confirmQuery()
- checkSqlQuery()
- addEvent()
- removeEvent()
- getElementsByClassName()
- showDetails()
- Create table (show in a popup dialog): done
- Change Password (will also affect user_password.php): done
- Create a New Database (will also affect db_create.php): done
- Add a new user: done
- Revoke a user (and also drop databases with same name as user): done
- Edit privileges: done
- Export privileges: done
- Paginate table of users: done
- Flush privileges: done
- Add a new user: done
- Create table: done
- Rename Database: done
- Copy Database: done
- Change Collation: done
- Clicking on Insert for a table (will help user inserting for multiple tables from one place): done
- Page navigation: done
- Actions on multiple rows:
- Change - done
- Export - In export we have to save the results for a file. We can do that by setting the header parameter "Content-Disposition: attachment; filename="." in non ajax response and browser will save the data to the file. But in ajax, even though we set the parameter correctly the browser does not save the content for a file.
Refer :
https://stackoverflow.com/questions/2186562/post-to-server-receive-pdf-deliver-to-user-w-jquery
We can use this Jquery plugin as a solution for this issue.
Plugin :
https://www.filamentgroup.com/lab/jquery-plugin-for-requesting-ajax-like-file-downloads.html
- Actions on multiple rows:
- Change: done
- Index
- Edit: done
- Hide/Show index: done
- Change one column: done
- Add column(s): done
- Alter table order (Sort): done
- Move Table: Should not ajaxify this
- Table Options: todo
- Copy Table: done
- Table Maintenance: done
- Check
- Repair
- Analyze
- Flush
- Optimize
- Retrieve the response for a query with Ajax: done
- Paginate the results of a SQL query: done
- Change the number of insertions on the fly without reloading the entire page: done, bugs remaining
- Insert rows with an Ajax request: todo
- Show results with Ajax calls, paginate results: done
- Use jQueryUI's Tabs and re-build the HTML for this page
- If necessary, refactor some functions from js/querywindow.js
Popular destinations:
- Team meetings
- GSoC home
- Developer guidelines
- How to install on Debian and Ubuntu
- Issue and pull-request management
User resources: