Try these links to learn more about Fantom:
- Tour: quick introduction to Fantom's features by code example
- WhyFantom: why we built Fantom
- Hello world five different ways:
If you want to jump right in and start coding:
- Download the latest build
- Setup: your environment
- HelloWorld: try your hand at hello world
- Examples: snippets of example code for common tasks
- Rosetta Code: code samples in Fantom with comparisons to other languages
- Java to Fantom in 10 Steps
- Fantom Cheat Sheet
Also see IDE page for an overview of the various community projects providing Fantom tooling.
All documentation and APIs are organized into modules called pods. The doc index is organized by manuals and APIs. APIs are the reference documentation for each public type generated from source (like Javadoc). Manuals group a set of chapters on a subject:
- docIntro: general purpose introductory material
- docLang: covers the language in depth
- docTools: command line tools, unit testing, build toolkit
In addition examples can be accessed as HTML. All examples are designed as complete stand alone programs which can be run as a script.
If you want to dig deep, then you'll probably want to look over docIntro to get a background. At some point you should consider reading docLang front to back - it is designed to be read as book. Once you start writing code, you'll find examples and the reference APIs handy as you learn the standard libraries. When you start to develop real applications make sure to review how to write unit tests and build scripts.