When programming in JavaScript, developers have three main options for declaring variables: var, let, and const. Each of these options has its own advantages and use cases, and understanding the differences between them is crucial to writing efficie ...
Why database should be taught before programming in universities?
Learn Database before Coding Often students from the initial semester ask me how do we store our data in our programming projects? When students join university to learn about computer science and technology they are usually taught programming fi ...
Sharing data between Laravel and Angular
When building applications with Laravel and Angular you might come across a problem where you want to print data using AngularJS brackets {{}} but before it can be parsed by Angular, Laravel blade engine parses it and tries to replace the value if it ...
One reason why you should refactor your code often
Once upon a time, a consultant made a visit to a development project. The consultant looked at some of the code that had been written; there was a class hierarchy at the center of the system. As he wandered through the hierarchy, the consultant saw t ...
AngularJS vs BackboneJS vs EmberJS? What I decided and why?
What I was looking for that framework should be easy to learn and should be integrated in the project easily. Keeping in that mind I searched a little bit about each and went through some reviews. What I concluded I’ll just say it in one line for each.
Create your first real-time AngularJS application
In my previous article I talked about creating real-time PHP application. That was on the server side and I demonstrated a very very basic client to connect with it. Let's take that to next step and create a Javascript client with AngularJS. Code ang ...
Global Variables in AngularJS
I’ve followed the angularjs tutorial and I noticed that I wasn’t able to have global variables. Turns out to be actually simple but Angular doesn’t mention it. You will need to edit your app module (app.js ) var app = angular.module('appName',); //A ...