Learn These Modern Web Development Tools

Browse Lessons by Technology

Browse all lessons.

showing All 810 lessons...

Using Observable.create for fine-grained control

CSS :not Selector

P

Create Modals with Ionic

Build a Powerful List with Ionic

Convert a UI Route into an Angular Directive

Build a Sidebar Layout with Ionic

Device Interaction in an Ionic App with Cordova Plugins

Prepare an Ionic App for Ionic Components and Styling

Build, Emulate, and Debug an Ionic App

Convert a Web Application into an Ionic App

Build and Run an Ionic App from Scratch

Redirect the browser using JavaScript

Reacting to multiple inputs using RxJS's combineLatest

Elm in 5 minutes

Overview of Cycle.js

Exporting values from components through sinks

Isolating component instances

Multiple independent instances of a component

Using the component in the main() function

Our first component: a labeled slider

Model-View-Intent pattern for separation of concerns

Body-Mass Index calculator built in Cycle.js

Using the HTTP Driver

An interactive counter in Cycle.js

Hello World in Cycle.js

From toy DOM Driver to real DOM Driver

Hyperscript as our alternative to template languages

Fine-grained control over the DOM Source

Making our toy DOM Driver more flexible

Generalizing run() function for more types of sources

Read effects from the DOM: click events

Introducing run() and driver functions

Customizing effects from the main function

Main function and effects functions

The Cycle.js principle: separating logic from effects

WebStorm - Setting Up Angular 2

The JSON.stringify API

JavaScript's Call Stack

Javascript Regular Expressions: Match the Start and End of a Line

P

Javascript Regular Expressions: Match the Same String Twice

P

Javascript Regular Expressions: Find the Start and End of Whole Words

P

Javascript Regular Expressions: Find a String that Precedes Another String

P

Javascript Regular Expressions: Find Groups of Characters

P

Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

P

Javascript Regular Expressions: Find Sets of Characters

P

Javascript Regular Expressions: Find Repeated Patterns

P

Javascript Regular Expressions: Find Plain Text Patterns

P

Javascript Regular Expressions: Introduction

How to use JavaScript's String.replace

P

Advanced Reduce: Safe Nested Object Inspection

P
RxJS tutorial about Using Observable.create for fine-grained control

Using Observable.create for fine-grained control

3:55 RxJS

Sometimes, the helper methods that RxJS ships with such as fromEvent, fromPromise etc don't always provide the exact values you want & you end up having to do extra work to force them into the shape you require. For more fine-grained control you can use Observable.create which allows you to project only the values which matter to you.

CSS tutorial about CSS :not Selector

CSS :not Selector

0:53 CSS PRO

The CSS :not() selector allows us to exclude a subset of elements matched by our selector. In this example we refactor two selectors down to one using the CSS :not() selector.

AngularJS tutorial about Create Modals with Ionic

Create Modals with Ionic

14:11 AngularJS

In this lesson, we learn how to build modals in Ionic. We use the ion-modal-view directive to wrap our “create” and “edit” forms with modal goodness, as well as use the ion-header-bar directive to put a nice bar at the top of our forms. Finally, we use the $ionicModal service to give life to our modals by integrating them with our controllers.

AngularJS tutorial about Build a Powerful List with Ionic

Build a Powerful List with Ionic

12:38 AngularJS

In this lesson, we are going to dig into Ionic lists and make use of some awesome list features that Ionic gives us for free. We are going to learn how to use the following Ionic directives:

  • ion-nav-buttons - Use nav buttons to set the buttons on your ionNavBar.
  • ion-list - The List is a widely used interface element in almost any mobile app, and can include content ranging from basic text all the way to buttons, toggles, icons, and thumbnails.
  • ion-item- Used to create items inside of an ionList.
  • ion-delete-button - A child of ionItem, this element allows a developer to show/hide a delete button within an ionItem with ease.
  • ion-reorder-button - A child of ionItem, this element allows a developer to reorder an ionItem within a list easily.
