[Phpmyadmin-devel] AJAXify phpMyAdmin Interface - GSOC 2011 - Create Table in navigation panel

Marc Delisle marc at infomarc.info
Mon May 2 13:57:15 CEST 2011


Thilanka Kaushalya a écrit :
> Hi Marc,
> 
> I started working with my first task which is *"*/*Create table in 
> navigation panel*// - Currently this option loads new create table 
> window. Instead of that we can provide a pop up dialog appears for 
>  creating table. (A dialog window which looks as table create options at 
> the database operation section)"./
> 
> So I went through the current "create table" option in the database 
> operation section and found how it works. It uses the 
> "display_create_table.lib.php" form to get the name and the number of 
> fields of the table. Then after it get submitted, it uses the jquery 
> coding which is in the functions.js file to pop up the jquery dialog of 
> the create user form.
> 
> How should I design the js functionality for new feature. I can add the 
> js code to navigation.js file and use it to pop up the dialog, or else I 
> have to use the same code which is in the functions.js file. But I think 
> its better to add the code the navigation.js file because it is a 
> navigation functionality. Please comment on this issue. Thank you.
> 
> Regards,
> 
> Thilanka.

Hi Thilanka,
it makes sense to put your code in navigation.js but try to avoid code 
duplication between this file and what is already in functions.js.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list