Designing the Portal

You will define your portal’s architecture by looking at the functionality you need to provide and examining the flow through the individual functions. This will help you define the structure inside Cocoon.

Obviously, the basic functionality you need is the ability to authenticate the user. So you need a form where the user can enter the ID and password. That data will be sent to Cocoon and checked against a database. If the user is contained in the database and the password is entered correctly, the user receives a personalized portal page containing the news feeds she has subscribed to. You will also personalize the page by changing the background color. For the sake of simplicity, you will define that if the authentication ...

Get Cocoon: Building XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.