WebObjects Development (I)
   
 
     


 

Class Description

>
Objective Learn how to create dynamic, deployable web applications using WebObjects 5.
Audience Software developers creating web applications.
Description WebObjects Development (I) covers the following topics:
  • Creating WebObjects applications using the Java programming language
  • Incorporating standard HTML elements such as forms, images, and frames
  • Creating reusable components
  • Incorporating database access
The class combines lectures, demonstrations, and individual exercises.
Prerequisites Ideally some Java programming experience, including object-oriented concepts. Experience with HTML and SQL is beneficial but not essential.
Duration Five days.
Tools The courses uses XCode as the IDE. However if you prefer to use Eclipse you can bring your own laptop already set up with this environment.


Syllabus: WebObjects Development (I)

INTRODUCTION TO WEBOBJECTS Overview of WebObjects applications; adapting to the HTTP request- response cycle; introduction to the WebObjects tool set.

LAB Gain familiarity with tool set and basic concepts; create a simple WebObjects application that displays dynamic state.

CUSTOMIZING WEB APPLICATIONS Create a dynamic HTML user interface using components and dynamic elements; maintaining state at the session and application level.

LAB Storing state at the session and application level; explore changing state at different points of the request- response cycle.

LAB Understand how dynamic elements and components relate by creating a simple application entirely in source.

ACTIONS AND FORMS Taking user input to trigger actions in a web application; taking values from forms; exploring dynamic elements for user input.

LAB Enable page navigation using actions; get input from the user using a form; store state in the application and session.

WEBOBJECTS CONTROL POINTS Discuss control points within the request- response cycle to customize behavior; accessing request headers, cookies, and form values; modifying the response, creating cookies.

LAB Add and retrieve a cookie storing user state.

LAB Present conditional information based on HTTP headers.

MODELING ENTERPRISE CLASSES Discuss Entity-Relationship Modeling terms; create database-to-object mappings using EOModeler; introduction to EOModeler functionality.

LAB Browse an existing database to create a default model; create a new entity, add attributes and relationships; generate SQL to create the entity in the database; generate source code.

FETCHING ENTERPRISE OBJECTS Fetch enterprise objects from the database using EOF; build complex qualifiers; create sort orderings; filter and sort objects in memory; use EOModeler's qualifier builder.

LAB Fetch customers from a database.

PROJECT DESIGN PATTERNS Present design patterns used in WebObjects programming; designing the business logic of a web application.

LAB Create a basic online store application; exercise incorporates all topics thus far in the course.

REPEATING AND CONDITIONAL HTML Using dynamic elements to display repeating HTML fragments and to conditionally display HTML.

LAB Extend the online store application to allow the user to choose options for a product.

LAB Extend the online store application to display the customer's order in a repeating table.

EDITING ENTERPRISE OBJECTS Discuss the concept of an enterprise object; use the Enterprise Objects Framework to insert, update and delete database entities; implement custom business logic.

LAB Create an administration application that edits the products sold in the online store application; add, delete, and edit enterprise objects.

MANAGING RELATIONSHIPS To-one and to-many relationship in EOF; modeling many-to-many relationships; flattening relationships.

LAB Extend the administration application to allow editing of objects' relationships.

FRAMES AND NESTED COMPONENTS Using frames in a WebObjects application; creating nested components; basic parent to child component communication.

LAB Extend the online store application to use frames; use WebObjects Builder's frameset editor.

LAB Create a reusable nested component that can accept values from its parent component.

INTEGRATING WEB TECHNOLOGIES Adding arbitrary HTML tags to a WebObjects component; adding embedded objects, JavaScript, applets; automatic mail messages from WebObjects.

LAB Add JavaScript to add automatic form submission and basic client-side validation.

OVERVIEW OF WEBOBJECTS DEPLOYMENT Discussion of deployment issues; split installs; Monitor administration tool; application statistics; sharing resources between applications using custom frameworks.

LAB Create a shared custom framework.

LAB Do an install build of online store application; launch and manage using Monitor.

 
 
 
Mesa


The best spreadsheet for Mac OS X! Click here to find out more, or buy a license

 

 
Contact Us


Information about WebObjects and Mac OS X services: webobjects@plsys.co.uk


Information about training courses:
info@plsys.co.uk


Comments about these pages: webmaster@plsys.co.uk