I'm writting AJAX part now.
Have a look at this commit:
See my comment on it: 
  For get response data I add a param, run between requestHandler and responseHandler.
Now middle handler runs well, but I can't send
message ID to PMA_console._responseMidHandler, my
questions are:
1. Is the middle handler OK? Or is there another way to
custom my AJAX request(I need pages jump use global
AJAX handlers)
2. How to send message ID to my custom handler? If must
modifi PHP scripts, which should I modifi?


Thanks!


2014-05-26 19:22 GMT+08:00 Edward Cheng <c4150221@gmail.com>:
Thank you:)


2014-05-26 19:19 GMT+08:00 Atul Pratap singh <atulpratapsingh05@gmail.com>:

>
>
>
> On May 26, 2014 4:39:16 PM GMT+05:30, Atul Pratap Singh <atulpratapsingh05@gmail.com> wrote:
> >>>
> >> Yeah, I made a console, you can type queries, execute queries, and
> >> check logs on it.
> >> When you type a query, press ctrl+enter you'll see the result comes
> >out
> >> replace your currect page, AJAX.requestHandler will take this job,
> >
> >For executing and fetching query results, please also take a look at
> >existing system in sql.js where custom handler is written for
> >#sqlqueryform.ajax. So I think you could just pass the query to this
> >existing system and page replacing will happen.
> >
> >About pushing subsequent sql result pages to AJAX.cache, I think it is
> >not required and is not done right now. We currently push to
> >AJAX.cache when user switches between different tabs etc. and not for
> >subsequent sql result pages.
> >
> >> but console only shows query string, I need handle response data, so
> >I can put results
> >> on console logs, and errors and other messages.
> >> Thanks :)
> >>
> >So console div would be out of page_content and will not be
> >removed/replaced as queries get executed from the console. For this
> >also, I think you can write a custom handler.
> Also, you can update console success/error messages from the sqlqueryform handler itself as you get the response.
>
> --
> Atul Pratap Singh
> Sent from my Android device
>
> ------------------------------------------------------------------------------
> The best possible search technologies are now affordable for all companies.
> Download your FREE open source Enterprise Search Engine today!
> Our experts will assist you in its installation for $59/mo, no commitment.
> Test it for FREE on our Cloud platform anytime!
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel




--
Edward Cheng



--
Edward Cheng