Andescotia has finally joined the rest of the world in providing tutorial videos. We are just
getting started and have not had much practice, so please forgive the stilted delivery.
We are planning additional tutorials, so look for more videos soon.
After you download Marten, what should you do next? Install it! This tutorial illustrates how to
place the Marten libraries and application frameworks in the appropriate folders on your system.
We've tried to provide a "quick" introduction to the Prograph language and the Marten development environment
but at 30 minutes, we may have a different idea of what "quick" means. Still for those who are completely
unfamiliar with the language and have not worked through the documentation, we hope this will help. By the way,
when we discuss connecting roots to terminals in this tutorial, we forgot to explain how you actually do it! Well, the secret is
to click on a root or terminal and then hold the Option Key down.
The classic "Hello World" application is created in this tutorial. This video demonstrates
how to create a Marten project from scratch, add the appropriate libraries, and finally create the
code needed to display "Hello World!". In addition, the tutorial illustrates how to turn
the project application into a standalone, double-clickable application you can send to friends
Hello World Tutorial
A simple text editor is created in this tutorial. The use of the Marten Cocoa (MC) classes and
our admittedly rudimentary (as yet) editors is illustrated in this tutorial where we
create a text editor without "writing" a single line of code.
Simple Text Editor Tutorial
A more complex text editor is created in this tutorial that uses the latest editors
available in Marten 1.6.3. This example shows how to create an application that can edit
so called "FASTA" files, a type of file that is used extensively in bioinformatics. In
this example, the appropriate methods are created to handle the transition from
text file data to a structured FASTA data object.
FASTA Editor Tutorial
A quick demonstration of how to develop code while your application is running is provided in this tutorial.
The video demonstrates
how to create a universal that computes the factorial of an integer. But in contrast to other development techniques,
you will write your code as you are running your code, letting the Marten IDE create the necessary methods on the fly.
Prograph handles object management for you. In Computer Science, this is called garbage collection. This tutorial
video discusses and illustrates Prograph object management in action. In particular, the video demonstrates what happens
when a circular reference is created and offers some design advice on how to avoid those situations.
Memories of Marten
Prograph also handles Cocoa object memory management. But as you can guess, there are some wrinkles.
This tutorial illustrates Cocoa object creation and provides some instruction on how you can leave the memory management
Cocoa Creation Story
If you're eager for more, here is a tutorial illustrating how to develop interactively. This is a development
paradigm (what a word) where you get your application up and running and then develop code for it.
The philosophy behind this type of development is that coding is more efficient when the application
"tells" you what it needs. Confused? Thinking we've put the cart before the horse? Then settle in and watch a video on how to create an application
that draws a DNA phylogenetic tree or "tree of life", with all the tree drawing code written after the application is up and running and the window
that should display the tree is already on the screen.
Dainty DNA Tree Drawer