Docsity

Frotend Study Material, Study Guides, Projects, Research of Computer Programming

Partial preview of the text

Download Frotend Study Material and more Study Guides, Projects, Research Computer Programming in PDF only on Docsity!

Table of Contents

Introduction

What Is a Front-End Developer?

Part I: The Front-End Practice

Front-End Jobs Titles Common Web Tech Employed Front-End Dev Skills Front-End Devs Develop For... Front-End on a Team Generalist Myth Front-End interview questions Front-End Job Boards Front-End Salaries How FDs Are Made

Part II: Learning Front-End Dev

Self Directed Learning Learn Internet/Web Learn Web Browsers Learn DNS Learn HTTP/Networks Learn Web Hosting Learn General Front-End Dev Learn UI/Interaction Design Learn HTML & CSS Learn SEO Learn JavaScript Learn Web Animation Learn DOM, BOM & jQuery Learn Web Fonts Learn Accessibility Learn Web/Browser APIs

JavaScript Tools

Static Site Generators Tools

App (Desktop, Mobile, Tablet, etc.) Tools

Scaffolding Tools

Templating Tools

UI Widgets & Components Tools

Data Visualization (e.g., Charts) Tools

Graphics (e.g., SVG, canvas, webgl) Tools

Animation Tools

JSON Tools

Testing Framework Tools

Data Storage Tools

Module/Package Loading Tools

Module/Package Repo. Tools

Web/Cloud/Static Hosting Tools

Project Management & Code Hosting

Collaboration & Communication Tools

CMS Hosted/API Tools

BAAS (for Front-End Devs) Tools

Offline Tools

Security Tools

Tasking (aka Build) Tools

Deployment Tools

Site/App Monitoring Tools

JS Error Monitoring Tools

Performance Tools

Front-End Developer Handbook

Written by Cody Lindley sponsored by — Frontend Masters

This is a guide that anyone could use to learn about the practice of front-end development. It broadly outlines and discusses the practice of front-end engineering: how to learn it and what tools are used when practicing it.

It is specifically written with the intention of being a professional resource for potential and currently practicing front-end developers to equip themselves with learning materials and development tools. Secondarily, it can be used by managers, CTOs, instructors, and head hunters to gain insights into the practice of front-end development.

The content of the handbook favors web technologies (HTML, CSS, DOM, and JavaScript) and those solutions that are directly built on top of these open technologies. The materials referenced and discussed in the book are either best in class or the current offering to a problem.

The book should not be considered a comprehensive outline of all resources available to a front-end developer. The value of the book is tied up in a terse, focused, and timely curation of just enough categorical information so as not to overwhelm anyone on any one particular subject matter.

The intention is to release an update to the content yearly.

The handbook is divided into three parts.

Part I. The Front-End Practice

Part one broadly describes the practice of front-end engineering.

Part II: Learning Front-End Development

Part two identifies self-directed and direct resources for learning to become a front-end developer.

Part III: Front-End Development Tools

Part three briefly explains and identifies tools of the trade.

Introduction

What Is a Front-End Developer?

A front-end developer architects and develops websites and applications using web technologies (i.e., HTML, CSS, DOM, and JavaScript), which run on the web platform or act as compilation input for non-web platform environments (i.e., NativeScript).

Image source: https://www.upwork.com/hiring/development/front-end-developer/

Typically, a person enters into the field of front-end development by learning to develop HTML, CSS, and JS code, which runs in a web browser, headless browser, WebView, or as compilation input for a native runtime environment. The four run times scenarios are explained below.

A web browser is software used to retrieve, present, and traverse information on the WWW. Typically, browsers run on a desktop, laptop, tablet, or phone, but as of late a browser can be found on just about anything (i.e, on a fridge, in cars, etc.).

The most common web browsers are:

Chrome Internet Explorer Firefox Safari

Headless browsers are a web browser without a graphical user interface that can be controlled from a command line interface for the purpose of web page automation (e.g., functional testing, scraping, unit testing, etc.). Think of headless browsers as a browser that you can run from the command line that can retrieve and traverse web pages.

The most common headless browsers are:

PhantomJS

