SlideShare a Scribd company logo
Правила хорошего тона
для веб-приложений




Никита Прокопов
tonsky.livejournal.com
Новосибирск, 2011
Что есть хороший тон?


∙ Нарушение не смертельно;
∙ Распространено;
∙ Происходит по незнанию или недосмотру,
  а не по объективным причинам.
Глава 1.
Не хамите
Никогда не держите
пользователя за дурака
Никогда не держите
пользователя за дурака
Никогда не держите
пользователя за дурака
Сначала покажите, что у вас есть




http://afisha.ru/
Сначала покажите, что у вас есть
Не спрашивайте лишнего
Представьтесь сами




http://typekit.com/about
Не заставляйте ждать
Не теряйте введенные данные
Не обвиняйте пользователя
Не обвиняйте пользователя




http://www.brilance.com/
Не обвиняйте пользователя
Глава 2.
Будьте внимательны
Объясните, покажите, обслужите



                  Где я?
                  Зачем это все?
                  Зачем это мне?
                  Что посмотреть?
                  Что делать дальше?
                  ...
Объясните, покажите, обслужите
Помните своих гостей




http://lleo.me/dnevnik/
Помните своих гостей




http://mvideo-bonus.ru/rules/
Автоопределяйте данные




Какая это страна?   ru_RU.UTF-8
Где я?              Novosibirsk, Russia
Какой сейчас год?   UTC+7
Показывайте время в часовом
поясе клиента




http://rally1.rallydev.com/
Глава 3.
Оформление элементов страницы
Используйте элементы
по назначению

                        On English
  Удалить               По-русски

  http://google.com     О компании



   Редактировать       Отправить
Оформляйте традиционно




http://okcancel.com/comic/4.html
Убирайте клипарт и изображения
не по делу
Не дайте потеряться содержанию




http://blog.barrier.ru/
Текст должен читаться
Делайте это красиво
Глава 4.
Язык твой — друг твой
Пишите грамотно
Уважайте региональные стандарты



  $100                 100 руб.
  1/25/11              25.1.11
  =10,500.25           =10 500,25
Пишите для человека


Дата: 2011.01.25

Кол-во товаров: 4

Кол-во взрослых:           2
Кол-во детей до 3-х лет:   0
Наличие холодильника:      да
Наличие кондиционера:      да
Пишите для человека


25 января 2011-го

В корзине 4 товара

Номер на двоих взрослых с
холодильником и кондиционером
Не заставляйте читать
Говорите на языке пользователя




http://ru.xored.com/blogs/
Будьте конструктивными




http://facebook.com/
НЕ КРИЧИТЕ!




http://ux.stackexchange.com/
Иногда лучше словами




http://bitbucket.org/
Title — объясняйте




http://livejournal.com
Будьте человечными




Одну минуточку...
Будьте человечными
Глава 5.
Готовим Аякс
Используйте его.
Показывайте, что запрос ушел
Обновляйте URL и Title
Глава 6.
Подружитесь с браузером
URL любой страницы можно
скопировать и передать кому-то



+ Прямо из строки браузера
+ Не протухнет
+ Все увидят одно и то же
Не отвечайте страницей на POST
Не обязательно прекрасные,
но полезные URL-ы




http://user45.site.com/cat12/art56.html
Каждой странице свой Title
Кнопка ← должна работать
Дайте ссылаться внутрь




http://artlebedev.ru/kovodstvo/172
Подстраивайтесь под устройство




http://www.dropbox.com/...
Глава 8.
Думайте сами, решайте сами
Не структурируйте напрасно
Не делайте пейджинга
искусственно




http://technocity.ru/
Оповещайте об ошибках
автоматически




http://twurn.com/500
Ищите с учетом материала
Глава 9.
Мойте руки перед кодированием
Используйте UTF–8
Работайте быстро




+ минификация
+ объединение
+ gzip
+ Expires & ETag
Не суетитесь




+ фикс. размеры блоков
+ фикс. элементы управления
+ укажите размеры img
Подумайте о хакерах




http://stylebot.me/
Подумайте о хакерах




http://instapaper.com/u
Никита Прокопов
tonsky.livejournal.com

More Related Content

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Правила хорошего тона для веб-приложений