Oracle® Fusion Middleware Communities Guide for Oracle WebLogic Portal 10g Release 3 (10.3.4) Part Number E14232-02 |
|
|
View PDF |
In the Architecture phase of creating a Community, you determine the type of Community you want to create and plan the resources and functionality you want to be available to the Community. You also determine the properties you want for each Community.
This chapter provides guidance on the factors to consider and activities to perform prior to beginning Community development.
This chapter includes the following sections:
Prior to Community development, make decisions about the following Community characteristics. These characteristics, which are set as properties on each Community, can help you determine your Community design:
If anyone can access the Community without registering as a member.
If anyone can register as a member in the Community without first receiving an invitation.
What will serve as the registration or landing page for a Community, and how it should function (especially in light of the decisions you make on the previous properties).
If you want to provide the visitor tools for Community members to customize their own views of a Community.
What will serve as the error page that is displayed when a user is not allowed access a Community; for example, if the user is not a member or the Community is disabled. Also determine how you want that page to behave. For more information, see Section 5.4, "Developing a Multi-Purpose Community Error Page."
If and when the Community will automatically become inactive or expire.
If you want to track the number of times members visit the Community is stored in the virtual content repository.
What, if anything, you want to happen automatically when Communities are created, activated, deactivated, or deleted. For example, if you want a Community content repository to be created when a Community is created. You build this type of functionality in a callback class. For more information, see Section 5.8, "Developing Callback Classes."
Decide which roles, or capabilities, you want to provide in your Communities. By default, the Community framework provides "creator" and "owner" capabilities. You can create any others you need, such as "contributor," "leader," and so on. Also define the types of operations you want to provide for your capabilities, such as CREATE, VIEW, UPDATE, and DELETE.
If you want to make Community interface resources, such as Look & Feel files, shells that include the visitor and Community tools, and layouts available to developers before they begin development, create those resources first.
For more information, see the "User Interface Development with Look & Feel Features" in the Oracle Fusion Middleware Portal Development Guide for Oracle WebLogic Portal.
Plan your content needs in advance of Community development.
If you are going to use content management in your Community, whether almost every object is a piece of content or whether you just want document storage, you may find it convenient and secure to create a repository separate from the standard WLP Repository.
Using a separate repository requires a unique data source and tablespace to keep your Community content separate from regular portal desktop content stored in the WLP Repository (or an Oracle-compatible third-party repository). First define your data source by extending your domain with the Configuration Wizard and adding the data source and tablespace to your domain. Later in the staging environment you can configure the new repository to use the new data source.
You can also create a repository and directory structure using a callback class on your Community.
See the Oracle Fusion Middleware Content Management Guide for Oracle WebLogic Portal for information on working with content.
You can develop Community functionality based on custom Community properties that you expect to be present in Communities. You create custom Community properties—properties that provide unique information about a Community—in the WebLogic Portal Administration Console for a selected Community.
Determine which, if any, custom Community properties you want to create, especially for properties beyond what standard Community properties you can access with the Community framework API (for example, com.bea.netuix.application.communities*
and com.bea.netuix.servlets.manager.communities*
.
Use the com.bea.netuix.application.communities.CommunityProperty
class in conjunction with the CommunityPropertyValue
class to get custom Community properties.
See Section 7.4, "Creating Custom Community Properties" for information on creating these properties with the Administration Console.