reset password
Author Message
dguhath
Posts: 61
Posted 15:43 Feb 07, 2015 |

Dr Sun,

For this homework we do not need to handle the user checkpoint functionality right? It's only the Admin tasks of add/edit right?

cysun
Posts: 2935
Posted 15:43 Feb 07, 2015 |

Right.
 

lishenyu
Posts: 103
Posted 16:56 Feb 07, 2015 |

dr Sun , where to get the example codes that you wrote during the class like add/edit  ? Thanks!

cysun
Posts: 2935
Posted 16:59 Feb 07, 2015 |
lishenyu wrote:

dr Sun , where to get the example codes that you wrote during the class like add/edit  ? Thanks!

It's under the cs520 branch of the Spring MVC Examples.

Last edited by cysun at 16:59 Feb 07, 2015.
lmann2
Posts: 156
Posted 18:40 Feb 11, 2015 |

Can you clarify this?

Designate a plan to be the official plan of a department, which means all new students of the department will use that plan.

Using your suggested design this means the 'currentPlan' field of the department model.  Is that correct?  Or, did you intend this to mean something slightly different.

Since the user model associates a department with a student  and a department has a currentPlan it seems that the 'official plan' is de facto the 'currentPlan' field.  I don't understand how this would affect the controller or view given the instructions in this exercise.  I guess if we were implementing a user registration in this assignment this would make sense, but that's not a part of HW4...

 

 

lmann2
Posts: 156
Posted 19:00 Feb 11, 2015 |

One More!

Add a plan to a department.

  • (10pt) Add runways to the plan.
  • (10pt) Add stages to the plan.

Do you also have to be able add a stage/runway to a existing plan?

cysun
Posts: 2935
Posted 21:01 Feb 11, 2015 |
lmann2 wrote:

Can you clarify this?

Designate a plan to be the official plan of a department, which means all new students of the department will use that plan.

Using your suggested design this means the 'currentPlan' field of the department model.

Yes. Because a department may have multiple plans, this operation simply makes one of them the "currentPlan". Registering a new student would be a different operation which you don't need to worry about here.

cysun
Posts: 2935
Posted 21:02 Feb 11, 2015 |
lmann2 wrote:

One More!

Add a plan to a department.

  • (10pt) Add runways to the plan.
  • (10pt) Add stages to the plan.

Do you also have to be able add a stage/runway to a existing plan?

Yes.

aalhazm
Posts: 12
Posted 09:31 Feb 12, 2015 |

In this homework just edit no delete, right

cysun
Posts: 2935
Posted 09:37 Feb 12, 2015 |
aalhazm wrote:

In this homework just edit no delete, right

Yes.