Categories
PHP Engines

Next Generation PHP Engines: HHVM/PHP-5.5/PHPNG

HHVM: In looking for an infrastructure to comput more efficiently HHPM an efficient PHP Engine was developed by Facebook . Commonly know as HipHop for PHP. HHPM is an intermediate bytecode language which translate PHP to native code through JIT(Just In time Compiler).PHP is simple to learn, read, write, and debug.Through HHPM CPU usage can be […]

Categories
Drupal modules

A quick start to Drupal Testing for modules/themes

Drupal can be extended by composing your own module as per the needs.Before taking you through the practical guide I will be giving you a lime light of what a module is? What is a Drupal Module? A set of files with some special features and functionalities makes a module. The purpose behind this is […]

Categories
Web Architecture

Central Authentication System: CAS

History of CAS Yale University originally created an open standards to integrate with many applications and systems called as Central Authentication Service. It is an authentication system with single sign on service and is an open and well-documented protocol. The protocol includes a client web browser, a web application requesting authentication (of the CAS consumer) and a […]

Categories
DataBase Management System

CUBRID v/s MySQL

Comparing CUBRID and My SQL isn’t simple both being open source SQL-based relational database management systems are heavy competitors of each other.CUBRID is just like MySQL but when it comes in terms of fastness,especially in those cases when a web application generates huge concurrent requests CUBRID is far ahead of MySQL.To start up with I have […]

Categories
Programming

CSS Pre-Processors with Super Powers

CSS Pre-Processors with Super Powers … (SASS/LESS/Stylus) A program or software installed on developer’s computer that receives a set of input data to produce certain output that will be used as input by another process is what we call is as Pre-processor. In our case of CSS Pre-Processors, its one or several files in a […]

Categories
Web Architecture

Scaling web applications: Part 3 – Horizontal Scaling

Till now we have tried to extract more and more meat out of a single machine (vertical scaling) i e adding faster CPU, more RAM, SSD and adding certain tools Varnish cache to enable us to handle more traffic. This has a limit to it ,depending on the architecture of the application that needs to be […]

Categories
Uncategorized

Scaling web applications: Part 2- Caching Strategy

So now your site is handling a rush of traffic; I am assuming you have a VPS/dedicated server and you have added more RAM & CPU cores to your server and hit a peak point there.And of course you have setup a CDN much before you landed at this junction. Your web server (ideally nginx) […]

Categories
Uncategorized Web Architecture

Scaling web applications: Part 1- Why use a CDN

We have been struggling to scale our applications and felt the need to add a real world perspective to the whole process of scaling up web applications. This post forms part of a series, devised to explore and lay down the nuts and bolts of the using different  tools and processes to handle scaling web […]

Categories
Server Administration Web Architecture

Caching strategy – Using varnish to handle high traffic

Varnish is an HTTP accelerator and is used as a caching strategy to reduce load on web server… you can find great guides on how to set it up and get started.But the more elusive question is WHEN TO USE VARNISH? Trying to streamline the caching strategy, we often had to rethink when to use Varnish. […]

Categories
How To Javascript Node JS Programming

[How To] Implement Passport.js Authentication with Sails.js

Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password. Step 1: Dependencies passport passport-local bcrypt List these dependencies inside application_directory/package.json  under dependencies.

Step 2: Create user model To create user model run the following command:

Now the user model will be created inside the /api/models/user.js […]