Giter VIP home page Giter VIP logo

playgrounds's Introduction

playgrounds

This repository contains the same Playgrounds application implemented in different ways. Kinda like the TodoMVC

The playground application contains a list of Copenhagen playgrounds. The playgrounds will be sorted so that the closest ones are at the top of the list.

Selecting the playground will show the position on the map and a summary of this playground.

Playgrounds screenshot

angular2 with typescript

Using angular2 and TypeScript to create the playground application.

The application has been updated to Angular 2 Final Release. The application has been created using Angular CLI beta 15. No deprecated APIs are being used. The application uses CommonModule, HttpModule, RouterModule, FormsModule, ReactiveFormsModule.

Feedback would be appreciated!

angular-with-scope

The classic AngularJS application using the $scope in the controllers and directives.

angular-controller-as

Using the newer and preferred controllerAs syntax instead of $scope

The directives uses the bindToController.

$scope will still be used for watching the model.

angular-typescript

Using TypeScript to create the playground application.

So what does TypeScript gives us? It gives us classes, interfaces, generics etc. And why would we want that? First of all classes, interfaces etc is a way of working that many developers get. We also get a lot more help form the IDE, automated and secure refactoring and then we get a compiler that gives us compile time errors instead of runtime errors.

All these things make a lot of sense, even more so when working on larger projects with a longer life expectancy and with developers with different skills sets.

Swift

A mobile application doing the same thing. This time made using swift

playgrounds's People

Contributors

bregnvig avatar pgrosvenor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pgrosvenor

playgrounds's Issues

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.