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.cl...
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Edward Cheng