History of Glance

Introduction

While testing web applications we got tired of inspecting the DOM to find an element. We wanted a way to reference an element according to what we saw on the page. Through many experiments we developed Glance. We continue to find new and different uses for it.

    

Labels / Query

The idea started with labels. Labels allows us to have a stable reference without having to worry about how to find it. However, labels still required us to add code.

This is where Glance starts to help out. Putting some querying capabilities behind the label we can start to create labels that can work with the program.

Example:

Circle

Intersects

By describing pieces of what we want we can narrow down the focus quickly.

Example:

Square ^ Blue

Scopes

More often than not referencing something can have many duplicates. Using a breadcrumb-like syntax we can narrow down the context for an item and guide the reader to the thing they need.

###Example:

Square > Circle

Options

Since we're dealing with computers the default magic doesn't always work. With options we can tell Glance how to look up the query and completely customize the lookup behavior.

Square > Circle #above