Download presentation
Presentation is loading. Please wait.
1
Do: Home Page Form-1 Form-2 Form-3 as described in following slides. Document in Word as usual. Three-tier Architecture Assignments This is a possible project you can do. It would be even better and more interesting to you if you created an application of your own that used similar capabilities.
2
League [ teamName, teamID ] Managers [ managerName, teamID ] Players [ playerName, playerPosition, teamID ] Project Tables teamId is a shared attribute.
3
Home-Page link-to-form-1 link-to-form-2 link-to-form-3 The home page links to the forms. Each form in turn links back to the home page.
4
Form 1 team ID Roster of Players Player-namePlayer-position Similar to Lab2exp03.jsp Browser home-page-link List teamMembers
5
Form 2 Player added 1. Add or Delete player in DB depending on radio-button choice selected. Louie Player-name pitcher Player-position 007 Player-teamID Name Position teamID Louie pitcher 007 Select option add-player del-player 2. Displays table shown [ for add ] else indicates Player [ for delete ] Else: deletion message – if deleted Lets you add or delete a player.
6
Form 3 Manager Name managerPlayers Team-Name: ___________ Player-namePlayer-position This is trickier because: managerName is 1 st used to retrieve teamID teamID is then used to retrieve teamName teamID is also used to retrieve players etc home-page-link This uses sequentially dependent queries. Finds a manager’s players.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.