Hello everyone,
I'm new on this list and have been working for quite a while on a PHP app
that will make an HTML frontend for a PostgreSQL dbms. Works fine so far
but I'm having a little trouble with master - detail screens. My db
(roughly) has a hierarchical structure, something like
BAND -> RECORD -> SONG
When I display the record, band should be displayed on top of the screen.
When song is displayed, band and record should be displayed. (the real app
has more than 3 layers, but the idea is the same).
At the moment I use something like storing current band, current record in
a serialized _SESSION variable. It works, but not very smoothly because
PHP (or actually HTTP) has no idea of history, descent (the current screen
doesn't know what the previous screen was).
So I'm struggling a bit with this. Are there any "standard" solutions for
this master - detail setup? I found a lot on macromedia, but I don't use
that, it's just Vim on Linux.
TIA for any pointers / help!
I'm new on this list and have been working for quite a while on a PHP app
that will make an HTML frontend for a PostgreSQL dbms. Works fine so far
but I'm having a little trouble with master - detail screens. My db
(roughly) has a hierarchical structure, something like
BAND -> RECORD -> SONG
When I display the record, band should be displayed on top of the screen.
When song is displayed, band and record should be displayed. (the real app
has more than 3 layers, but the idea is the same).
At the moment I use something like storing current band, current record in
a serialized _SESSION variable. It works, but not very smoothly because
PHP (or actually HTTP) has no idea of history, descent (the current screen
doesn't know what the previous screen was).
So I'm struggling a bit with this. Are there any "standard" solutions for
this master - detail setup? I found a lot on macromedia, but I don't use
that, it's just Vim on Linux.
TIA for any pointers / help!
Comment