Liferay in Action
The Official Guide to Liferay Portal Development
Richard Sezov, Jr
Foreword by Brian Kim
  • September 2011
  • ISBN 9781935182825
  • 376 pages
  • printed in black & white

Flat-out the best guide for Liferay 6.0 and the upcoming 6.1 release.

Brian Kim, Liferay COO

Liferay in Action is a comprehensive and authoritative guide to building portals on the Liferay 6 platform. Fully supported and authorized by Liferay, this book guides you smoothly from your first exposure to Liferay through the crucial day-to-day tasks of building and maintaining an enterprise portal that works well within your existing IT infrastructure.

Table of Contents show full

foreword

preface

acknowledgments

about this book

about the cover illustration

Part 1 Working with Liferay and portlets

1. The Liferay difference

1.1. The Java portal promise: from disappointment to fulfillment

1.2. Getting to know Liferay

1.3. How Liferay structures a portal

1.4. Getting around in Liferay

1.5. Imagining your site in Liferay

1.6. Summary

2. Getting started with the Liferay development platform

2.1. Installing Liferay and the Plugins SDK

2.2. A crash course in Liferay server administration

2.3. Setting up the Plugins SDK

2.4. Developing a portlet plugin

2.5. Making Hello World into Hello You

2.6. Deploying and testing your portlet

2.7. Summary

Part 2 Writing applications on Liferay’s platform

3. A data-driven portlet made easy

3.1. Introducing Inkwell: a case study

3.2. Designing the Product Registration portlet

3.3. Generating DB code with Service Builder

3.4. Creating a buffer to the persistence layer

3.5. Service Builder in action

3.6. Summary

4. MVC the Liferay way

4.1. Using Model-View-Controller

4.2. Configuring the portlet project

4.3. Creating a form with AlloyUI taglibs

4.4. Generating different field types with AlloyUI taglibs

4.5. Using Liferay’s MVC makes your portlets simpler

4.6. Summary

5. Designing your site with themes and layout templates

5.1. Understanding themes and their structure

5.2. Understanding theme markup, CSS, and JavaScript

5.3. Reaping the benefits of Alloy UI

5.4. The liferay-look-and-feel.xml file

5.5. Understanding theme conventions

5.6. Designing a page with layout templates

5.7. Inkwell implementation

5.8. Summary

6. Making your site social

6.1. Social networking: why is it important?

6.2. Installing Liferay’s social networking portlets

6.3. Understanding Liferay’s social features

6.4. Using profile pages

6.5. Friends, Romans, and countrymen: they’re all social relations

6.6. Implementing social activities in your portlets

6.7. Summary

7. Enabling user collaboration

7.1. Building a collaborative app: a slogan contest

7.2. Adding assets to your applications

7.3. Running your data through a workflow

7.4. Tagging and categorizing content

7.5. Adding discussions and ratings

7.6. Creating custom queries using SQL

7.7. Summary

Part 3 Customizing Liferay

8. Hooks

8.1. What is a hook?

8.2. What hooks can customize

8.3. Hooks in action: customizing Inkwell’s shopping cart

8.4. Summary

9. Extending Liferay effectively

9.1. Introducing Ext plugins

9.2. Ext in action

9.3. Delivering a page, Liferay style

9.4. Understanding Liferay development best practices

9.5. Summary

10. A tour of Liferay APIs

10.1. Making URLs friendly

10.2. Organizing larger applications

10.3. Filtering content at the view level

10.4. Accessing other databases

10.5. Sending messages over Liferay’s message bus

10.6. Scheduling jobs

10.8. Summary

© 2014 Manning Publications Co.

About the Technology

A portal is a website built around a collection of components that request, display, and share information. Liferay Portal 6, an enterprise-ready development platform, makes it a snap to build portals that integrate with your existing backend systems and provide a rich interactive user experience. Because Liferay uses standard Java and JavaScript, along with built-in SOAP and JSON support for web services, developers can be productive immediately. And since it's available in both a free, open source version as well as a fully-supported commercial edition, it's an affordable solution for almost any business or organization

About the book

Liferay in Action is the official guide to building Liferay portal applications using Java and JavaScript. If you've never used Liferay before, don't worry. This book starts with the basics: setting up your development environment and creating a working portal. Then, it builds on that foundation to help you discover social features, tagging, ratings, and more. You'll also explore the Portlet 2.0 API, and learn to create custom themes and reusable templates.

Experienced developers will learn how to use new Liferay APIs to build social and collaborative sites, use the message bus and workflow, implement indexing and search, and more. This book was developed in close collaboration with Liferay engineers, so it answers the right questions, and answers them in depth.

What's inside

  • Complete coverage of Liferay Portal 6
  • Covers both the commercial and open source versions
  • Custom portlet development using the Portlet 2.0 spec
  • Liferay's social network API
  • Add functionality with hooks and Ext plugins

About the reader

No experience with Liferay or the Portlets API is required, but basic knowledge of Java and web technology is assumed.

About the author

Rich Sezov is Liferay's Knowledge Manager and is the author of the Liferay Portal Administrator's Guide. He leads Liferay's documentation and training materials team.


combo $44.99 pBook + eBook
eBook $35.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

Excellent in-depth treatise on the most popular CMS on the planet.

Sumit Pal, LeapFrogRx Inc.

Harness the full power of this juggernaut technology.

Tariq Ahmed, Amcom Technology

A great companion to Liferay's Admin Guide.

John J. Ryan III, Princigration LLC

Expertly written, thorough coverage.

John S. Griffin, Coauthor of Hibernate Search in Action