JAVASCRIPT
How to build your own Youtube – Part 1
YouTube is the largest and most popular Global video-sharing website. In its early stages, it began as a simple but highly innovative way users can upload, view, comment and share videos. When YouTube started in 2005 they had to build their entire stack from scratch. Today you can make use of cutting edge services to greatly simplify the work [...]
Website Optimisation: The Little Bits
In website development, we come across the phrase optimisation on a daily basis. Optimisation usually refers to techniques or technology used to make your website run faster, respond faster, adapt to different screen sizes and be search engine friendly. Some popular techniques for optimising your website include: Minification of web resources [...]
Build Your First Mobile App with Ionic – Part 2
The focus of this app is to easily get hold of developers that actively contribute to open source in PHP and JS. Luckily for us, we have the data of the most active github users from 1st of Dec 2014 to 1st of Dec 2015 available to us by the help of paulmillr here. We could decide to just fetch it from there or download it as a .json file. [...]
Build Your First Mobile App with Ionic – Part 1
I believe one of the really good ways of properly learning something is taking baby steps. I started learning how to build mobile applications with Ionic Framework last week and I am excited to share my learning process and knowledge with you. Let’s let to build mobile apps with our existing web skills together. You need to have some [...]
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-5955ade52f5c7696419273/] 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-5955ade52f5d3353683926/] 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 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 [...]