Miller columns

lab-logo

Welcome to your new lab, here's the instructions for each exercise :

You must try to find documentation and solution by yourself. The course contains links to references and a lot of other interesting websites. Don't forget : the web is your friend ;-)

Bon courage...

What are miller columns?

Like always, wikipedia has the answer ;-)

In this lab we'll create a file browser displaying infos as miller columns.

You can have a look at the existing files before starting...

First class!

Learning goals

  1. Know how to call static method and understand the principle of a Singleton.
  2. Know how to create simple abstract classes.
  3. Know how to manipulate paths strings and be OS agnostic.

Context

Because our file browser file have to manipulate files and directories, we'll create an abstract class that can represent both. We'll call it a MillerPath.

Steps

Files to edit

Files...

Learning goals

  1. Know how to inherit from an abstract class.
  2. Know how to get mime type from for a given file.

Context

Now that we have a MillerPath, we can create a MillerFile that inherits from it.

Steps

Files to edit

...Directories

Learning goals

  1. Know how to inherit from an abstract class.
  2. Know how to sort an array using a custom compare function.

Context

Now that we have a MillerPath, we can create a MillerDirectory that inherits from it.

Steps

Files to edit

Finder is for loosers ;-)

This is a "be awesome" exercise!

Learning goals

  1. Use your imagination and all you knowledge to implement useful feature correctly.

Context

We now have a basic file tree browser displayed as Miller columns. Here's some ideas to improve it.

Ideas

Deliveries