modern domino: addresses

11
www.redpilldevelopment.com learn. do. dream. Modern Domino Addresses

Upload: peter-presnell

Post on 25-May-2015

1.153 views

Category:

Technology


0 download

DESCRIPTION

Modern means many things. This includes the way we enter and display address details within Notes applications

TRANSCRIPT

Page 1: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Modern DominoAddresses

Page 2: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Classic Addresses

• Addresses are an integral part of many Notes applications.• One of the original purposes for storing

addresses was to facilitate the printing of mailing labels.• Today it is more common for B2B and

B2C communication to take place via email or social media.• It is now more likely that an address

will be used to provide data for a mapping tool or GPS.• But how many Notes applications

continue to support addresses in a way best suited for mailing labels versus a mapping tool?

Page 3: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Classic Address Formats

• Address format vary around the world.• In the US the standard format adopted

by USPS comprises two lines for street address, followed by a line with city, state, and zip code (postcode).

• In Notes applications an address is typically represented by five separate fields, one for each component.

• If multiple addresses are required (e.g. billing versus mailing address) we typically see multiple groups of five fields for each address.

• It is rare for an application to consolidate these into a single address field.

Page 4: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Data Entry

• On a mobile device such as a smart phone entering addresses can be a chore, especially when a classic address format has been used.

• Unless mailing labels are still being used it doesn’t seem to make much sense to have two separate fields for street address.

• In the US the zip code has an 80% chance of identifying the city and a 99%+ chance of identifying the State.

• To reduce data entry consider placing the zip code before the city and state and prepopulate these two fields based on the zip code entered.

Page 5: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Data Entry Code

Page 6: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Data Entry Code

Page 7: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

GPS

• For some applications there is a need to capture the current location. If the device has a built-in GPS it is possible to convert the current location into an address and pre-populate the address field(s) virtually eliminating the data entry.• GPS systems can be inaccurate so it is

usually a good idea to allow the user of the application the ability to correct the address.• If it is important to ensure the current

location is always used, store the longitude and latitude as non-editable fields.

Page 8: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

GPS Code*

* Example Uses jQuery

Page 9: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Mapping

• On mobile devices it is possible to link an address to the devices native map application.• It is usually a good idea to

consolidate each address into a single (computed) field to facilitate mapping. •When displaying an address,

the consolidated address can be displayed as a link to a mapping tool.

Page 10: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Mapping Code

Page 11: Modern Domino:  Addresses

www.redpilldevelopment.comlearn. do. dream.

Mapping Code (Components)

• If a single address field is not available the address can be calculated using EL.

value="${document1.donorAdd1} ${document1.donorCity} ${document1.donorState} ${document1.donorZip}"