[Phpmyadmin-devel] Recently Used Tables
Marc Delisle
marc at infomarc.info
Mon May 2 01:46:25 CEST 2011
Le 2011-05-01 12:32, Aris Feryanto a écrit :
> Hi all,
>
> I am currently trying to implement a feature that allow users to jump
> to recently used tables. I have partially implemented this feature in
> my repo [0] under the branch "browsemode" and want to ask for
> opinions.
>
> 1. Users can interact with a table in several ways: browse,
> structure, SQL, etc. Are all of these actions should be counted as
> "accessing a table"?
Yes but with SQL I would not go so far as count as "accessed" all tables
mentionned in a multi-table query.
2. If yes, I am thinking of adding code in
> several places: sql.php, tbl_structure.php, tbl_sql.php, etc. (every
> possible values for $GLOBALS['cfg']['LeftDefaultTabTable']) in order
> to remember the accessed table. Is there any better way than this?
> (since I'm still not very deep with phpMyAdmin code)
Maybe I am oversimplifying things, but it appears to me that when a
table name is displayed at the top (div id="serverinfo") it would be a
good single point to call the "remembering" function.
3. If no, what
> actions should be considered as "accessing a table"?
>
>
> NB: With my branch, you can see up to 5 recently used tables, by
> clicking table's icon (left of table's name) in the navigation frame.
> (LeftDefaultTabTables must be configured to the default value,
> "tbl_structure.php")
>
>
> [0] http://repo.or.cz/w/phpmyadmin/arisferyanto.git
>
> -- Aris Feryanto http://arispma.wordpress.com/
>
>
>
>
> ------------------------------------------------------------------------------
>
>
WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
>
>
>
> _______________________________________________ Phpmyadmin-devel
> mailing list Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list