473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying relationships graphically 'on the fly'...

scubak1w1
53 New Member
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 1705
devsusen
136 New Member
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 New Member
GDLIB is a good one for graphical output
Feb 26 '09 #3
scubak1w1
53 New Member
@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
scubak1w1
53 New Member
@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
1390
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 inserting into a database, and I know how to display image data from the DB into the browser so I have a rough idea of what's involved. My problem...
1
2432
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 space displays in the HTML text box. If I use code that embeds the HTML space octet, it displays properly. I know it must be something really...
49
2215
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 end....multi-user app. with a lot of complex functionality (as you would expect from a commercial app). It doesn't have any relationships though.....is this...
1
1712
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 do to server/site performance? The other is to copy the photo at time of upload and create a thumbnail then, have two separate images, therefor when...
2
2788
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 database side already in SQL Server 2000 and can retrieve all child nodes based on the left and right IDs of the current node. My problem is...
45
3363
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 relationship spaghetti....tables/queries all overthe place with lots of relationship lines between here and there. After that first app I didn't...
38
5048
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
1028
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 session duration of 40 minutes. The tricky bit is that each court's session starts 10 minutes after the previous court and I want to this overlapping to...
2
2320
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 tables to the 'relationship' window, it appears as though my odbc dsn link doesn't bring across the relationship(s), so I just see two tables sql...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7672
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5512
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.