What Is a Front-End Developer?

slimerjs trifleJS

Webviews are used by a native OS, in a native application, to run web pages. Think of a webview like an iframe or a single tab from a web browser that is embedded in a native application running on a device (e.g., iOS, android, windows).

The most common solutions for webview development are:

Cordova (typically for native phone/tablet apps) NW.js (typically used for desktop apps) Electron (typically used for desktop apps)

Eventually, what is learned from web browser development can be used by front-end developers to craft code for environments that are not fueled by a browser engine. As of late, development environments are being dreamed up that use web technologies (e.g., CSS and JavaScript), without web engines, to create truly native applications.

Some examples of these environments are:

NativeScript React Native

What Is a Front-End Developer?

Front-End Jobs Titles

Below is a list and description of various front-end job titles. The common, or most used (i.e., generic), title for a front-end developer is, "front-end developer" or "front-end engineer". Note that any job that contains the word "front-end", "client-side", "web UI", "HTML", "CSS", or "JavaScript" typically infers that a person has some degree of HTML, CSS, DOM, and JavaScript professional know how.

Front-End Developer/Engineer (aka Front-End Web Developer/Engineer, Client-Side Developer/Engineer, Front-End Software Developer/Engineer or UI Engineer)

The generic job title that describes a developer who is skilled to some degree at HTML, CSS, DOM, and JavaScript and implementing these technologies on the web platform.

CSS/HTML Developer

The front-end job title that describes a developer who is skilled at HTML and CSS, excluding JavaScript and Application know how.

Front-End JavaScript (optionally...Application) Developer

When the word "JavaScript Application" is included in the job title, this will denote that the developer should be an advanced JavaScript developer possessing advanced programming, software development, and application development skills (i.e will have solid experience building front-end applications).

Front-End Web Designer

When the word "Designer" is included in the job title, this will denote that the designer will posses front-end skills (i.e., HTML & CSS) but also professional design (Visual Design and Interaction Design) skills.

Web/Front-End User Interface (aka UI) Developer/Engineer

Front-End Jobs Titles

When the word "Interface" or "UI" is included in the job title, this will denote that the developer should posses interaction design skills in addition to front-end skills.

Mobile/Tablet Front-End Developer

When the word "Mobile" or "Tablet" is included in the job title, this will denote that the developer has experience developing front-ends that run on mobile or tablet devices (either natively or on the web platform, i.e., in a browser).

Front-End SEO Expert

When the word "SEO" is included in the job title, this will denote that the developer has extensive experience crafting front-end technologies towards an SEO strategy.

Front-End Accessibility Expert

When the word "Acessibility" is included in the job title, this will denote that the developer has extensive experience crafting front-end technologies that support accessibility requirements and standards.

Front-End Dev. Ops

When the word "DevOps" is included in the job title, this will denote that the developer has extensive experience with software development practices pertaining to collaboration, integration, deployment, automation, and measurement.

Front-End Testing/QA

When the word "Testing" or "QA" is included in the job title, this will denote that the developer has extensive experience testing and managing software that involves unit testing, functional testing, user testing, and A/B testing.

Note that if you come across the "Full Stack" or the generic "Web Developer" terms in job titles these words may be used by an employer to describe a role that is responsible for all aspects of web/app development, i.e., both front-end (potentially including design) and back-

Front-End Jobs Titles

Web Technologies Employed by Front-End

Developers

Image source: http://www.2n2media.com/compare-front-end-development-and-back-end- development

The following web technologies are employed by front-end developers:

Hyper Text Markup Language (aka HTML) Cascading Style Sheets (aka CSS) Document Object Model (aka DOM) JavaScript Programming Language (aka: ECMAScript 6, ES6, JavaScript 2015) Web APIs (aka HTML5 and friends or Browser APIs) Hypertext Transfer Protocol (aka HTTP) Uniform Resource Locators (aka URLs) JavaScript Object Notation (aka JSON) Web Content Accessibility Guidelines (aka WCAG) & Accessible Rich Internet Applications (aka ARIA)

These technologies are defined below with the relevant documentation and specifications. For a comprehensive list of all web related specifications have a look at platform.html5.org.

