Cream on top of sugar cake
Over the last few years we've been busily writing the latest and greatest version of Magnolia. After all of this focus on new and (we hope) great, it seemed like time to focuse on something old and great.
If you are old enough to remember the ZX Spectrum, the Commodore 64 or their various competitors, or if you like any kind of games, please keep on reading.
Now to have some fun, you can actually make this old good ZX Spectrum engine gun within your Magnolia installation and play some games while working.
With Magnolia 5.0 task of getting emulator run got so simple it will not take you more then 60 seconds to get the game in.
First you need to download and install your brand new Magnolia 5.0. If you have already done this and started it up, go to "Configuration", and under /modules/sample-app/apps
- add new content node and call it "lodeRunner"
- add new property to lodeRunner, call it "appClass" and set its value to "info.magnolia.ui.framework.app.BaseApp"
- add new property to lodeRunner, call it "icon" and set its value to "app-icon"
- add new property to lodeRunner, call it "label" and set its value to "Lode Runner"
- add new content node to lodeRunner and call it "subApps"
- add new content node to subapps and call it "main"
- add new property to main, call it "class" and set its value to "info.magnolia.ui.framework.app.embedded.EmbeddedPageSubAppDescriptor"
- add new property to main, call it "subAppClass" and set its value to "info.magnolia.ui.framework.app.embedded.EmbeddedPageSubApp"
- add new property to main, call it "url" and set its value to "http://torinak.com/qaop#!loderunner"
that's it, our app is configured. All we need now is to add it to the menu. To do so, go to "Configuration" and under /modules/ui-framework/config/appLauncherLayout/groups
- add new content node and call it "games"
- add new property to games, call it "color" and set its value to your favourite color, e.g. "#666666"
- add new property to games, call it "label" and set its value to "Games"
- add new property to games, call it "permanent" and set its value to "true"
- add new content node to games and call it "apps"
- add new content node to apps and call it "lodeRunner"
and we are done. Click again on App Launcher icon and you could see the Games menu next to the dev and your Lode Runner game under it. Click on Load Runner and game will open.
If you want more games, just repeat the above as many times as necessary. Just make sure you tell your boss you are playing games and not actually working, unless you are brave enough to try to get it paid as "learning".
Of course you can reuse the exactly same process to reintegrate any other webapp in you Magnolia Shell (AdminCentral, Cockpit, ... ???) to provide your users with single point of access for all corporate apps.
Hope you have enjoyed the show so far. Just last remark - when you are adding or playing games, please make sure using the roms for games is legal in your country and you are not infringing on anyones copyright.