• Increase font size
  • Default font size
  • Decrease font size
Home
Cappuccino Notebook

Introduction to Objective-J

E-mail Print PDF

This article is a "gentle" introduction to Objective-J. It is intended to show a few of the capabilities, not a complete introduction to the language. It should be enough to get you stared and comfortable with the language.

Objective-J is a programming language written by the guys at 280 North. It looks and feels very similar to Objective-C so if you're familiar with programming Cocoa in OS X you'll feel right at home. If not it's OK, you can pick it up rather quickly. Either way there are some differences and "gotchas" that we'll try to point out here.

Attachments:
Download this file (objj_tut1_all_code.zip)objj_tut1_all_code.zip[All the code for the introductory Objective-J tutorial]5 Kb
Last Updated ( Tuesday, 10 November 2009 05:42 )
 

API Documentation Fixes

E-mail Print PDF

One thing about the official Cappuccino documents you may have noticed is that they aren't really "complete" in the sense of inherited methods.  We've found a rather clunky way to get more complete documentation out of Doxygen which we'll describe here.  It is what was used to generate the documentation at the "Cappuccino API Documentation" link (menu at left).

Attachments:
Download this file (capp.doxy.zip)capp.doxy.zip[Doxygen configuration file]17 Kb
Download this file (make_headers.zip)make_headers.zip[Header creation script]0 Kb
Last Updated ( Tuesday, 10 November 2009 05:43 )
 

Welcome to Cappuccino Notebook!  As the name implies this site is a collection of articles, thoughts, and examples of our learning of the awesome Cappuccino Web Framework.  Cappuccino and the language it is based on, Objective-J, was released in the Fall of 2008 and has since gained quite a bit of momentum with many users, applications, and, of course, changes.  Unfortunately for us poor n00bs, the documentation and tutorials are a little light.  These notes are not written by Cappuccino experts, rather they capture some of the problems and discoveries we've encountered as we learned (are learning) Cappuccino.  Hopefully they make life a little easier for you and keep you from making the same stupid mistakes we've made.

The first place to go, of course, is the main Cappuccino site.  You can get the source code, binaries, tutorials, demos, and a host of other helpful things there.  When you're ready to start coding or just get stuck, check out the articles here.  We've broken the articles up into sections covering things like the Objective-J language and Cappuccino itself.  You'll find links to the sections, and under them the various notes and articles, to the left. Within each article we'll give you a very simple example and explanation of the ideas as well as, and most importantly, a few "gotchas" and how to avoid them.

 

Connected Button

E-mail Print PDF

In the "3-Button Liquid" article we built a simple GUI that had 3 buttons and showed how to "attach" them to the edges of the window.  That let them move around nicely as the window was resized - but they didn't do anything.  This time let's actually make some buttons that work.  We'll make an application with a couple buttons and labels.  Clicking the buttons will change label values and enable/disable buttons.

 

3-Button Liquid

E-mail Print PDF

In this article we walk you through building the most simple of applications: one with a few buttons with a "liquid" layout.  We'll show you how to set their font sizes, positions, and a few other properties.

Last Updated ( Tuesday, 10 November 2009 05:41 )
 

Design by i-cons.ch / etosha-namibia.ch