Usually programmers like myself seldom find the times to do research about coding areas not related to the projects they do. So, in my case, being involved mainly in back-end development I find it hard to keep up to date with front end frameworks and technologies. However, besides my job, I’m also involved in other...
Custom HTML Tags Example – How to Create a HTML Custom tag for Adding a Gravatar Picture
What is a Custom HTML Tag? A custom HTML tag is a tag that is not part of the standard set of HTML tags. What is cool is that you can instruct the browser to recognize and display custom HTML tags. Let’s see how. Can You Create Your Own Tags in HTML? When using HTML...
Long Shadow Plugin for jQuery
Long shadow design is something that is fairly popular lately, so I decided to “try my hand” into creating jQuery plugin to support the creation the long shadow effect on text and image HTML elements. Long shadow design refers to adding long shadows (ha!) to flat design items giving them a sleek 3D look. I chose making...
How to create a simple jQuery plugin with example
jQuery is one of the most popular, if not the most, JavaScript library in use today on the web. It’s been around for a while and web developers have been using it for almost anything from animation to dynamic styling to complex rich user interface applications. I have to be honest, I like jQuery. I’ve...
MySQL backup restore gives “Invalid command” error
Doing the MySQL backup In this short post I would like to share with you a problem I encountered and the solution found while working with the MySQL tool mysqldump. The story is quite simple: doing some maintenance work on one production application server it was standard procedure to make a full MySQL backup before...
Simple Glossy Button CSS Code
Creating a simple glossy button with CSS is quite easy and you only need to know a few CSS tricks. In this post I will show you how to create a glossy button out of an anchor tag using only CSS. At the end of the post you can find the live demo for these...
Hibernate batch insert multiple rows on MySQL
Hibernate batch insert refers to making Hibernate insert multiple records with one query. Some databases support this kind of queries, and some do not. MySQL supports batch inserts, but in order to make Hibernate batch inserts work you need to configure it properly. A batch insert query looks like this: INSERT INTO table (col1, col2)...
Liferay multi-tenancy configuration with shards
Steps to configure a Liferay multi-tenancy environment If you’ve read my previous article Liferay Saas solution – handling multi-tenancy where I describe the principles used to handle a multi-tenancy installation for Liferay, you are probably wondering about the technical details of how to actually configure a Liferay multi-tenancy environment. Well, here is a description of what we...
Liferay Saas solution – handling multi-tenancy
Liferay SAAS Overview While trying to set up an installation of the Liferay Portal (GA 6.0.6) for the company where I currently work there were some requirements that we had to fulfill. The company develops a Liferay Saas solution for supporting various business processes and this has been implemented in the form of portlets deployed...