Building the Portal’s Functionality

Up to now we have described the portal in very general terms. But in the end, you will need to use various Cocoon components and concepts to build the functionality. We will start with the login process and then look at the editing function.

To set up the portal’s directory structure, you need to create a few new directories below the Cocoon root:

1.
Create a portal directory below the cocoon directory.
2.
Create two new directories, resources and styles, below the portal directory.

As you go through each function, you will edit sitemap.xmap and add the pipelines you need. So now is a good time to open the sitemap in an editor and find the best place to edit the new pipelines. We suggest that you find ...

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.