|
|
|
|
As stated in the introduction, the purpose of this tutorial is to teach you how to
develop a dynamic, data-driven web application using the VisualWorks Smalltalk Web
Toolkit. The tutorial is divided into 3 sections:
|
Section 1 : Overview and Configuration of the Web Toolkit |
|
1 |
Web Development Overview
This lesson introduces and describes the major web development methodologies and paradigms that exist today. This lesson also identifies what skills are necessary and what tools exist that allow you to be successful at using these development techniques. |
2 |
Application Overview
This lesson describes the application you are going to build and the details of how it will work. Think of this lesson as the "functional specification" of the application. |
3 |
Loading the Web Toolkit
Before any development can begin with the Web Toolkit, your workstation must first be turned into a VisualWorks web server. This unit shows you how to load the Web Toolkit parcel, start the VisualWorks web server and test it. |
4 |
Configuring Web Toolkit Sites
This lesson explains how to "permanently" configure Web Toolkit sites so that they will always appear on the Web Toolkit Configuration home page. |
5 |
Smalltalk Server Page Fundamentals
This lesson will demonstrate how to display a list of employees - residing in a simple ASCII text file - in a web page using the ASP model. It will first describe a solution where all you need is a single SSP and then explain how to use a combination of SSP and custom objects. |
Section 2 : Web Toolkit and the ASP Model |
|
6 |
The Login Page Concept
This lesson is an overview of the login process. Data will need to be passed from one page to another. There are various way by which this can be accomplished and this lesson discusses those options. |
7 |
Using Cookies for the Login Page
This lesson will demonstrate how pull data from an HTML form and compare it to data residing in a file. If the login is unsuccessful, we will give the employee the opportunity to login again. If the login is successful, we will redirect the employee to a welcome page and remember who they are when they get there using cookies. |
8 |
Using Query Strings
We can improve the login process, especially if the employee does not login correctly. In this lesson, we will use query strings to make the login page a bit more friendly. |
9 |
Redundancy Reduction with Server-Side Includes
We are about to create a multitude of SSP files and it is important that all the pages look consistent across the application. The use of server-side include files allow us to have the same code (or HTML) on many pages but stored in just one place. |
10 |
Using Session Variables for the Login Page
This lesson will demonstrate how pull data from an HTML form and compare it to data residing in a file. If the login is unsuccessful, we will give the employee the opportunity to login again. If the login is successful, we will redirect the employee to a welcome page and remember who they are when they get there using session variables. |
11 |
Extending the use of Session Variables
This lesson will demonstrate how put logic into include files and make more extensive use of session variables. |
12 |
Refactoring the ASP solution
In this lesson, we will create just one instance of a custom class and use it in all of our SSP pages. Also, the page that lists employees who have taken a particular course will have to be written and then refactored. |
13 |
ASP Model Summary
This will summarize all the concepts that have been presented in the ASP model lessons. |
Section 3 : Web Toolkit and the J2EE Model |
|
14 |
The Logon Page Concept
This lesson is an overview of the logon process. Data will need to be passed from one page to another. There are various way by which this can be accomplished and this lesson discusses those options. |
15 |
Using Cookies for the Login Page
This lesson will demonstrate how pull data from an HTML form and compare it to data residing in a file. If the login is unsuccessful, we will give the employee the opportunity to login again. If the login is successful, we will redirect the employee to a welcome page and remember who they are when they get there using cookies. |
16 |
Using Session Variables for the Logon Page
This lesson will demonstrate how pull data from an HTML form and compare it to data residing in a file. If the login is unsuccessful, we will give the employee the opportunity to login again. If the login is successful, we will redirect the employee to a welcome page and remember who they are when they get there using session variables. |
17 |
Using Query Strings
We can improve the login process, especially if the employee does not logon correctly. In this lesson, we will use query strings to make the login page a bit more friendly. |
18 |
Redundancy Reduction with Server-Side Includes
We are about to create a multitude of SSP files and it is important that all the pages look consistent across the application. The use of server-side include files allow us to have the same code (or HTML) on many pages but stored in just one place. |
19 |
Server-Side Includes with Logic
Now that we have laid the groundwork for using server-side include files, it's time to make further use of them by including logic, not just HTML or plain text. |
20 |
Extending the use of Session Variables
This lesson will demonstrate how put logic into include files and make more extensive use of session variables. |
21 |
Refactoring the J2EE solution
In this lesson, we will create just one instance of a custom class and use it in all of our SSP pages. Also, the page that lists employees who have taken a particular course will have to be written and then refactored. |
22 |
Using Tag Libraries
In this lesson, we will make use of a methodology unique to the J2EE (JSP) model called Tag Libraries to create a drop-down list of courses. |
23 |
Using Registered Servlets
This lesson describes what a registered servlet is and how they are used. |
24 |
J2EE Model Summary
This will summarize all the concepts that have been presented in the ASP model lessons. |
Closing Lesson : Web Toolkit and Logical Names |
|
25 |
Using Logical Names
One last concept remains and it is something unique to the Web Toolkit - logical names. As you will see, logical names provide an easy and flexible way to make global changes to your site in a non-destructive manner. |
|
|
|
|
Primer Index
Just in case you missed any of the "side-bar" primers along the way, here's your chance to view them all in one place. |
|
|
Home Page
Return to the VisualWorks Web Toolkit Tutorial home page. |