Articles

Java Code Standards for Liferay

13 April 2020

Coding Standards for Liferay

This article is meant to provide guidance for myself and others on what I would recommend from my coding experience using Liferay. we will focus on Java initially and expand into Javascript. Most of this experience is carried forward from Liferay 6.2 but looks to work well with Liferay 7.1. We ran both versions using OpenJDK 1.8.

Our standards will be based on Effective Java 2nd Edition available from Amazon and from Alibris. A 3rd edition is available. It is for newer OpenJDKs and will not be referenced here. Most of our deviations from the book are an effort to make unit testing faster and easier to achieve.

Javascript Code Standards for Liferay

13 April 2020

Coding Standards for Liferay

This article is meant to provide guidance for myself and others on what I would recommend from my coding experience using Liferay. Most of this experience is carried forward from Liferay 6.2 but looks to work well with Liferay 7.1. We continue to maintain backward compatibility with IE11.

Our standards will be based on what has worked well for us. Javascript: the Good Parts is a good resource for the many cases not addressed by this document. Douglas Crockford also has some fantastic lectures on Youtube. The one covering the history of programming focusing on Javascript is my favorite. JavaScript - Volume 1: The Early Years.

Using Sennajs on a Static Website

16 January 2020

Sennajs is a Single Page Application (SPA) Javascript framework. It allows navigation of a website/web application and only updates the part of the page that changes. This allows for faster navigation and less page flicker. I became interested in Sennajs because it is used by Liferay Portal 7.x. For light weight static content Sennajs can be overkill. I wanted to learn about it and used this site as my testbed. I am now looking to remove it and want to document how I used it.

Tips

XFCE Terminal Liferay Development Setup Command

27 May 2020

I use something like the below to easily setup XFCE Terminals to a standard usage for Liferay Development.

Helpful Git Commands

02 April 2020

Useful Git commands for various situations.xx

Helpful Linux Commands for testing Multicasting

30 May 2019

Finding useful commands for troubleshooting multicasting was difficult because most were not installed on the servers.


Less Is More ~ Older posts are available in the archive.