Developing mobile and multi-channel applications

  • Develop applications for smartphone devices that have a native-looking UI and access phone features such as geolocation
  • Build multi-channel applications that leverage Portlet Factory's dynamic profiling to render to multiple devices from a single source model.

Activity Recommended content
Install the IBM Multi-Channel FeaturePack for IBM Web Experience Factory v8.0 The IBM Web Experience Factory feature pack builds on the mobile and multichannel support of IBM Web Experience Factory Version 8.0 and adds two new features: Multichannel and Responsive User Interface (UI) Support and Camera (Feature Pack for 8.0) builder.
What's new in the IBM Multi-Channel FeaturePack For IBM Web Experience Factory v8.0
View conference slides on developing multi-channel and mobile applications Creating Mobile Web Experiences with IBM Web Experience Factory and IBM Worklight (2013)
Build Hybrid Multichannel Apps Using IBM Worklight, WebSphere Portal and Web Experience Factory (2013)
Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory (2012)external link
Install and explore samples of mobile web applications These three samples show how to integrate a camera builder into a mobile application.
Camera Builder Samples for the Multichannel Feature Pack for WEF 8.0
This sample shows how to update a model with the fp80_responsive_template.html template to dynamically and responsively support a two-column layout.
Using the new responsive HTML template provided with the Feature Pack for Web Experience Factory 8
This article introduces the data layouts that are designed to work with the Portal responsive theme and the new Web Experience Factory theme defined in the feature pack.
Using_the_new_Feature_Pack_8_Data_LayoutsCreate New Article
This article and sample show key techniques for smartphone and multi-channel applications.
Developing Web Applications for Smartphones and Tablets
Read the related Redbook Developing Exceptional Multi-channel Web Experiencesexternal link
Learn about hybrid applications Getting Started and Enabling Worklight Support
Using IBM Web Experience Factory with Worklight to create hybrid applicationsexternal link
Creating iOS Hybrid Shell Applications with Web Experience Factory and Worklight
See key resources for mobile and multi-channel development This page has links to slides, articles, samples, and other resources related to mobile and multi-channel development with Web Experience Factory.
Resources for mobile and multi-channel application development

Ajax and Rich UI Techniques

  • Add drag and drop capability
  • Use popup tooltips
  • Support partial page refreshes
  • Build great-looking interactive applications that leverage Dojo, Ajax, and rich UI.
Activity Recommended content
Install and explore the latest sample of using Dojo, Ajax, and rich UI techniques See how to use IBM WebSphere Portlet Factory to create applications with interesting and colorful, customized User Interfaces.
Rich Web User Interface Sampleexternal link
Learn to use AJAX with Web Experience Factory This article and accompanying sample shows you how to use the Ajax-related features.
Using Ajax techniquesexternal link
Explore Ajax/Dojo samples See how to use the Dojo-related features.
Dojo Extension sampleexternal link
See how to use the Ajax Type-Ahead builder in conjunction with a data service (such as a SQL Call builder) to obtain a limited set of type ahead suggestions.
Ajax Type-Ahead sample using database filteringexternal link
See how to use Dojo to implement drag-and-drop, inline editing, and tooltips in your applications.
Dojo Extension sampleexternal link
See how to manually apply the Dojo rich text editor to a field on a page and how to create a custom builder that automates the use of a Dojo widget. (Note that the Dojo rich text editor is relevant for versions prior to 6.1.5, since 6.1.5 has an out-of-the-box rich text editor builder.)
Dojo Rich Text Editor sampleexternal link

Working with profiling and portlet customization

  • Enable portlet customization by business users and administrators
  • Use Edit and Configure modes in Portal, with automatic or customized user interface
  • Create different application variations for different user groups or roles
Activity Recommended content
Profiling portlets tutorial This tutorial shows how to implement Edit and Configure modes in Portal, and it shows how to have different variations associated with different Portal groups.
Profiling portlets tutorial external link
Learn more about profiling Chapter 9 of the Portal Application Development Using WebSphere Portlet Factory Redbook provides a definition of profiling, conceptual information, a sample, and best practices.
Chapter 9. Customizing the application using profiling external link
Download and run sample of profiling to groups This tutorial show you how to implement the WebSphere Portlet Factory's profile selection handler WPS Group Segment Handler on an IBM WebSphere Portal 6.0.1 or higher.
Using the WPS Group Segment Handlerexternal link
Explore samples for profiling and portlet customization In the WebSphere Portlet Factory wiki contains samples and articles about techniques that you can adapt for your applications.
Profiling and runtime customizationexternal link