AngularJS tutorial about Convert a UI Route into an Angular Directive

Convert a UI Route into an Angular Directive

2:49 AngularJS

In this lesson, we are going to turn two forms into Angular directives in preparation for turning them into Ionic modals. This isn’t a complicated step, but it puts us in a better place for creating the modals.

AngularJS tutorial about Build a Sidebar Layout with Ionic

Build a Sidebar Layout with Ionic

8:49 AngularJS

In this lesson, we learn how to build a sidebar layout using only Ionic directives. Ionic provides some powerful functionality with very few semantics. Here are all the directives we will learn about:
- ion-side-menus - A container element for side menu(s) and the main visible content.
- ion-side-menu-content - A container for the main visible content, sibling to one or more ionSideMenu directives.
- ion-side-menu - A container for a side menu, sibling to an ionSideMenuContent directive.
- ion-nav-view - Used to render templates in your application. Each template
is part of a state. States are usually mapped to a url, and are defined programatically
using angular-ui-router (see their docs for reference).
- ion-view - A container for view content and any navigational and header bar information. Used as a child of ionNavView.
- ion-nav-bar - If we have an ionNavView directive, we can also create an
ionNavBar, which will create a topbar that updates as the application state changes.
- ion-nav-buttons - Use nav buttons to set the buttons on your ionNavBar
from within an ionView.
- ion-content- Provides an easy to use content area that can be configured
to use Ionic’s custom Scroll View, or the built in overflow scrolling of the browser.
- ion-list - The List is a widely used interface element in almost any mobile app, and can include
content ranging from basic text all the way to buttons, toggles, icons, and thumbnails.
- ion-item - Used to create items inside of an ionList.

AngularJS tutorial about Device Interaction in an Ionic App with Cordova Plugins

Device Interaction in an Ionic App with Cordova Plugins

4:59 AngularJS

In this lesson, we are going to learn how to interact with native components through Cordova plugins. We will walk through how to add a Cordova plugin to our application and use it to interact with our native device. In this case, we are going to install a plugin that will allow us to open URLs in a mobile browser from within our Ionic app.

  • item
  • item
AngularJS tutorial about Prepare an Ionic App for Ionic Components and Styling

Prepare an Ionic App for Ionic Components and Styling

2:12 AngularJS

In this lesson, we are going to include the necessary assets for the functionality and styles of the Ionic directives we will include in our app.

AngularJS tutorial about Build, Emulate, and Debug an Ionic App

Build, Emulate, and Debug an Ionic App

2:53 AngularJS

In this lesson, we are going to build an Ionic app for the iOS platform, and then emulate iOS on our computer. We are going to cover some important command-line options when emulating an Ionic application. We will then see how these options play a critical role in debugging our applications.

AngularJS tutorial about Convert a Web Application into an Ionic App

Convert a Web Application into an Ionic App

2:24 AngularJS

In this lesson, we are going to demonstrate how easy it is to copy existing Angular code into an Ionic app. It is literally as simple as removing unnecessary code from the Ionic app and pasting in the guts of our Angular application. Along the way, we will update some dependencies and discover a gotcha for including assets from a CDN.

AngularJS tutorial about Build and Run an Ionic App from Scratch

Build and Run an Ionic App from Scratch

1:49 AngularJS

In this lesson, we learn how to install Ionic and Cordova. We then build an app from scratch using the Ionic CLI and a blank starter template.

JavaScript tutorial about Redirect the browser using JavaScript

Redirect the browser using JavaScript

2:13 JavaScript

