28
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Guide to HTML Ran Bar-Zik PHP\Drupal Developer 16.12.2013

Basic web dveleopers terms for UX and graphic designers

Embed Size (px)

DESCRIPTION

Presentation that explain modern web developers terms and technology to UX, UI and graphic designers.

Citation preview

Page 1: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Guide to HTMLRan Bar-ZikPHP\Drupal Developer16.12.2013

Page 2: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2

Ran Bar-Zik,

Who am I?

• PHP developer at HP Software• Working at hpln.hp.com• More information at my personal site: internet-israel.com

Page 3: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Core elements

Page 4: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4

Brief explanation

What is HTML, CSS & JavaScript?

Page 5: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5

Hypertext Markup Language

What is HTML

The base of all page• It is NOT a language• The basic elements of the page.• Every element have basic design implemented by the browser.• For example: <h1> - header, is suppose to be large in every browser.• For example select list will look like this in Internet Explorer on windows:• But will look like this in Safari on Apple:

Page 6: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6

Cascading Style Sheets – Designing the page

What is CSS

CSS is being used to design• Colors and sizes• Dimensions• Positioning• Font design

Page 7: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7

Language that do stuff on the page itself

What is JavaScript?

For example:• Opening Menus• Expanding\Collapsing areas• Validating input on forms• Animating and moving elements• Transitions

Example: https://hpln.hp.com/node/21

Page 8: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8

This is all of web page components

CSS, JavaScript and HTML

Server side programs (Java, PHP, .net etc.) generate those resources.

Page 9: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9

AJAX

What is AJAX?AJAX is JavaScript way to receive and get data. It means that you can getInformation WITHOUT reloading the page.

Page 10: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Basic tools

Page 11: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11

jQuery is JavaScript library

jQuery

It allows the developer to write more efficient JavaScriptIt is just JavaScript!

Page 12: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Advanced tools

Page 13: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13

Boilerplates allowing us to create an basic web page – template

Boilerplates

HTML5 Boilerplate and other boilerplateBoilerplates is the professional term for base layer for web pages.It contains basic CSS, basic HTML and basic JavaScript code.

Page 14: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14

More advanced boilerplates

Bootstraps

Templates for whole pages and componentsThe most important one: Twitter bootstrap. It is CSS, JavaScript and HTML files that enable us to copy ready made elements to our application without creating those from scratch.Examples:http://getbootstrap.com/components/#dropdowns

Page 15: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Responsiveness

Page 16: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.16

But not only mobile

The problem: mobile devices

In today world we have a lot of devices and screen sizes:Responsiveness is the tool to create layout for every screen.

Page 17: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17

Responsiveness is achieved by CSS only!

How do we do it?

No Advance programming or very hard work!It is CSS only (no HTML\JavaScript) and it can be done very easily.Example: http://www.internet-israel.com

Page 18: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18

Bootstrap contains grid system

Bootstrap can help you create a responsive siteWhat is grid? Like in Photoshop – help the developer position elements in a web page.And it does responsiveness automatically!

Example: http://getbootstrap.com/examples/jumbotron-narrow/

Page 19: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Cross browsers

Page 20: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.20

Different browser renders HTML, CSS, JavaScript in different ways.

Not every browser is the same

This is why we are testing our application in different browsers and platforms.Web page that looks great in one browser can look like hell in other browser.

Page 21: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.21

How to know if browser support features?

Feature detection

http://caniuse.com/

Page 22: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.22

Two ways to fight the differences

Feature detection VS Browser detection

Browser DetectionFind the browser type (bad)

Feature DetectionTry to find The feature that the browser support

Page 23: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.23

JavaScript file that fill the gap for old browsers

Polyfills

Allowing new features on old browsers

For example: allowing HTML5 form control on Internet Explorer 8 that does not support this feature.

Page 24: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.24

Allow alternative solution for browsers that does not have the feature

Fallbacks

For example:Showing Flash videos for browsers that does not support HTML5 videos.

Page 25: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Advanced CSS Frameworks

Page 26: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.26

Basically the same stuff: CSS generator

LESS & SASS

CSS is not a real languageProgrammers love to program, this is why we invented CSS preprocessors:

Page 27: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.27

It is like jQuery for SASS

COMPASS

It contains a lot of functions (mixins in SASS language), variable and stuff that help the developer create interface.

Page 28: Basic web dveleopers terms for UX and graphic designers

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Thank you