[Phpmyadmin-devel] Navigation integration for Routines, Triggers and Events
marc at infomarc.info
Tue Jul 26 18:11:59 CEST 2011
Rouslan Placella a écrit :
> On Sun, 2011-07-24 at 23:02 +0300, Tyron Madlener wrote:
>> On Sun, Jul 24, 2011 at 9:53 PM, Marc Delisle <marc at infomarc.info> wrote:
>>> Le 2011-07-24 14:32, Rouslan Placella a écrit :
>>>> Hi there,
>>>> I planning to integrate the Routines, Triggers and Events into the
>>>> navigation frame. To achieve this I'm thinking about adding another
>>>> level to the navigation tree in non-light mode (light mode is
>>>> unaffected). So that after expanding a database you might be left with
>>>> more items like 'tables', 'indexes', 'routines', 'triggers' and
>>>> 'events', which you have in turn expand. Even though triggers are
>>>> per-table items and every thing else is a per-database item, I think
>>>> that it's best to show these on a per-database basis in order to avoid
>>>> another level in the navigation. Please find an initial mock-up for this
>>>> feature in the attachment. Your thoughts?
>>> It's interesting but as the light mode is the default, I'm afraid that
>>> this feature won't be seen by many.
>>> Can't you show routines, triggers and events also in light mode, (maybe)
>>> with an expansion mechanism?
>>> The main idea of the light mode is not to avoid displaying expansion
>>> mechanisms, it's to avoid performance issues so it fetches only the
>>> tables of the current database.
> I see. So, you are asking to add the expansion mechanism to the light
> mode and load content for it via ajax for each click on "+". I guess
> that would be better, but I think that I might have to come up with a
> better logic for handling refreshes. Also, with ajax disabled, the light
> mode will basically then fall back to what we have now.
You have correctly interpreted my suggestion.
More information about the Developers