Skip to content

Platypi/platypus-todo

Repository files navigation

PlatypusTS TodoMVC Example

PlatypusTS is a framework focused on assisting with writing scalable cross-platform applications. The framework is written in TypeScript in order to take advantage of all its benefits. It is possible to write a vanilla JS app using PlatypusTS, but the recommended approach is to embrace TypeScript.

Learning PlatypusTS

The PlatypusTS website is a great resource for getting started.

Here are some links you may find helpful:

TypeScript

TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source.

TypeScript - typescriptlang.org

TypeScript is a superset of JavaScript, with optional type annotations. As any JS is valid TS, there is no interoperability issue. You could slowly convert an existing JS code-base and use JS libraries natively. You already know most of the language. It compiles back to JS.

It's attractive to people with a background in strongly typed languages, who are willing to type in more code-- classes and type annotations-- receiving the benefit of type checking on compile time. IntelliSense works better as well.

Learning TypeScript

The TypeScript website is a great resource for getting started.

Here are some links you may find helpful:

Get help from other TypeScript users:

If you have other helpful links to share, or find any of the links above no longer work, please let us know.

Implementation

Editors

A great editor for TypeScript is Visual Studio Code.

Other editors include:

Ambient declarations

It is useful to have type information for the libraries you use. DefinitelyTyped is a nice collection of annotations by Boris Yankov.

Files

  • *.ts are source code files.
  • *.d.ts are ambient declarations for interfaces and libraries.
  • *.js are generated by the compiler.
  • *.js.map are source maps generated by the compiler, for better debugging experience.

The best place to start is by looking at 'js/viewcontrols/todo.viewcontrol.ts' and 'js/viewcontrols/todo.viewcontrol.html'.

Releases

No releases published

Packages

No packages published