Commit 5c6aa6b4 authored by Pavel Savara's avatar Pavel Savara

improved readme formating

parent f0b82920
......@@ -20,7 +20,7 @@ Editor for TypeScript is at the moment Visual Studio 2012 with
[TypeScript](http://go.microsoft.com/fwlink/?LinkID=266563) and
[Web Essentials 2012](http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6) plugins.
[Webstorm is comming soon](http://joeriks.com/2012/11/20/a-first-look-at-the-typescript-support-in-webstorm-6-eap/).
Webstorm is [comming soon](http://joeriks.com/2012/11/20/a-first-look-at-the-typescript-support-in-webstorm-6-eap/).
## Node.js ##
standalone compiler is available as Node.js package.
......@@ -38,20 +38,22 @@ It is useful to have type information for API of libraries you use. Nice collect
It's used for AngularJS interface definitions in this project.
## Files ##
All .ts are source code.
All .js files are generated by compiler, except files in js/libs folder.
All .d.ts are ambient declarations for libraries.
File _all.ts is used to enumerate add files in the project for benefit of TypeScript compiler.
If number of files grows, you could put _all.ts file into each folder, move all nested references to it and reference nested _all.ts from parent _all.ts.
All `.ts` are source code.
All `.js` files are generated by compiler, except files in js/libs folder.
All `.d.ts` are ambient declarations for libraries.
File `_all.ts` is used to enumerate add files in the project for benefit of TypeScript compiler.
If number of files grows, you could put `_all.ts` file into each folder, move all nested references to it and reference nested `_all.ts` from parent `_all.ts`.
Start reading `TodoCtrl.ts` first and continue with `Application.ts` and `Index.html`, rest of it is easy.
Start reading TodoCtrl.ts first and continue with Application.ts and Index.html, rest of it is easy.
AngularJS knowledge is steeper learning curve than TypeScript.
## AngularJS ##
There is very litte difference between this project and AngularJS TODO, in the way how AngularJS is used.
Only significant difference is, that dependency injection is done via annotated constructors, which allows minification of javascript.
It's definitely possible to convert vanillajs TODO into TypeScript,
but demonstration TypeScript's benefit is clearer with full blown framework and project structure.
It's definitely possible to convert vanillajs TODO into TypeScript.
But demonstration TypeScript's benefit is clearer with **full blown framework and project structure**.
AngularJS documentation and tutorials are worth reading in detail.
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment