Why JavaScript classes have only methods?
Because a class definition always defines prototype methods. Class variables are possible, but you wouldn't use prototype to set them.
What is a callback function?
Developer will call a method and pass a function (as an argument) that will get called back by the underlying implementation.
Thursday, September 14, 2017
JavaScript Testing
More than one year old, but this blog is still my heart winner!!
Read more: http://thejsguy.com/2015/01/12/jasmine-vs-mocha-chai-and-sinon.html
Some other useful links:
http://sinonjs.org/
https://facebook.github.io/ jest/
https://medium.com/powtoon- engineering/a-complete-guide- to-testing-javascript-in-2017- a217b4cd5a2a
http://blog.testdouble.com/ posts/2016-03-13-testdouble- vs-sinon
Read more: http://thejsguy.com/2015/01/12/jasmine-vs-mocha-chai-and-sinon.html
Some other useful links:
http://sinonjs.org/
https://facebook.github.io/
https://medium.com/powtoon-
http://blog.testdouble.com/
Tuesday, September 5, 2017
How to push a NodeJS application to Heroku
Start with these simple instructions:
https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction
And look for the very short-cut instructions here :)
https://dev.to/smithmanny/deploy-your-react-app-to-heroku-2b6f
Also, look at this article to push nodejs, express app to heroku in 10 steps:
https://medium.com/@grantspilsbury/build-and-deploy-a-node-express-server-to-heroku-in-10-steps-70c936ab15dc
https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction
And look for the very short-cut instructions here :)
https://dev.to/smithmanny/deploy-your-react-app-to-heroku-2b6f
Also, look at this article to push nodejs, express app to heroku in 10 steps:
https://medium.com/@grantspilsbury/build-and-deploy-a-node-express-server-to-heroku-in-10-steps-70c936ab15dc
Sunday, September 3, 2017
JSON Schema Validator - Some examples
Online JSON Schema Validator: http://www.jsonschemavalidator.net/
And practice these examples: https://json-schema-validator-examples.herokuapp.com
And practice these examples: https://json-schema-validator-examples.herokuapp.com
Wednesday, August 30, 2017
AJV - the JSON Schema validator
- Ajv is the fastest JSON Schema validator for node.js and browser.
- Ajv compiles schemas into functions - ajv.compile(<your schema>)
- ajv.validate(<your json data>) returns the errors.
So far I feel comfortable with this site to practice JSON validations:
https://json-schema-validator.herokuapp.com/
Friday, August 25, 2017
24 Chambers of Shaolin
- Create a NodeJs application with express
- Create a NodeJS application with routes, MongoDB
- Create a NodeJS application with RestAPI (creating and consuming)
- Create a NodeJS + Spring Boot application with RestAPI
- JavaScript advanced topics like Promises, Array methods, callbacks, call, apply, bind, curry
- JavaScript ES6 - Fundamentals
- JavaScript TypeScript - Fundamentals
- ReactJS fundamentals
- ReactJs application
- ReactJS application with Routes
- ReactJS, Redux application
- ReactJS + Spring Boot application with Rest API
- Testing - unit, integration
- Debugging
- Deployment of NodeJS application
- Jenkins pipelines
- git commands
- Unix Shell scripts
- SaaS CSS basics
- Responsive web design
- GIT
- MAC
- Maven, ant, Gradle
- Gulp, Grunt, web pack
Thursday, August 24, 2017
More on Spring Boot Annotations
This web site explains some of the key Spring Boot annotations that I came across while working on a Spring Boot application.
http://zetcode.com/articles/springbootbean/
A sample of explanation: Spring
You see, it's that simple and cool :)
http://zetcode.com/articles/springbootbean/
A sample of explanation: Spring
@Bean annotation tells that a method produces a bean to be managed by the Spring container. It is a method-level annotation. During Java configuration (@Configuration), the method is executed and its return value is registered as a bean within a BeanFactory.You see, it's that simple and cool :)
Subscribe to:
Posts (Atom)