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 23: Olaf Kock, Well Hidden Features
New year's resolution: Publish more podcast episodes. Let's start - Happy New Year, wishing you all the best for 2013...
This is a solo episode with yours truly. I had a lot of fun preparing and presenting this session, "Well Hidden Features", at the european symposium 2012 in Wiesbaden/Germany, as well as in Milano. They both built upon earlier presentations at the nordic and french symposiums and have been used as inspirations for other presentations at the north american as well as the spanish symposium. So, if you were at any of these symposiums, there's a good chance that you've heard some of the content.
Also, if you're working with Liferay for some time, there's another good chance for you to know some of the tipps&tricks already. As I mention at the beginning of the recording: This all is trivial knowledge - but in order to be trivial knowledge, it first has to be known - and I hope there's something in it even for the more experienced among you.
For those who want to read along the slides for this presentation: They can be found on the download page for the european symposium
Some of the topics you'll find in this episode
- Memory Management and configuration
- What to do when operating a bundle
- Neat features for builtin portlets and hacks I use on liferay.com/radio
- My favourite generator for UTF-8 test data
- How to use jQuery within AUI, and how to learn the differences between the two (and YUI)
- Extending Plugins
- two simple checkboxes in eclipse that made me unlearn the most simple and basic things
- A usecase that you did not know about the scripting console (disclaimer: found out that this works only once)
- An easy way to learn how to use the Liferay API to create users, pages, content etc.
- Getting debug information from your running production portal
- Activating some monitoring information
- My 2 cents about http and https and the largely unknown protocol relative URLs
- Places where you didn't expect to find great documentation
- portal-ext.properties caveats and properties that you might not want to keep in their default values
You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to the RSS feed, on itunes or with your podcatcher of choice - you'll find all the options on www.liferay.com/radio. And if you want to get notified when the next episode is out, follow @RadioLiferay
And please remember to rate this podcast in your podcast directory of choice and provide feedback here on the episodes as well. Thank you.