|
Application Overview |
|
|
Because the Web Toolkit supports both the ASP and J2EE models, the application you are
going to develop in this tutorial will use concepts from both. To avoid any confusion,
the application will be developed separately using both models instead interspersing
the two methodologies into a single solution. This way, you can decide which methodologies
you prefer using and which would work best in your development environment.
|
||||||||||||||||||
|
This lesson describes the small application that you are going to build in this tutorial.
It also identifies the code development strategy used throughout this tutorial.
|
||||||||||||||||||
|
Figure 1. A typical web development team Above is a somewhat simplified diagram of the different roles people play in the development of a web site. Those team members include the following people:
Figure 2. The Login Screen to the TEACH system Toyz Inc. is a fictitious toy company. Management wants to keep track of what continuing education courses their employees have taken. They have named their application TEACH which stands for Toyz Inc. Employee Accreditation and Course History. Above is their login page.
Figure 3. The HTML Layout of the the TEACH system pages The HTML Author has created for us a template page that defines 3 major areas of a web page.
Figure 4. The Site Map for TEACH system Not all of the pages will be available to all employees. For example, only managers will be allowed to add courses, employees and XREFS (courses that employees have taken). All employees will be allowed to see what courses they have taken.
Figure 5. The database/files used for the application We will design this application so that data access is totally insulated from the business logic. The site will use ASCII flat files so that anyone can use their development platform of choice without worrying about database connectivity issues (I.e. which database to use).
Figure 6. The data for the application Above are the 3 text files used for the application. In later units, when you are writing code to retrieve this data, here are a few things to keep in mind to help you quickly decide if your code is working properly.
Figure 7. Where’s My Code? When using the Web Toolkit to develop this web application, logic and data presentation can and will reside in multiple locations. In terms of team members:
|
||||||||||||||||||
|
Web Development MethodologyThis tutorial will start developing the site using the ASP model. The ASP model is simpler than the J2EE model and this is how we want to start. It is easy to get the code working correctly using the ASP model and some of the concepts will carry over into the J2EE model. Once the we get the site working, we will start to add more complexity to it which will expose more advanced coding techniques.We will then re-write the application using the J2EE model. This model lends itself better to team development and more reusable code; however, the concepts are more advanced than its ASP counterparts. |
||||||||||||||||||
|
Summary
|