Book Image

IBM Websphere Portal 8: Web Experience Factory and the Cloud

Book Image

IBM Websphere Portal 8: Web Experience Factory and the Cloud

Overview of this book

IBM WebSphere® Portal is a cost- effective, scalable, and proven solution for the portal enterprise space. Given the depth and the breadth of WebSphere Portal and the challenges of developing a portal project, you need a book that covers all the nuances of the entire portal project lifecycle. This book accomplishes just that. In this book, we cover topics that range from portal assessment, governance, and architecture, to design and development. These topics are covered not only within these traditional areas, but also within the cloud environment context. Keeping both contexts in mind, several chapters are dedicated to portal and portlet testing, troubleshooting, performance monitoring, best practices, and tuning. The cloud option is also analyzed and discussed for hosting, developing, and publishing portal applications. We also cover Web Experience Factory (WEF) as the tool of choice for portlet development. We take you from the introduction to the development of advanced portlets in an intuitive and efficient manner. We cover not only common topics, such as builders, models, and user interface development, but also advanced topics, such as Dojo builders, Ajax techniques, and WEF performance. Within the WEF space, we cover other topics, which have never been covered before by any other competing book. You will learn how to develop multichannel applications, including web mobile applications and you will learn about the model types available for portlet development, including when and how to utilize them. We also present and discuss numerous aspects and facets of implementing a WEF project and what it takes to successfully deliver them. The richness and the profundity of the topics combined with an intuitive and well-structured presentation of the chapters will provide you with all the information you need to master your skills with the IBM WebSphere Portal project lifecycle and Web Experience Factory.
Table of Contents (27 chapters)
IBM WebSphere Portal 8: Web Experience Factory and the Cloud
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Role-based profiling


In the previous section, you have created an example that demonstrates one of the many manners by which a profile set can be associated to a model. In this section we will describe the steps you need to perform in order to implement a role-based portal application.

In the same way you expose profile names and values to portal administrators, you can also define that portlet variability will be driven by the portal user groups. In this option, the mechanism to choose the profile to be applied to a portlet is tightly connected to the portal group a user belongs to.

The principle to serve a variation of your code base depending upon portal user groups bears many similarities to the example you just created.

Let's describe the steps you would perform to implement such an option.

Building portlet for role-based profiling

Concerning portlets, start by identifying the different groups that will be accessing your portlets. Although you do not insert the if, else, or switch statements...