Developer’s Quick Start Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Portal Web Application Organization

The following topics will help you organize your portal web application:

 


Directory Structure

The structure described here is suggested to help keep your portal web application stay organized and easy to navigate as it grows larger. The following list demonstrates a structure for portlets. Use a similar organizational technique for portals, skins, look-and-feel files, and so on.

 


Portal Organization

To organize your portals, create .book and .page files separately from the .portal file rather than inline. Although a simple portal can use an inline structure, keeping these files separate is useful for managing and organizing your portal as it grows.

For more information, see “Creating a Standalone Book or Page” and “Extracting an Existing Page or Book to Re-Use” in Developing Portals Using WorkSpace Studio in the Portal Development Guide.

 


Support Proxy Caching

Create static content under separate top-level folders. This makes them easier to deploy from a front-end like Apache or a caching/edge proxy. For example, using the sample in Directory Structure:

WebContent
   /images
      /weather
   /icons
      /weather
   /content (static content)
     /weather

 


Plan for Upgrading WebLogic Portal

In WebLogic Portal, certain files work together as a logical unit. This means that a change in one file may affect another. During an upgrade or patch, it’s possible that a file you changed will not be upgraded, while a file that it depends on may be upgraded. As a best practice, especially when using WorkSpace Studio’s Copy to Project feature, do one of the following to avoid problems with the way a logical group of files interact with each other:

Tip: This suggestion is valid for any set of files you might override, but it is especially important when tweaking skins, skeletons, and layouts. It is best to create your own look-and-feel files, using the original library modules as a starting point, rather than overriding the default look-and-feel files.

For additional information, see Installing Maintenance Updates, Service Packs, and Maintenance Packs.

 


Related Information

The following topics provide more detail for organizing your portal application:


  Back to Top       Previous  Next