hi,<br><br><div class="gmail_quote">On Mon, Mar 29, 2010 at 6:28 PM, Michal Čihař <span dir="ltr"><<a href="mailto:michal@cihar.com">michal@cihar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<br>
Dne Mon, 29 Mar 2010 17:55:13 +0530<br>
<div class="im">Rohit Kalhans <<a href="mailto:rohit.kalhans@gmail.com">rohit.kalhans@gmail.com</a>> napsal(a):<br>
<br>
</div><div class="im">> The Idea behind enabling and disabling AJAX is that I am trying to develop<br>
> it as a plug-in to the existing code, and the user can choose not to use<br>
> this feature. Since PMA is also being used by many hosting sites apart from<br>
> personal users, this may be up to the discretion of the service provider to<br>
> use this plug-in. he may uninstall this plug-in by changing the<br>
> cfg['advancedAjaxInterface'] to FALSE and the plug-in even it is installed<br>
> will be inactive and if the user(service provider) feels like people should<br>
> use this plug-in he just have to change the value of the above mentioned<br>
> variable.<br>
<br>
</div>Let's forget about making plugin, you will really have to touch lot of<br>
code (or duplicate it), so it really can not be separated.<br></blockquote><div><br>Thats what i was trying to do all these days, figuring out the ways to implement what i suggested with minimal changes to the native code and i was successful. I was, however unable to create the patch (using git) but i'll attach the modified code files as an attachment in 2 to 3 days,( if I am still unable to use git, i am still trying to figure out the problem) and you can have a look at it and then make the decision :).<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
> I have past experiences with Ajax and a few of them are not pretty gud. At<br>
> times when using ajax, on a slow connection (or for a busy server), this<br>
> becomes a problem more than a feature. this does not make AJAX intrusive but<br>
> on the contrary provides a flexibility to either use or do not use this<br>
> functionality (for the person who has installed PMA ) .<br>
<br>
</div>And that only answered part of the question, why do you need two<br>
configuration options?<br>
<br>
Yes, it probably makes sense to have single option to disable AJAX.<br></blockquote><div><br>The first option [from config file] will disable AJAX permanently and the second one will disable it for just a given session. <br>
I will suggest that you take a look at the modified code because that will make the functionality clearer. I think i am not able to explain properly. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
> This is for the user to make a choice whether or not he wants to use this<br>
> feature or not. Say, he has to log in remotely, of from a different browser<br>
> which does not support JAVASCRIPT. Even though this can be detected but what<br>
> about old browsers (IE-6 etc which support javascript but are pretty slow<br>
> with JavaScript and may bore the user to death :) ) and slow<br>
> net-connections(say the user is using in prime-time). The user may need to<br>
> just load a basic html view and this drop-down box provides him an option<br>
> to do that. However the default view takes care of the the graceful<br>
> degradation even if JavaScript is not enabled, (or present). Also if the<br>
> user chooses to use the Advanced UI and if javascript is not present or<br>
> enabled PMA will switch back to the normal view as it isnow with an alert to<br>
> the user.<br>
><br>
</div>> The same technique is being used by ZIMBRA <<a href="http://www.zimbra.com/" target="_blank">http://www.zimbra.com/</a>> and<br>
> GMAIL.<br>
<br>
Well I don't think this should be handled so specially. For now, use<br>
just setting in config file and user will be able to change it once per<br>
user preferences will be implemented (hopefully someone will finish it<br>
this GSoC).<br>
<div class="im"><br>
> Can a git repository be accessed through a http proxy like squid?<br>
<br>
</div>See<br>
<a href="http://wiki.phpmyadmin.net/pma/Devel:Git#Accessing_Git_repository_from_behind_firewall" target="_blank">http://wiki.phpmyadmin.net/pma/Devel:Git#Accessing_Git_repository_from_behind_firewall</a><br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5"> Michal Čihař | <a href="http://cihar.com" target="_blank">http://cihar.com</a> | <a href="http://blog.cihar.com" target="_blank">http://blog.cihar.com</a><br>
</div></div><br>------------------------------------------------------------------------------<br>
Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Rohit Kalhans<br>homepage: <a href="http://rohit-kalhans.co.cc">http://rohit-kalhans.co.cc</a><br>BLOG: <a href="http://13lackburn.blogspot.com">http://13lackburn.blogspot.com</a><br>