Model Inheritance in Python Django

Amongst, other things, Django as a powerful framework allows you to directly map your object-oriented models to a database table structures and in doing so also builds relationships in the backend. A big part of object-oriented programming is Inheritance and the tutorial below demonstrates how to create 1:1 relationship between models. Basic Background Let’s assume that…

Read More

Prevent hyperlink events from CSS3

Ever wondered if it possible to prevent a hyperlink from executing (i.e.) launch a new web page, a new window, display a HTML page, or simply prevent anything from happening when a link is clicked? It is possible using CSS3. All you have to do is add the following CSS3 declaration for the anchor <a> tag.

This prevents…

Read More

CSS3 Columns and WebPage Pagination

The traditional HTML4/CSS/JavaScript were not conducive to laying out webpages into columns. Converting content to columns in webpages was traditionally accomplished using the table, tr, td tags or by combining div, span, and other tags in the context of a predefined webpage layout logic.This worked well until we started seeing emergence of laptops with different…

Read More

Create a RSS Reader in Swift

The following steps are intended to let you create your own RSS Reader using Swift. Create a class called RssItem The RssItem is a class and each of the Rss XML attribute is a property of the class and save it as RssItem.swift.

Create a class called RssItemManager The RssItemManager is truly the parser. It…

Read More

Box.com: Uploading content via email

Box.com allows you to upload content via email. This is extremely effective when you are gathering “completed” template files/inputs from many people (or) would like to create a journal of all interactions (or) simply save email attachments into a folder. To upload content via email: 1. Select the appropriate folder where you would like to receive…

Read More

Simply Play…

In many recent conversations, I have had to reflect on that one momentous feedback and I believe it is the concept of “Simply Play“. One of my prior bosses (who is now a friend for life) told me in a conversation – “Simply Play“. Play with Purpose There are two purposes – personal and professional…

Read More

Keeping things in perspective

I woke up early this morning and was going through the chores and checking work emails on phone. A business critical system was down this AM. The social media was chattering, email was buzzing, and folks were still waking up (or) getting on it to support. I hopped on a conference line with my Bluetooth,…

Read More

Are you fully present?

Now a days we suffer from the overage of communication media. While these media elements have increased connectedness, they have significantly impacted relatedness. Today, we typically carry 2 mobile phones, have a work landline, home landline, email, Facebook, Twitter, LinkedIn, SMS, What’sApp, Viber, and probably a few more. All of these are great tools but…

Read More