Enabling portlet communication

  • Use Property Broker and WebSphere Portlet Factory events
  • Use shared variables
  • Use client-side events
Activity Recommended content
Learn about inter-portlet communication This article with the accompanying sample shows you how to use WebSphere Portlet Factory to implement inter-portlet communication including Click-to-Action, Property Broker, Portlet Factory events, and shared variables.
Using inter-portlet communicationexternal link
Learn about the different types of portlet communication Chapter 8 of the Portal Application Development Using WebSphere Portlet Factory Redbook provides an overview of the different types of inter-portlet communication and best practices.
Chapter 8. Enabling portlet communication external link
Download and run samples of client-side-events The Ajax sample pack includes client-side-events samples.
Ajax samplesexternal link
See the Dynamic Portal Page Processing builder to launch dynamic portal pages The Dynamic Portal Page Processing builder generates operations to launch dynamic portal pages, pass properties to the launched page and receive properties in portlets running on these pages. It is included as part of the Unified Task List (UTL) Developer Pack, but it can be used independently of the UTL itself. For more information about the UTL Developer Pack: Unified Task List Developer Packexternal link

Working with XML and Java

  • Create schemas
  • Transform data
  • Incorporate hand-edited Java classes and libraries
Activity Recommended content
Creating an XSD schema for an XML variable This wiki article detail technique that may be useful if you're not familiar with creating schemas.
Building a Schema for an Xml Variableexternal link
Learn about WPF XML APIs Also refer to the Javadoc for com.bowstreet.util.IXml and com.bowstreet.util.XmlUtil in the Web Experience Factory Designer help.
Using Portlet Factory’s IXml and XmlUtil Interfacesexternal link
Leveraging existing Java beans This is a sample uses the Java/XML Converter builder to handle the conversion between Java and IXml, and to generate a schema for the Bean structure.
Creating a service provider from Java Beansexternal link
Take advantage of the Web Services and XML Schema forum This forum is for developer questions and discussions around use of XML Schema and Web Services.
IBM WebSphere Portlet Factory - Web Services and XML Schemaexternal link

Deploying applications

  • Build and deploy WAR files for test and production
Activity Recommended content
Review product documentation about automating the generation of WAR files This section of the documentation describes how to generate a WAR from source files using an ANT script.
Automatic generation of WAR filesexternal link
Review chapter 11 of the Redbook Chapter 11 of the Portal Application Development Using WebSphere Portlet Factory Redbook describes the production deployment of the portlet WAR generated either from the WebSphere Portlet Factory Designer or using ANT scripts.
Chapter 11. Production deploymentexternal link

Understanding application architecture

  • Understanding Web Experience Factory architecture
  • Building portlets from multiple models
Activity Recommended content
Learn more about the Web Experience Factory architecture See an overview of Web Experience Factory architecture including builders and profiling.
Web Experience Factory Architecture presentationexternal link
Learn how to combine multiple Web Experience Factory models into an application or portlet Review guidelines for working with multiple models.
Techniques for working with multiple models in WebSphere Portlet Factoryexternal link

Debugging your Web Experience Factory application

  • Basic understanding of Web Experience Factory development
  • Basic understanding of logging and Java
Activity Recommended content
Learn how to debug your Web Experience Factory application This is an article that goes over general debugging techniques within Web Experience Factory. There are also links to further information provided within the content.
Debugging your Web Experience Factory applicationexternal link

Working with advanced features

Advanced profiling

  • Control application variation through a properties file
  • Create a custom profile handler
Activity Recommended content
Explore sample profile handler that gets values from a properties file This sample includes a profile values handler that reads values from a properties file. This can let you control any builder inputs for a project from a properties file. For example, you could use it to configure environment-specific values such as server names or data source names.
Profile management via properties fileexternal link
Explore the profile selection handlers provided in the Portlet Factory product This section of the product documentation talks about the sample profile handlers provided in the product.
Profile selection handlersexternal link