There are two common ways to redirect the browser in JavaScript. Both use window.location but they differ in how they interact with Session History (and hence, the browser's back button). In this lesson, you'll learn how they're different and how to use each of them.

RxJS tutorial about Reacting to multiple inputs using RxJS's combineLatest

Reacting to multiple inputs using RxJS's combineLatest

7:36 RxJS

There are certain situations in which you’ll want access to the latest values from multiple Observables whenever any one of them produces a value. This is exactly what combineLatest was designed for, and in this lesson we’ll use it to build up an image url that requires values from 3 different inputs - triggered every time any one of them change.

Elm tutorial about Elm in 5 minutes

Elm in 5 minutes

5:21 Elm

We are going to take a high-level look at what an Elm application looks like? We show how to structure apps, as well as, Elm’s elegant syntax by building a small app.

RxJS tutorial about Overview of Cycle.js

Overview of Cycle.js

2:28 RxJS

This lesson shows what can be learned next as a continuation of this course, and gives a recap on the core concepts: main for pure logic, drivers for side effects, run() to connect main and drivers, sources for read effects, sinks for write effects, and nesting Cycle.js apps to work as components.

RxJS tutorial about Exporting values from components through sinks

Exporting values from components through sinks

3:30 RxJS

Our app is not yet a BMI calculator, because it only has two sliders, but doesn't show the calculated BMI number. In this lesson we will learn how to export any stream from a child component and use it in the parent component, in order to display the BMI calculation on the DOM.

RxJS tutorial about Isolating component instances

Isolating component instances

3:39 RxJS

We added classNames to pre-processing and post-processing steps when calling the LabeledSlider, in order to instances independent of each other. It would be better if we could hide these steps away. This lesson introduces the isolate() helper function to achieve that.

RxJS tutorial about Multiple independent instances of a component

Multiple independent instances of a component

4:31 RxJS

Once we have a labeled slider component inside the main function, we should be able to create another labeled slider. This lesson teaches how to accomplish that, and make sure those two instances work independently of each other.

RxJS tutorial about Using the component in the main() function

Using the component in the main() function

1:57 RxJS

We have made a Cycle.js app for generic labeled slider which can be configured through props, but how can we reuse it in other Cycle.js apps? This lesson shows how we can embed any Cycle program inside a larger Cycle program in a very simple manner.

RxJS tutorial about Our first component: a labeled slider

Our first component: a labeled slider

8:05 RxJS

We are starting to get a better architecture for these UI apps. But we still have a problem of repeating code for the sliders, since they share so much in common in looks and functionality. This lessons shows how we can create a generic labeled slider as a main() function receiving properties as sources.

RxJS tutorial about Model-View-Intent pattern for separation of concerns

Model-View-Intent pattern for separation of concerns

3:17 RxJS

We built the BMI calculator all inside one function: main(). As apps scale, we don't want main() to grow. We need an organized pattern where each function focuses on doing one thing. This lesson shows how we can easily refactor the main() function into three parts: Intent, Model, and View.

RxJS tutorial about Body-Mass Index calculator built in Cycle.js

Body-Mass Index calculator built in Cycle.js

6:40 RxJS

So far we have been writing very small apps in Cycle.js. Let's start growing the size of the apps we build. This time, we will see how to build a simple Body-Mass Index Calculator.

RxJS tutorial about Using the HTTP Driver

Using the HTTP Driver

12:19 RxJS

Let's see next how to use the HTTP driver to generate requests and capture responses. We will build a small app to fetch a single piece of data from a REST server and display that on the DOM.

RxJS tutorial about An interactive counter in Cycle.js

An interactive counter in Cycle.js

8:08 RxJS

This lesson shows how we can create a more interactive app: a counter display with buttons to increment and decrement it. This reveals how we can use the RxJS scan() operator to remember past values and keep state.

RxJS tutorial about Hello World in Cycle.js

Hello World in Cycle.js

4:44 RxJS

Now you should have a good idea what Cycle.run does, and what the DOM Driver is. In this lesson, we will not build a toy version of Cycle.js anymore. Instead, we will learn how to use Cycle.js to solve problems. We will start by making a simple Hello world application.

RxJS tutorial about From toy DOM Driver to real DOM Driver

From toy DOM Driver to real DOM Driver

4:52 RxJS

This lessons shows how we are able to easily swap our toy DOM Driver with the actual Cycle.js DOM Driver, a more solid, more flexible, more efficient implementation.

RxJS tutorial about Hyperscript as our alternative to template languages

Hyperscript as our alternative to template languages

2:53 RxJS

Usually we use template languages like Handlebars, JSX, and Jade to create. One simple way we can create our own template language is to write a function that returns these objects for us. This lessons shows how we can use these functions as a DSL to create our DOM description objects.

RxJS tutorial about Fine-grained control over the DOM Source

Fine-grained control over the DOM Source

2:58 RxJS

What if wanted to change the behavior of our app reset the timer every time the mouse hovers over it? Currently we only support clicks, and they are hard coded in the DOM Driver. This lesson will introduce DOMSource.selectEvents(), a way of making the DOM Source rich and allowing the main() function to determine which read effects it needs.

RxJS tutorial about Making our toy DOM Driver more flexible

Making our toy DOM Driver more flexible

5:22 RxJS

Our previous toy DOM Driver is still primitive. We are only able to sends strings as the textContent of the container element. We cannot yet create headers and inputs and all sorts of fancy DOM elements. In this lesson we will see how to send objects that describe what elements should exist, instead of strings as the DOM sink.

RxJS tutorial about Generalizing run() function for more types of sources

Generalizing run() function for more types of sources

4:23 RxJS

Our application was able to produce write effects, through sinks, and was able to receive read effects, through the DOM sources. However, the main function only gets the DOMSource as input. This lessons shows how we can generalize main to receive an object of sources, containing all kinds of read effects that we can use.

RxJS tutorial about Read effects from the DOM: click events

Read effects from the DOM: click events

6:00 RxJS

So far we only had effects that write something to the external world, we are not yet reading anything from the external world into our app. This lesson shows how we can change the DOM Driver to return a "DOM Source" representing read effects, such as click events. We will leverage that to create an interactive application.

RxJS tutorial about Introducing run() and driver functions

Introducing run() and driver functions

4:06 RxJS

The last part of the code we wrote is neither logic nor effects. It is code which ties together logic (main) with effects. We can encapsulate that in a run() function. This lesson shows how we can structure these pieces together, and generalize effect handling with "drivers".

RxJS tutorial about Customizing effects from the main function

Customizing effects from the main function

2:05 RxJS

How can we show one string on the DOM, and a completely different string on Console log? This lesson shows how we can make our main function return multiple Observables, each one targeted at a different type of effect.

RxJS tutorial about Main function and effects functions

Main function and effects functions

2:10 RxJS

We need to give structure to our application with logic and effects. This lessons shows how we can organize our code into two parts: main() function for logic, and effects functions for effects.

RxJS tutorial about The Cycle.js principle: separating logic from effects

The Cycle.js principle: separating logic from effects

3:30 RxJS

This lesson is the first in an introduction to Cycle.js. We will see how to build from scratch a toy version of Cycle.js. See how to use RxJS to create simple web apps, and how to separate logic from effects.

Angular 2 tutorial about WebStorm - Setting Up Angular 2

WebStorm - Setting Up Angular 2

1:52 Angular 2

WebStorm can easily help you set up a new Angular 2 project with never even touching a terminal. This lesson shows you all the neat GUI tricks you need to know to get up and running.

JavaScript tutorial about The JSON.stringify API

The JSON.stringify API

8:26 JavaScript

JSON (JavaScript Object Notation) is a standard method to serialize JavaScript objects and is commonly used to transfer data from the server to the browser. The browser has a JSON API that allows you to serialize a JavaScript object or array into a JSON string. This API allows you to customize the serialization very specifically as well.

JavaScript tutorial about JavaScript's Call Stack

JavaScript's Call Stack

3:45 JavaScript

JavaScript has a concurrency model based on an "event loop". Yet, we know that JavaScript is single-threaded, which means only one task can happen at a time. To understand how JavaScript has a concurrent model yet is single threaded, we'll take a look at how the browser is working to interpret your JavaScript.

Specifically, we'll start by looking at the Stack implemented by browser engines (e.g. V8 or SpiderMonkey). The JavaScript engines use the call stack to keep track of what functions are running -- a function is added to a stack when the engine reaches a function that needs to be executed, and it cleared from the stack when the function returns.

JavaScript tutorial about Javascript Regular Expressions: Match the Start and End of a Line

Javascript Regular Expressions: Match the Start and End of a Line

3:19 JavaScript PRO

We can identify the start and end of a line using Line Anchors. When dealing with multiple line matches we can utilize the multiline regular expression flag.

JavaScript tutorial about Javascript Regular Expressions: Match the Same String Twice

Javascript Regular Expressions: Match the Same String Twice

3:31 JavaScript PRO

Regular Expression Backreferences provide us a method to match a previously captured pattern a second time.

JavaScript tutorial about Javascript Regular Expressions: Find the Start and End of Whole Words

Javascript Regular Expressions: Find the Start and End of Whole Words

2:18 JavaScript PRO

Regular Expression Word Boundaries allow to perform "whole word only" searches within our source string.

JavaScript tutorial about Javascript Regular Expressions: Find a String that Precedes Another String

Javascript Regular Expressions: Find a String that Precedes Another String

1:27 JavaScript PRO

Lookaheads allow us to match a pattern followed by another pattern without including the second pattern in our match.

JavaScript tutorial about Javascript Regular Expressions: Find Groups of Characters

Javascript Regular Expressions: Find Groups of Characters

4:35 JavaScript PRO

In this lesson we'll capture groups of characters we wish to match, use quantifiers with those groups, and use references to those groups in String.prototype.replace.

JavaScript tutorial about Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

Javascript Regular Expressions: Use Shorthand to Find Common Sets of Characters

1:42 JavaScript PRO

In this lesson we'll learn shorthands for common character classes as well as their negated forms.

JavaScript tutorial about Javascript Regular Expressions: Find Sets of Characters

Javascript Regular Expressions: Find Sets of Characters

2:41 JavaScript PRO

Regular Expression Character Classes define a group of characters we can use in conjunction with quantifiers.

JavaScript tutorial about Javascript Regular Expressions: Find Repeated Patterns

Javascript Regular Expressions: Find Repeated Patterns

3:53 JavaScript PRO

Regular Expression Quantifiers allow us to identify a repeating sequence of characters of minimum and maximum lengths. In this lesson we'll use Regular Expression Quantifiers to match repeated patterns, common Quantifier patterns, and using shorthand for those common Quantifier patterns.

JavaScript tutorial about Javascript Regular Expressions: Find Plain Text Patterns

Javascript Regular Expressions: Find Plain Text Patterns

2:29 JavaScript PRO

The simplest use of Regular Expressions is to find a plain text pattern. In this lesson we'll look at at finding plain text patterns as well as using the metacharacter "." and how to escape a metacharacter.

JavaScript tutorial about Javascript Regular Expressions: Introduction

Javascript Regular Expressions: Introduction

6:00 JavaScript

In this lesson we'll learn two ways to construct a Regular Expression in Javascript, explore the methods available to us directly from the RegExp constructor, use Regular Expressions with String.prototype methods, and build a simple regex highlighter.

JavaScript tutorial about How to use JavaScript's String.replace

How to use JavaScript's String.replace

5:26 JavaScript PRO

In JavaScript, you can change the content of a string using the replace method. This method signature is overloaded with a bunch of different ways to do string replacement in JavaScript. This lesson covers the entire API (including an interesting DSL for the replacement string).

JavaScript tutorial about Advanced Reduce: Safe Nested Object Inspection

Advanced Reduce: Safe Nested Object Inspection

6:29 JavaScript PRO

A common problem when dealing with some kinds of data is that not every object has the same nested structure. lukeskywalker.parents.father.isjedi works, but anakinskywalker.parents.father.isjedi throws an exception, because anakin_skywalker.parents.father is undefined. But we can reduce a path to provide safe default values and avoid exceptions when walking the same path on non-homogenous objects - watch to learn how! :)