Giter VIP home page Giter VIP logo

qx-typed's Introduction

Introduction

This is a small test application that demonstrates how you can easily use Qooxdoo from a TypeScript project. This application can also serve as a template to build your own application.

The easiest way is to try it out and get started is:

  • Download this application
  • Download the CATS editor, specially designed for developing with TypeScript. You can get it from https://github.com/jbaron/cats
  • Open this application folder as a project in CATS.

From there on it feels very much like a tradditional Java or C# development cycle. Change the code, compile, run.

Right now this build and tested using Qooxdoo 5.0.1 and TypeScript 1.8.

How to get started

All you really need to do is implement a function with the following signature:

someFunctionName(app: qx.application.Standolone): void

and then register it:

qx.registry.registerMainMethod(someFunctionName);

Within this function you can use all the Qooxdoo widgets you like and it is behaves just like a normal Qooxdoo application. The benefit is that because of TypeScript and CATS you get all kind of benefits like codecompletion, type checking and easy navigation.

You can use the provided test application (application.ts) as an example to see how to create some simple widgets. For more examples you can always check the CATS editor itself.

Background

For the CATS editor, I wanted to validate if Qooxdoo would be a good fit. So can Qooxdoo be used with TypeScript and having the best of both worlds: a proven set of widgets with the strong typing that TypeScript brings to the table.

Additional I wanted to be able to use CATS to develop CATS without having to use the normal Qooxdoo tooling set (generate.py stuff)

License

This application uses much of Qooxdoo and for those part the same license applies as Qooxdoo. So either LGPL or EPL. See also qooxdoo.org for more details.

For the remaining part the Apache License is applicable (mainly the qooxdoo.d.ts file).

qx-typed's People

Watchers

 avatar  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.