czwartek, 30 marca 2017

Coming back to work!

After long time of break i am comming back to project. I am going to rewrite project to angular4. Also the major changes will be about project itself, this is also a story about the idea behind it.
The idea came from work, when i saw 2 guys playing dart. Each time the round was changing for them, they were putting the score to... calculators on their phones. So I thought "Hey maybe we can improve this", even if the application will probably stay in prototype mode this is great practice! Few days later I wanted to improve the idea by adding a possibility to play it on. Now i can see how challanging it would be, also if I would really create such a game, why not to do it in Unity? So I will rewrite it just put the players and scoreboard to it. Expect some more code in the end of the week. Cheers!

niedziela, 19 marca 2017

Establishing connection for Server/Database

That was a long-term fight. Not becouse it's very hard. Much more becouse i had old learning materials (book with previous version of node.js). Now when I have established the connection and also understood how module.exports works we can go further with our application.

piątek, 10 marca 2017

Cleaning up

This is the time to organize some code... First we will just put each controllers to different files. Also I am going to delete immediately invoked function expression (IIFE), becouse AngularJS is going to do the job for us.

I have decided to extend the project to use also Node.js and Express, becouse the book that im reading is highly focused on MEAN pattern (MongoDB, Express, AngularJS, Node.js).

On Sunday i am going to code more, becouse this week i had full of work and im working this Saturday. Wish you a good night!

niedziela, 5 marca 2017

About AngularJS in project

At the beginning of project i wanted to create whole HTML and CSS structure... But then i have read more about AngularJS. My idea to learn Angular in the end of project was very wrong, becouse whole HTML structure needs to be written right to apply Angular framework! Yesterday i was able to add some data structure to the project and let angular display it on webpage. With Angular we can change the data in the program without worrying about displaying it on the page, becouse it does it for us automaticly wih $scope.

niedziela, 26 lutego 2017

Welcome

Hi everyone! We will start a journey with my first real project called "Dart Game". I will be using known by me technologies:
  1. HTML
  2. CSS
  3. JavaScript
And also I will be learning new technologies for me:
  1. AngularJS
  2. MongoDB
This is how the project looks like at the moment:
Well. That was straight to the point. I will be writing more about the project as soon as the project start. If you have any ideas what i can improve on my blog or my project feel free to contact me, i will be very thankfull for every contact with you guys! Enjoy.