concept friendly url in category liferay

This is an excerpt from Manning's book Liferay in Action: The Official Guide to Liferay Portal Development.
Next come the contents of the activity
. Activities have various properties: a link to the activity, the key from Language.properties that should be used, and a title and body that can be displayed. Because this is a registration, you’re not using a link (which would provide a link to that user’s personal registration information) or a body; but as you can see, they’re handled similarly to the title, and code in getTitle() handles a link if you have one. If you’re interested, you can look at how Liferay’s Message Boards portlet publishes an activity with a link to the relevant message boards post. You’ll need to know how to do friendly URLs, which are introduced in chapter 10.
The mapper class defines the logic for how to map friendly URLs to regular Liferay URLs. In 99.9999% of instances, you’ll use the DefaultFriendlyURLMapper class that Liferay provides, along with a route that you specify in an XML file. For the .0001% of you out there who are gluttons for punishment, you can provide your own implementation by extending BaseFriendlyURLMapper the way DefaultFriendlyURLMapper does, but I can’t see a reason why you would want to do that.
Now look at the view pattern you created for the friendly URL from listing 10.1:
. Activities have various properties: a link to the activity, the key from Language.properties that should be used, and a title and body that can be displayed. Because this is a registration, you’re not using a link (which would provide a link to that user’s personal registration information) or a body; but as you can see, they’re handled similarly to the title, and code in getTitle() handles a link if you have one. If you’re interested, you can look at how Liferay’s Message Boards portlet publishes an activity with a link to the relevant message boards post. You’ll need to know how to do friendly URLs, which are introduced in