473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Displaying relationships graphically 'on the fly'...

scubak1w1
Hello,

I have a series of database tables in PostgreSQL that I am getting data from and displaying in the web browser (via PHP, SQL, etc.)

How about giving some details of what I am looking to do with a simple set of examples? (if you will forgive the verbosity.)
  • I have groups of employees assigned to just one training group - say 'truck drivers', 'shipping technicians', etc - a one to many

  • I have a series of modules, assigned to again just one module group - say 'Vehicles', 'Drug Testing', 'Pallet Safety', etc - again a one to many

  • The site admins use the existing functionality of the web site to, say, indicate that:
    1. employees listed in the training group 'truck drivers' need to do all of the modules listed under the 'vehicles' module group,
    2. ditto 'shipping technicians' for 'pallet safety', and
    3. all employees need to do the 'drug testing' modules

As mentioned this is all set up, both in the back end database and on the user interface; that is, I have already written the pages and associated code to populate the intermediate table that sets up these relationships - so these can be dragged out with SQL easily.

On one of the admin pages, I would love to be able to show the relationship of the records in the training group table to that in the module group table GRAPHICALLY 'on the fly' to better enable the admin user to see how they are related.

I envisage this as a sort of ERD, as it were (but rather than the database structural elements being the entities in the relationship diagram, I would want to show the varied training group <---> module group relationship as entities on the diagram.)

Any suggestions as to how? Some OS software out there that I can use PHP with?

I realise that the request is a bit esoteric, but wanted to get some input before I started investigating it further! :-)

Thanks in advance:
GREG...
Feb 25 '09 #1
4 1694
devsusen
136 100+
I prefer you should googled for your requirement. There are many on fly graphics generator classes/libraries available. Now you need to find out which one will suits you most. I had used pChart earlier.
Feb 25 '09 #2
Tarantulus
114 100+
GDLIB is a good one for graphical output
Feb 26 '09 #3
@devsusen
Thank you...

I was aware of a lot of them from Googling, but was seeking specifics on one that does ERD-like diagrams...

I will definitely check out your suggestion to see if it can be adapted, thank you!

Aside - I have found JPGraph useful for my on-the-fly charting needs from PHP, recommended
Feb 27 '09 #4
@Tarantulus
I will go and check that out - see if someone has built (sic?) a library for the sort of thing I am looking to do... cheers!
Feb 27 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mat | last post by:
Hi, I need to display a thumbnail of a large image that is contained in a database. I cannot upload a thumbnail into the database for various reasons. I have a function that resizes images before...
1
by: JL | last post by:
I have the following problem. I have a form created on the fly via a perl script that maintains a MySQL table. Any field that has spaces does not display properly. Only the text up to the first...
49
by: Mal | last post by:
Hi, As I gain knowledge through a lot of trial, error, and usenet posts.. I have a potentially odd question. I am using a commercial access application. It is a front-end / back...
1
by: David Lozzi | last post by:
Hello, I'm wondering whats the best method to use for displaying several photos' thumbnails. One method I know is to dynamically resize the photo at the time the page is loaded. What does this...
2
by: FrankEBailey | last post by:
I've been reading up on Modified Preorder Tree Traversal and it's definitely ideal for the kind of tree structures I need to model for my company's multi-level sales hierarchy. I've implemented the...
45
by: salad | last post by:
I'm curious about your opinion on setting relationships. When I designed my first app in Access I'd go to Tools/Relationships and set the relationships. Over time I'd go into the window and see...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
1
by: =?Utf-8?B?QWRyaWFu?= | last post by:
I am writing a court booking system for 4 courts. The problem is I don't know how to render the table. I want each court as a column and I want time down the left hand side. Each court has a...
2
by: Roger | last post by:
I've moved all my tables to sql server2005 and I've created the appropriate relationships now I create links to two such tables that have a relationship into ms- acess97 but when I add the two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.