If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > tables design and relationship

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-11, 04:13
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
tables design and relationship

hi,

i need help in my tables design and their relationship, i dont know if am doing it right or not......am trying to develop a learning repository for learning materials, and the way i have to represent the repository content is by categories or in a tree structure. i have attached jpg showing how the tables will be displayed, and based on user selection the next category content will becomes visible, materials are also categorized by materials type like (tutorial, example, exercise, case study)....

please are there any suggestion how to design my tables and their relationship...your help will be very much appreciated...
thanks alot

regards
zellal
Attached Thumbnails
tables design and relationship-table-categories.jpg  
Reply With Quote
  #2 (permalink)  
Old 11-02-11, 08:00
baburajv baburajv is offline
Registered User
 
Join Date: Feb 2004
Location: Bangalore, India
Posts: 242
with a very quick look at the image this is wat i have comeup with. Please have a look and let know if you find anything missing in this.


CourseMaster
------------
CourseID
CourseName


Subject
-------
SubjectID
SubjectName


Topic (changed name of learning object to Topic)
---------------
Topic_ID
TopicName


SubjectTopic
-------------
SubjectID
TopicID

Material
-----------
MaterialID
Name


InstructionMaterial
-------------------
InstructionMaterialID
MaterialID
Name
__________________
Cheers....

baburajv
Reply With Quote
  #3 (permalink)  
Old 11-02-11, 14:56
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
hi baburajv

thanks for your feedback, i guess you have missed the relationship between course and subject..should it be

subjects
---------
subjectID
courseID
subjectName

or should i make it


courseSubject
--------------
courseID
subjectID


thanks in advance
regards

zellal
Reply With Quote
  #4 (permalink)  
Old 11-02-11, 23:46
baburajv baburajv is offline
Registered User
 
Join Date: Feb 2004
Location: Bangalore, India
Posts: 242
thanks for update.

Please consider using the below schema for the course-subject mapping

courseSubject
--------------
courseID
subjectID
__________________
Cheers....

baburajv
Reply With Quote
  #5 (permalink)  
Old 11-03-11, 01:37
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
thanks alot for your help
best of regards
Reply With Quote
  #6 (permalink)  
Old 11-04-11, 06:00
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
Hi,

I would like to ask for something, now i have designed my tables and i need to populate data into tables. for the learning materials i have to collect and populate into the database, what is the best way to find and collect reliable learning materials for C++ topics without searching in google and going through lengthy results list.

thanks in advance

with regards
zellal
Reply With Quote
  #7 (permalink)  
Old 11-04-11, 08:07
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
Quote:
Originally Posted by zbath81 View Post
...without searching in google
whoa, that's unusual

well, you can search in bing.com or duckduckgo.com instead
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #8 (permalink)  
Old 11-06-11, 04:10
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
what i mean is there any program that i can use to extract learning materials from learning repositories through their APIs...
is that possible and can be done...
that what my supervisor asked me to do..and am not sure how to do that...
Reply With Quote
  #9 (permalink)  
Old 11-06-11, 04:36
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
?
the mechanism in which your learning matrerials are stored / encoded tends to dictate the how you extract learning materials fromtheir repository

ferinstance
if the learning material is stored in Acrobat PDF then acrobat PDF reader is a probably the best program
if its as a JPEG slideshow or film/movie then some form of media player.
if its a document... then whatever the local host uses to display docuemtns
if its a web page...... and so on.....

what actually is the brief for this homework?
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #10 (permalink)  
Old 11-06-11, 17:28
zbath81 zbath81 is offline
Registered User
 
Join Date: Nov 2011
Posts: 15
hi healdem

well actually am trying to apply new searching mechanism by providing visualization on learning repository content.
all the learning materials will be links of web pages....
so i need to develop my own repository that consist learning materials which will be stored using metadata like (title, creator, date, url, resource type)
then i have to connect the database to the program developed to run the visualization....

so i have to collect huge number of learning materials which has the metadata i have mentioned above and populate it into my database to run the project and the visualization test.....

and i dont know the best way to do that

Last edited by zbath81; 11-06-11 at 17:32.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On