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 54: Scott Nicklous and Neil Griffin on JSR 362 - Portlet 3.0
In this episode, recorded at Liferay's Devcon 2015 in Darmstadt/Germany, I'm talking to Scott Nicklous and Neil Griffin. Scott is the specification lead for JSR-362 - otherwise known as the Portlet Specification 3.0 - and Neil serves as Liferay's representative on the expert group.
- JSR 362 page with all the latest and current information (spec, prototype implementation and javadoc)
- The expert group
- JSR 286 portlets will run unchanged on JSR 362 (runtime and compiletime compatibility)
- My repeat favourite statement about frameworks in the web world.
- JSR 362 and its impact on UI, there's a Client-Side standard (on ECMA script) for the first time in the portlet spec
- The big question: When will it be done? (Some time 2016)
- Early Draft Review Spec available, ~80-90% of content is expected to be there (That's the statement from Devcon, in October 2015)
- Reference Implementation (to prove that the spec can be implemented) and TCK still missing (again, October 2015)
- Reference Implementation and TCK will be implemented under the Apache Pluto project, help required
- New Features include Bean-Portlet-Approach (portlet methods specified through Annotations in any Managed Bean), portlet.xml file no longer required if Annotations used
- specifies a JS API despite being a JSR, which covers traditionally only Java
- Dependency to JavaEE: Minimum is JavaEE 7, e.g. Servlet 3.1 etc.
- Portlet Spec is not part of the JavaEE, but extends some of its elements.
- JSR 378: Portlet 3.0 bridge for JSF (where Neil is the spec lead), being built in parallel with JSR-362
- Multiplatform Support, Websocket, Devices
- The E-Mail Archive of the specification process is public - contribution and comments are very welcome
Follow @RadioLiferay on twitter for news about the latest episodes, and occasionally more.
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 liferay.com/radio.
Or just download the MP3 here: