Code Monkey home page Code Monkey logo

tornadofx-kitchensink's Introduction

TornadoFX Kitchen Sink Samples

This project contains samples and best practices for the TornadoFX project. Each sample is self contained in it's own package structure to make it easy to extract a sample for use in your own project.

Every sample comes with a description to help you understand what's going on and will highlight relevant parts of the code you might want to direct special attention towards.

A runnable jar is available that will launcher the kitchen sink automatically. We also have a native installer for Windows and Mac.

Contributing samples

  • Clone the project (git clone https://github.com/edvin/tornadofx-kitchensink)
  • Add a package inside tornadofx.kitchensink.samples for your sample
  • Depending on your sample, add the relevant packages and files inside your sample package:
    • controller - For controllers
    • view - For views, fragments and other UI components
    • model - For model objects and view models
    • README.md- Description and helpful information about the sample
  • Describe your sample in the samples.json descriptor
    • Either pick an existing category or create a new under the samples node. Describe your sample like this:
{
  "name": "Person Editor",
  "entrypoint": "tornadofx.kitchensink.samples.masterdetail.simple"
}

The entrypoint should point to the sample package. This is the package where you'll add the README.md along with the other sub packages described above.

Minimal requirement for new samples

You must include a view/MainView.kt with a MainView class. This class must extend View or Fragment.

Finally, create a PR and we'll be happy to add your sample!

tornadofx-kitchensink's People

Contributors

bekwam avatar ronsmits avatar bkenn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.