The DictionaryReplacer Kata
This kata is about making a simple string replacer. It is inspired by Corey Haines Lightning talk about practicing. Create a method that takes a string and a dictionary, and replaces every key in the dictionary pre and suffixed with a dollar sign, with the corresponding value from the Dictionary.
There is one Web-Application Framework, which has been strongly enforced with Node.js: Express.js. It has been inspired by the Sinatra-Framework, known of the Ruby world. It extends the Node.js Build-In modul
http, so developing a modern web-app will be simplified:
- Comparable to the Microsoft Web-API (just better :))
- Communication with REST (HTTP) is norm
- View Templating
- Session Support
- Static Files Support
- e.g. functions, which are able to log between request and response (Logger etc.)
- and many more…
Visual Studio Code is a free code editor of Microsoft with an excellent TypeScript and Node.js development support. This blog post describes how easy it is to create a new Node.js project with TypeScript support. And at the end, we will also debug a small “Hello World” example.