reset password
Author Message
nextmatrixman
Posts: 57
Posted 15:47 Jul 09, 2015 |

How would we represent the following in the DB?

Curriculum Vitae (C.V.): a PDF or MS Word document
Research Statement: a PDF or MS Word document
Teaching Statement: a PDF or MS Word document

I'd assume they'll be strings of links to the files somewhere they're being uploaded to?

afetiso
Posts: 84
Posted 16:45 Jul 09, 2015 |

Job application consist of the following:

  • Contact information: last name, first name, phone, email, and address.
  • Current job position: job title, institution (or company), start year of the current job.
  • List of college and advanced degrees: degree name, university, year.

Can we create a separate classes for degree and job position and contact info? Or it will be all one class?

  • Curriculum Vitae (C.V.): a PDF or MS Word document
  • Research Statement: a PDF or MS Word document
  • Teaching Statement: a PDF or MS Word document

And how implement documents, like a string or something else?

cysun
Posts: 2935
Posted 19:37 Jul 09, 2015 |

Designing the classes is the homework so I'm not going to tell you how to do that.

As for modeling the documents for CV etc., it depends on whether the files will be stored inside or outside the database. You can either use a byte array for a file, or do something like the File class in CSNS2 (see also the FileIO class). We'll talk about handling files in class later.