Django Uni-Form

48
Django Uni-Form

description

My presentation on the history and usage of Django Uni-Form.

Transcript of Django Uni-Form

Page 1: Django Uni-Form

Django Uni-Form

Page 2: Django Uni-Form

Who am I?

Page 3: Django Uni-Form

Who am I?Daniel Greenfeld

Page 4: Django Uni-Form

Who am I?Daniel Greenfeld

NASA Geek

Page 5: Django Uni-Form

Who am I?Daniel Greenfeld

NASA Geek

Pinax Core Developer

Page 6: Django Uni-Form

Who am I?Daniel Greenfeld

NASA Geek

Pinax Core Developer

Djangonaut!

Page 7: Django Uni-Form

What is Section 508?

In 1998 the US Congress amended the Rehabilitation Act to require Federal agencies to make their electronic and information technology accessible to people with disabilities. Section 508 was enacted to eliminate barriers in information technology, to make available new opportunities for people with disabilities, and to encourage development of technologies that will help achieve these goals. The law applies to all Federal agencies when they develop, procure, maintain, or use electronic and information technology. Under Section 508 (29 U.S.C. § 794d), agencies must give disabled employees and members of the public access to information that is comparable to the access available to others.

-Wikipedia (http://en.wikipedia.org/wiki/Section_508)

Page 8: Django Uni-Form

What is Section 508?

Page 9: Django Uni-Form

What is Section 508?

Rules for making technology theoretically accessible by individuals with disability.

Page 10: Django Uni-Form

What is Section 508?

Rules for making technology theoretically accessible by individuals with disability.

Easy to implement if you know how.

Page 11: Django Uni-Form

What is Section 508?

Rules for making technology theoretically accessible by individuals with disability.

Easy to implement if you know how.

Unfortunately doesn't actually force software to be accessible to the disabled.

Page 12: Django Uni-Form

What is Section 508?

Rules for making technology theoretically accessible by individuals with disability.

Easy to implement if you know how.

Unfortunately doesn't actually force software to be accessible to the disabled.

Enforceable across all government agencies or organizations accepting money from government agencies.

Page 13: Django Uni-Form

Why do we care?

Page 14: Django Uni-Form

Why do we care?

US Government work requires it.

Page 15: Django Uni-Form

Why do we care?

US Government work requires it.

Disability software is said to be a $170 billion a year industry.

Page 16: Django Uni-Form

Why do we care?

US Government work requires it.

Disability software is said to be a $170 billion a year industry.

Open source tends to support accessibility/usability well.

Page 17: Django Uni-Form

Why do we care?

US Government work requires it.

Disability software is said to be a $170 billion a year industry.

Open source tends to support accessibility/usability well.

Its the right thing to do!

Page 18: Django Uni-Form

Lets get technical

Page 19: Django Uni-Form

Tables are for tabular data

Page 20: Django Uni-Form

In Section 508, most tabular forms are forbidden!

Page 21: Django Uni-Form

In Section 508, some tabular forms are allowed

Page 22: Django Uni-Form

Django forms rock!

Page 23: Django Uni-Form

Normal forms rock!

Page 24: Django Uni-Form

Model forms rock!

Page 25: Django Uni-Form
Page 26: Django Uni-Form

Forms as paragraphs

Page 27: Django Uni-Form

Forms as unordered lists

Page 28: Django Uni-Form

Out of the box pretty Django forms are tabular

Page 29: Django Uni-Form

Django forms summary

Native views of Django forms can be Section 508 compliant

Hard to do form-style layouts with paragraphs

Harder to do form-style layouts with unordered lists

Table based formats are mostly verboten

Django docs do show how to do div based forms

Page 30: Django Uni-Form

Spacebook

Page 31: Django Uni-Form

Spacebook

Too many forms!FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

FORMS

Page 32: Django Uni-Form

Django Uni-Form =

Page 33: Django Uni-Form

Django forms docs on divs +

Page 34: Django Uni-Form

Simple Django custom filter +

Page 35: Django Uni-Form

Dragan Babić's Uni-Form library

Page 36: Django Uni-Form

Django Uni-Form =

Django forms docs + template tag + Uni-Form css/js forms library

Page 37: Django Uni-Form

http://github.com/pydanny/django-uni-form

Page 38: Django Uni-Form

Who uses it?

Page 39: Django Uni-Form
Page 40: Django Uni-Form

Basic Usage

Page 41: Django Uni-Form

Intermediate Usage I

Page 42: Django Uni-Form

Intermediate Usage II

Page 43: Django Uni-Form

Layout Controls - The Form

Page 44: Django Uni-Form

Layout Controls - The Controls

Page 45: Django Uni-Form

Layout Controls - The Template

Page 46: Django Uni-Form

The Future of Django Uni-Form

Page 47: Django Uni-Form

Contributing Back

Page 48: Django Uni-Form

http://github.com/pydanny/django-uni-form