The 10 Commandments of a Born again Developer
This book of the law shall not depart out of thy mind and laptop; but thou shalt meditate therein day and night, that thou mayest observe to do according to all that is written therein: for then thou shalt make thy way prosperous, and then thou shalt have good success as a developer. 1. Thou Shall Ask For Help ( Be ye your senior/junior, [...]
The 5 Labours of Naming Conventions
Yeah i know you probably think Hercules has picked up programming as a career. I’m sorry to disappoint you, he’s still out there adding more labours to his Legend. While most people don’t have to worry about naming things, its the plight of the developer to come up with names in the course of their work. This includes one-off [...]
Eager And Lazy Loading Demystified
There are so many concepts in programming and it takes a while for some people to wrap their head around it. Initially when I heard about Eager and Lazy Loading, it seemed difficult to understand but actually it’s so simple. These terms are mostly used in Database and ORMs( Object Relational Mappers ). Let me explain this two concepts [...]
10 TIPS FOR NEWBIES/JUNIOR DEVELOPERS
For people interested in making a career out of programming and also newbies/junior developers, these are 10 good tips that can enhance your performance and make you a better developer. Try to Learn one new thing every day even if it’s just a nice little trick/tip. Don’t feel obligated to keep up with every new language/platform/package [...]
TOKEN BASED AUTHENTICATION FOR MEAN STACK APPS – PART 2
Let’s populate our user model. This is a mongoose schema that represents a collection in our Mongo Database. user.server.model.js [crayon-593748197f082628478338/] Now, that we have a user model, it’s time to write a user controller that will manipulate the models. user.server.controller.js [crayon-593748197f090787553446/] Let’s review [...]
TOKEN BASED AUTHENTICATION FOR MEAN STACK APPS – PART 1
Creating independent frontend and backend applications makes scalability easy. Building your backend as an API and consuming it with frontend components makes development easily maintainable and allows distribution across different servers when your app grows very large. SETTING UP YOUR ENVIRONMENT Today, we’ll build a simple app that demonstrates [...]
How To Deploy a Mean Stack App To Microsoft Azure
Microsoft Azure has been picking up steam in the development space when it comes to hosting apps in the cloud. However, being a Microsoft product the general developer community seems to perceive it as a service for only Microsoft developers. In reality, Azure is just like any of it’s counterparts and supports a wide range of technologies [...]
How To Send Emails Using Node.js
Since its introduction node.js has been quickly gaining widespread adoption and it is increasingly being used in place of older server side languages like PHP or Classic ASP. It boasts a large community of developers and as a result quite a number of modules have been created to expand and enhance its core functionality. In this blog post, [...]
Handling File Uploads Using AngularJs, Node and Express
I was working on a project recently and there was a need to incorporate file uploads into the application. I stumbled on this awesome directive by Danial Farid that seemed so easy to use even though nothing is exactly as easy as it seems. I tried incorporating it into my application and it was a struggle for a while before finally getting [...]
SIMPLE PAGINATION IN ANGULARJS
Try to imagine AngularJS without the ng-repeat directive. Life would be so hard, huh? but even as easy and natural as it is to loop through a collection using the ng-repeat directive, some questions pop up. Questions like: “What if the collection I need to loop through is massive? What if I only need to display a certain number of items [...]