Hyper Text Markup Language (aka HTML)

Common Web Tech Employed

HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. — Wikipedia

Most relevant specifications / documentation:

All W3C HTML Spec The elements of HTML from the Living Standard Global attributes HTML5 from W3C : 5th major revision of the core language of the World Wide Web HTML attribute reference HTML element reference The HTML Syntax from the Living Standard

Cascading Style Sheets (aka CSS)

Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language. Although most often used to change the style of web pages and user interfaces written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XML, SVG and XUL. Along with HTML and JavaScript, CSS is a cornerstone technology used by most websites to create visually engaging webpages, user interfaces for web applications, and user interfaces for many mobile applications. — Wikipedia

Most relevant specifications / documentation:

All W3C CSS Specifications Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification CSS reference Selectors Level 3

Document Object Model (aka DOM)

Common Web Tech Employed

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web. — Wikipedia

Most relevant specifications:

Hypertext Transfer Protocol -- HTTP/1. Hypertext Transfer Protocol version 2 draft-ietf-httpbis-http2-

Uniform Resource Locators (aka URL)

A uniform resource locator (URL) (also called a web address) is a reference to a resource that specifies the location of the resource on a computer network and a mechanism for retrieving it. A URL is a specific type of uniform resource identifier (URI), although many people use the two terms interchangeably. A URL implies the means to access an indicated resource, which is not true of every URI. URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications. — Wikipedia

Most relevant specifications:

Uniform Resource Locators (URL) URL Living Standard

JavaScript Object Notation (aka JSON)

c It is the primary data format used for asynchronous browser/server communication (AJAJ), largely replacing XML (used by AJAX). Although originally derived from the JavaScript scripting language, JSON is a language-independent data format. Code for parsing and generating JSON data is readily available in many programming languages. The JSON format was originally specified by Douglas Crockford. It is currently described by two competing standards, RFC 7159 and ECMA-404. The ECMA standard is minimal, describing only the allowed grammar syntax, whereas the RFC also provides some semantic and security considerations. The official Internet media type for JSON is application/json. The JSON filename extension is .json.

— Wikipedia

Most relevant specifications:

Introducing JSON JSON API

Common Web Tech Employed

The JSON Data Interchange Format

Web Content Accessibility Guidelines (aka WCAG) & Accessible Rich Internet Applications (aka ARIA)

Accessibility refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e., unassisted) and "indirect access" meaning compatibility with a person's assistive technology (for example, computer screen readers). — Wikipedia Accessible Rich Internet Applications (WAI-ARIA) Current Status Web Accessibility Initiative (WAI) Web Content Accessibility Guidelines (WCAG) Current Status

Common Web Tech Employed

Mobile Web Performance Load Testing Performance Testing Progressive Enhancement / Graceful Degradation Version Control (e.g., GIT) MVC / MVVM / MV* Functional Programming Data Formats (e.g., JSON, XML) Data APIs (e.g Restful API) Web Font Embedding Scalable Vector Graphics (aka SVG) Regular Expressions Content Strategy Microdata / Microformats Task Runners, Build Tools, Process Automation Tools Responsive Web Design Object-Oriented Programming Application Architecture Modules Dependency Managers Package Managers JavaScript Animation CSS Animation Charts / Graphs UI Widgets Code Quality Testing Code Coverage Testing Code Complexity Analysis Integration Testing Command Line / CLI Templating Strategies Templating Engines Single Page Applications XHR Requests (aka AJAX) Web/Browser Security HTML Semantics Browser Developer Tools

Front-End Dev Skills

Front-End Developers Develop For...

A front-end developer crafts HTML, CSS, and JS that typically runs on the web platform (e.g. a web browser) on one of the following operating systems (aka OSs):

Android Chromium iOS OS X Ubuntu (or some flavor of Linux) Windows Phone Windows

These operating systems typically run on one or more of the following devices:

Desktop computer Laptop / Netbook computer Mobile phone Tablet TV Watch Things (i.e., anything you can imagine, car, refrigerator, lights, thermostat, etc.)

Front-End Devs Develop For...