Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. which design pattern to use?

which design pattern to use?

Scheduled Pinned Locked Moved Design and Architecture
designregexarchitecturequestionlearning
2 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    orlya
    wrote on last edited by
    #1

    Hello, I'm designing an application that simulates a university application and courses system. I'm looking for a design pattern for this case: I have a base class Course, and 3 deriving classes for 3 type of courses. each course should have a list of pre-courses that need to be taken in order to take the course. The pre courses can be any of the 3 types of courses. I thought of using the graphic-shape-picture design pattern, but it's not the very same case. Will appreciate any idea! Thank You Orlya

    L 1 Reply Last reply
    0
    • O orlya

      Hello, I'm designing an application that simulates a university application and courses system. I'm looking for a design pattern for this case: I have a base class Course, and 3 deriving classes for 3 type of courses. each course should have a list of pre-courses that need to be taken in order to take the course. The pre courses can be any of the 3 types of courses. I thought of using the graphic-shape-picture design pattern, but it's not the very same case. Will appreciate any idea! Thank You Orlya

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Maybe the "Course" class has a collection of Course class references or Course class unique id's.

      led mike

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups