sábado, 12 de diciembre de 2015

Setup

To setup the application the following steps needs to be done :

a) Create a blog to explain the full proces
( finished by 12dec2015)

b) Create a github project to hold the fullstack application
( finished by 12dec2015)
https://github.com/ltejada/angular2-chess

c) Create a nodejs application in openshift to hold the thin server
( finished by 12dec2015)
http://angular2chess-ltejada.rhcloud.com/

d) Create a database in MongoLab to hold the data used by the server
( finished by 12dec2015)
https://mongolab.com/databases/angular2chess

I thought I could use the openshift account as well, and create a mongodb application, but that database has a limit of 16 concurrent conexions, and keeping the database and the server separated, it seems a good idea to me

e) setup the real application using all the previous points

Introduction

Last two months, I have been learning angular2. This is the new revision of the angularJs language.
As at the time of writing this blog, angular2 is still in Alpha state ( currently alpha-52) if has been funny, but difficult, as existing documentation is difficult to find and changing every week.

As the current state of angular2 is really close to be beta, I have decided to start a chess application, written in angular2, using typescript, and bootstrap tweeter in the client side, and node.js and javascript in the server side ( This is something that I am still thinking about, as myabe it could be a good idea tu use typescript in server side... lets see)

So, The idea is to build a client application, written in angular2 and typescript to allow people play chess between them.
The server side it will be as thin  as I can implement, but probably only used for passing the messages between the players, letting 99% of the logic of the application running in the client side.