Working in a team development environment

  • Use a source code control system (CVS) with Web Experience Factory
  • Create builds from automated or command line tools
Activity Recommended content
Set up source code control and command line builds Get started with command line deployments and a review the topic on automating the command line deployment process using your source control project environment.
Your team development environment
Automation and scripting of publishing and exporting
Learn more about using WebSphere Portlet Factory with CVS Learn more about how to set up a team environment and find some considerations for setting up the WebSphere Portlet Factory workspace.
Using CVS with Portlet Factoryexternal link

Creating custom builders

  • Create builders to implement new design patterns
  • Create builders that integrate new data sources
  • Control a builder's design time interface
Activity Recommended content
Complete the making a builder tutorial Learn how to creating custom builders in WebSphere Portlet Factory.|Tutorial: Creating a Custom Builder">Tutorial:">|Tutorial: Creating a Custom Builderexternal link
Explore sample builders on wiki In the samples and techniques section of the wiki find samples and articles on techniques for creating custom builders.
Samples and techniques > Making buildersexternal link
View the making builders presentation The presentation about making custom builders explains what builders are, how they are used, and how to create a custom builder.
Extending WebSphere Portlet Factory with Custom Buildersexternal link
View product documentation for reference information on developing builders The following section of the product documentation includes reference information for builder classes and XML files, including information on creating the builder's user interface.
Builder Classesexternal link
Learn how to make custom builders available to team members This page on the wiki describes how to create and install packages containing custom builders.
How can I make a set of custom builders available to other developers and projects?external link

Designing for performance

  • Build applications with optimized performance and scalability
  • Diagnose performance issues and hot spots
  • Monitoring system performance
Activity Recommended content
Read performance tips Learn more about best practices to improve performance and memory usage. This page collects some best practices for Portlet Factory related to performance and memory. This is not a comprehensive list, and most of the best practices for the underlying platforms – WebSphere Portal, J2EE and WebSphere Application Server, and Java – are also applicable for Portlet Factory applications.
Performance best practicesexternal link
Explore system tracing and model action tracing Model action tracing provides a very quick and valuable way of looking at your application performance. Often you can use this feature to quickly determine which parts of an application are the slowest.
There are two ways to enable and view model action traces: (1) you can enable tracing via a property as described in the link below;
or (2) you can enable tracing from the Run Configuration dialog in Designer, which will then write traces to the system.out file.
This feature lets you see all the actions that take place during server requests to a model. It shows the sequence of operations, such as calls to methods and page display, with elapsed time for each. This is most useful for looking at application behavior for a single user during testing. See the link below for information on interpreting the traces.
Techniques to enhance WebSphere Portlet Factory application performance
Review key server statistics Learn how to analyze the performance of your Web Experience Factory application.
Server statistics and performance analysisexternal link

Key resources

Activity Recommended content
Getting started with Web Experience Factoryexternal link This document gives an introduction and overview to building applications with Web Experience Factory.
Web Experience Factory wikiexternal link This wiki is a rich and up-to-date resource for all things related to working with Web Experience Factory. It includes samples, articles, best practice documents, FAQs, and links to other resources.
Forums on developerWorksexternal link These forums are a great place to ask a question if you get stuck, or to search for solutions. They are closely monitored by the Web Experience Factory team, so you will usually get a prompt reply.
Training courses external link There are a few Portlet Factory training classes offered by IBM, such as the popular "WebSphere Portlet Factory Top Gun Application Development" class.
Factory 8.0 Information Centerexternal link The product help includes a complete reference for builders and other product features.
Best practices for model developmentexternal link Provides best practices, tips, and suggestions from the Web Experience Factory development team for developers who are either currently using or are expecting to use Web Experience Factory.
Portal Application Development Using WebSphere Portlet Factoryexternal link This Redbook provides an in-depth look at all aspects of WebSphere Portlet Factory development, using a comprehensive example based on a fictitious company.
Rapid Portlet Development with WebSphere Portlet Factory This book provides an introduction to using WebSphere Portlet Factory, with a step-by-step guide and numerous tips.
Buy it on Amazonexternal link
Read it on Safari Books Onlineexternal link