Blog

Naming conventions – PHP

Here are the suggested naming conventions for Variables, Classes, Functions and Files. Naming Variables Use all lower case. Use _ to separate words, e.g. $green_color_value Use descriptive names (except loop …

Best coding Practices – PHP

Never put phpinfo() in the root directory Assignments in arrays may be aligned. When splitting array definitions onto several lines, the last value may also have a trailing comma. Never …

Difference between B2B & B2C

Both have similar goals, but communicating with a different type of audiences. Here are the key differences between B2B and B2C. B2B (Business to Business) A business that operates by …

Install the VS Code editor on Ubuntu

Run following curl command to download Microsoft GPG key # curl https://packages.microsoft.com/keys/microsoft.asc | gpg –dearmor > microsoft.gpg Then install the key via command: # sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg Add the …

Create a project in Angular

Type following command to create a new project: # ng new <PROJECT-NAME> It will ask “Would you like to add Angular routing? (y/N)” – Type y and hit EnterOn the …

Install NodeJs and Angular CLI

How to Install NodeJs and Angular CLI Steps for installing NodeJS Open https://nodejs.org/ Download the LTS version and install it. ( *LTS – Long term support) After installation, opens the …