Categories
Java Script Tutorials

First Class Function and Callbacks

First class function or first class citizen in JavaScript. But what are first class in general, According to wikipedia A first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities Source First class function are treated like variables. Variables are assigned values. They are passed as an […]

Categories
Angular Ionic Java Script Tutorials

Add Leaflet Markers, Popups and Circle

Although this article is part of series but you can follow along without going through the whole series. All the information provided can be applied to any JavaScript project. Add simple Leaflet Map Add Leaflet Markers, Popup and Circle Previously, we build a simple map with leaflet. In this article we will look into location […]

Categories
Firebase Java Script Screencast Tutorials

Upload Photos to Firebase Storage with Ionic Angular [Screencast]

Firebase storage or cloud storage for Firebase makes it super easy to store your photos and videos. Firebase is Google platform known for scalability, cost effectiveness and security. It is reliable as it based on Mobile First approach. Which means it intelligently pauses and resumes the file transfer based on internet connectivity. If you are […]

Categories
Angular Firebase Java Script Tutorials

Getting Started with Firebase for Angular Ionic

Firebase is an app development platform covering everything from Database, Storage, Authentication to Hosting, Analytics. We don’t need to worry about the back-end of our application. One of the other exciting feature is real-time Database. A change in one client can immediately be seen in another. If so much of the organisation and architecture is […]

Categories
Java Script Tutorials

Registering JavaScript Events can be Tricky

When registering JavaScript Events we need to provide the handler. That handler is called when ever a specified event is clicked. function clickHandler() { alert(‘Window is clicked’) } window.addEventListener(‘click’, clickHandler()) The problem with above code is that, we will see the alert as soon as windows loads. The expected result is show alert whenever we […]