Slide 1

Slide 1 text

WHAT'S IN A NAME (VALIDATION)?

Slide 2

Slide 2 text

Hello! I'M CARLY HO engineer @ clique studios http://carlymho.com/ @carlymho

Slide 3

Slide 3 text

VALIDATING NAMES

Slide 4

Slide 4 text

names: important info, difficult to validate

Slide 5

Slide 5 text

WHAT IS A NAME?

Slide 6

Slide 6 text

what do we assume about names?

Slide 7

Slide 7 text

what are names but no, really

Slide 8

Slide 8 text

the form of a name is different almost everywhere

Slide 9

Slide 9 text

in the USA, we still often assume western euro norms

Slide 10

Slide 10 text

names: a way to refer to someone. pretty much it

Slide 11

Slide 11 text

sorry, there's no good way to validate them D:

Slide 12

Slide 12 text

SO WHAT CAN YOU DO?

Slide 13

Slide 13 text

what do you need the name for?

Slide 14

Slide 14 text

do you need to ID them by name?

Slide 15

Slide 15 text

do you need to separate first name/last name?

Slide 16

Slide 16 text

do you only need one part of a name?

Slide 17

Slide 17 text

THINK AHEAD

Slide 18

Slide 18 text

don't assume you can get info other than name from a name

Slide 19

Slide 19 text

don't assume which part is the surname/family name

Slide 20

Slide 20 text

make sure your ui accommodates both long + short names

Slide 21

Slide 21 text

let the user help you by telling them what you'll use the name for

Slide 22

Slide 22 text

COMPASSIONATE VALIDATION

Slide 23

Slide 23 text

your system might not be able to process all possible names

Slide 24

Slide 24 text

don't position it as a problem with the user's name

Slide 25

Slide 25 text

admit the system limitation in validations + work to improve

Slide 26

Slide 26 text

Thanks! QUESTIONS? You can find me at http://carlymho.com/ @carlymho

Slide 27

Slide 27 text

RESOURCES & FURTHER READING "Regular Expression for Validating Names and Surnames," stackoverflow "Your Last Name Contains Invalid Characters," John Graham-Cumming "Representing People's Names in Dublin Core," Andrew Waugh "Wookey - is that it?" Wookey "Falsehoods Programmers Believe About Names," Patrick McKenzie