This document discusses multi-step forms and faceted search capabilities for Liferay. It describes existing Liferay functionality for forms and search, and then introduces portlets created to add multi-step forms and faceted search features. These portlets integrate with Liferay to provide enhanced customizable forms and search based on categories while extending rather than replacing core Liferay features. The portlets are demonstrated and areas for further improvement are noted.
How to Troubleshoot Apps for the Modern Connected Worker
h.pdf
1. Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction Multi-step Forms / Faceted Search
Forms
Liferay WCM
Alternatives
Multi-step forms
Sven Werlen
Search
Liferay Search
Alternatives Savoir-faire Linux
Faceted Search
Conclusions
February 16, 2011 10:00:00 PST
2. Agenda
Multi-step
Forms / Faceted
Search
Sven Werlen 1 Introduction
Introduction
2 Multi-step Forms
Forms
Liferay WCM Liferay WCM
Alternatives
Multi-step forms Alternatives
Search Multi-step forms
Liferay Search
Alternatives
Faceted Search
3 Faceted Search
Conclusions
Liferay Search
Alternatives
Faceted Search
4 Conclusions
3. Introduction
Environment
Multi-step
Forms / Faceted
Search
Sven Werlen
Liferay Community Edition 6.0.5
Introduction Portlets :
Forms
Liferay WCM
spring-forms-example-portlet
Alternatives search
Multi-step forms
Search
Hooks
Liferay Search
Alternatives
community-support
Faceted Search spring-forms-edit-hook
Conclusions spring-forms-sample-data-hook
Development tools
Eclipse
Liferay SDK
Apache Maven
4. Multi-step forms
Liferay WCM
Multi-step
Forms / Faceted
Search
Sven Werlen
Liferay WCM
Introduction Generic (structures, templates, tags, categories, . . . )
Forms Flexible (asset publishers, web content display, etc. . . )
Liferay WCM
Alternatives
Re-usable
Multi-step forms Sharable
Search Easy (WYSIWYG Editor)
Liferay Search
Alternatives
Faceted Search
Issues
Conclusions
Sometimes confusing (too many steps required)
No validation
No tooltip
Could be more user-friendly
One simple form
5. Multi-step forms
Alternatives
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Existing forms builders
Forms
Orbeon Forms
Liferay WCM http://www.orbeon.com
Alternatives
Multi-step forms TIBCO General Interface
Search http://www.generalinterface.org
Liferay Search
Alternatives
Alphinat SmartGuide
Faceted Search http://www.alphinat.com
Conclusions
Issues
External WCM
Liferay integration
6. Multi-step forms
Our solution
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Multi-step forms portlet
Forms
Liferay WCM Based on Liferay WCM
Alternatives
Multi-step forms
Transparent integration
Search
Layer on top of Liferay web content forms
Liferay Search
Alternatives
Faceted Search Issues
Conclusions Not a form builder !
Requires development skills
Internationalization to be implemented
7. Multi-step forms
Features
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction Features
Forms
Multi-step
Liferay WCM
Alternatives Validations
Multi-step forms
Auto-completion
Search
Liferay Search
Friendly-URLs
Alternatives Intermediate saves
Faceted Search
Versioning
Conclusions
Summary page
Starting page
Asset publisher hook (optional)
8. Multi-step forms
Demo
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Forms
Liferay WCM
Alternatives
Multi-step forms
Search
Liferay Search
Alternatives
Faceted Search
Conclusions
9. Faceted Search
Liferay Search
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Liferay Search
Forms
Liferay WCM Specific search (on a given portlet)
Alternatives
Multi-step forms
General search
Search
Liferay Search Issues
Alternatives
Faceted Search Not very intuitive
Conclusions Displays full content without context
Tag/category search still very basic
...
10. Faceted Search
Alternatives
Multi-step
Forms / Faceted
Search Existing search engines
Sven Werlen Google Custom Search
Introduction http://www.google.com/cse/
Forms
Google Search Appliance
Liferay WCM http://www.google.com/enterprise/search/
Alternatives
Multi-step forms gsa.html
Search Apache Solr
Liferay Search
Alternatives
http://lucene.apache.org/solr/
Faceted Search Constellio
Conclusions http://www.constellio.com/
...
Issues
Not very well integrated
Maintenance
Efficiency
11. Faceted Search
Our solution
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Search portlet
Forms
Based on Liferay lucene
Liferay WCM Supports faceted search
Alternatives
Multi-step forms Flexible / customizable
Search Transparent integration
Liferay Search
Alternatives
Mainly based on AssetEntry
Faceted Search
Conclusions Issues
Only categories as facets
No pagination yet
No advanced faceted search (ranges, min-max, . . . )
12. Faceted search
Features
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction Features
Forms
Liferay WCM
Faceted search based on Liferay Folksonomies
Alternatives See Jonas Yuan Blog
Multi-step forms
Different modes
Search
Liferay Search
Generic search
Alternatives Pre-defined search
Faceted Search
Conclusions
Customizable
Types
Vocabularies
Full screen mode
13. Faceted Search
Demo
Multi-step
Forms / Faceted
Search
Sven Werlen
Introduction
Forms
Liferay WCM
Alternatives
Multi-step forms
Search
Liferay Search
Alternatives
Faceted Search
Conclusions
14. Conclusions
Multi-step
Forms / Faceted
Search
Sven Werlen
Provides additional features to Liferay
Introduction
Custom forms for entering data (web contents)
Forms
Liferay WCM
Faceted search
Alternatives
Multi-step forms Doesn’t replace Liferay functionalities but extend them
Search
Liferay Search
Still place for improvements. . . don’t hesitate to contribute ;-)
Alternatives
Faceted Search
Conclusions
15. Thank you !
Multi-step
Forms / Faceted
Search
Sven Werlen Thank you !
Introduction
Sven Werlen
Forms
Liferay WCM
Alternatives
Multi-step forms
(contact@savoirfairelinux.com)
Search (Project wiki page)
Liferay Search
Alternatives
Faceted Search
Conclusions