Welcome to Radio Liferay, a peek into what is going on in Liferay from the people doing it themselves.
Radio Liferay Episode 60: Performance and Permissions with Preston Crary
An episode on the "Per" things: Performance and Permissions. I spoke to Preston Crary, who amazingly was not mad at me for losing an earlier recording.
- We open with the attention to detail that's required for working on performance tuning and some short conversation about this topic.
- Sadly, there's not often a single silver bullet, but many areas of dust.
- Sometimes the fastest code is not the most optimal
- Continuing with Preston's work on Permissions:
- ResourceBlock is deprecated, and there's an easy migration path
- an example upgrade path for bookmarks
- The usecase for Resources, ResourcePermission, and ResourceBlocks (as they're not at all visible on the UI)
- Preston's way through Liferay from Support to working on the topics that he's now working on
- The new API for Permissions - and the documentation is also done already (as of me writing this article, not yet published, but available on github - should be a matter of days or hours)
- Should you implement your own permission system? (and how the answer to this question might change in 7.1)
- Upgrades are being performance tuned. I smell a future episode coming up. Paging the team that is working on this area
- The remarkable memory savings that refactoring the UserBag introduced
- What happend during login
- Passwords are PBKDF2WithHmacSHA1/160/128000 hashed, a deliberately expensive password hashing algorithm.
- LPS-75747 and an update to my hardball question: Document Library's default.xml is still in core, can't be updated through a module, just through an ext.
You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to http://feeds.feedburner.com/RadioLiferay. You can also subscribe on itunes.: Just search for "Radio Liferay" or just "Liferay" in the podcast directory. Make sure to write a review for the podcast directory of your choice - or find everything about Radio Liferay on radioliferay.com.
Or just download the MP3 here:
Radio Liferay Episode 31: Neil Griffin
- Liferay Faces started with portletfaces.org, a cooperative work by Triton and Mimacom. Neil started at Triton, then came to Liferay and Triton and Mimacom donated the code.
- Liferay Faces (LF) consists of LF Bridge, LF Alloy, LF Portal, LF Util.
- You can find a lot of Demos for integration with different components, LF Alloy, Icefaces, Primefaces, RichFaces, InterPortletCommunication. (find Demos)
- The history and problems with earlier JSF versions (esp. Version 1) in Portlets: JSR-329 standardized a standard portlet bridge, those were typically built independently of the portals.
- With JSF 2.0 the integration into portlets got easier and the problems vanished.
- We have 20 Legends now - thanks for all the forum participation
- How does a portlet bridge work and why do values end up in the session even though we've declared them to be request-scoped? E.g. what phases from the JSF lifecycle are bridged to what phases in Portlets?
- With JSF 2.2 one can finally go stateless, previous versions have been strictly stateful.
- AlloyUI 2.0 and its integration into Liferay Faces Alloy, a JSF implementation that utilizes AlloyUI and YUI components.
- Liferay Faces 4.1/4.2 is targetting Java EE 7 (e.g. JSF 2.2) and 4.2 is planned to be released with Liferay 6.2.
- Liferay Faces is distributed through Maven Central, thus it's ready for use and the release is technically independent of Liferay.
- Liferay IDE already integrates JSF in the "New Portlet" Wizard, and it will become a lot better in the next versions
- Neil's JSR involvement (JSR 314, JSF 2.0, JSR 344, JSR 2.2, JSR 362 Portlet 3.0)
- Due to the involvement in the new portlet standard: What's the Portlet 3.0 committee working on?
- CDI Context & Dependency Injection, Conversation Scope, liferay-cdi-portlet-bridge.jar, Implementations: JBoss Weld, Open WebBeans, Resin Candi
- Shoutout to the various cooperators, e.g. from RedHat: Ken Finnegan, Stan Silvert, Pete Muir & Jozef Hartinger, from Oracle: Ed Burns, Mike Freedman, Roger Kitain, Manfred Riem, many Liferay Engineers
- Neil will be at DevCon in Berlin and at other upcoming symposium(s?)
You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to http://feeds.feedburner.com/RadioLiferay. You can also subscribe on itunes.: Just search for "Radio Liferay" or just "Liferay" in the podcast directory.