Laravel PHP commands

Install Composer, run the following script in your terminal:# curl -sS https://getcomposer.org/installer | sudo php — –install-dir=/usr/local/bin –filename=composer Install the Laravel CLI globally, run the following Composer command:# composer global …

Cloud Computing

1. Different ways of Data EncryptionA: a) Encrypting when data is at rest– Let’s suppose some data is in the database and is in encrypted form. Somebody wants to read …

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 …

Node.js

How to enable v8 inspector for debugging and profiling? –inspect –inspect=<PORT NO> NodeJS is advised to be used for? Single Page Applications JSON APIs based Applications Data steaming applications Data …

Compile time & run time

Q1. Difference between Run time and compile time? A: To become an executable program, source code should be compiled into machine code. This compilation process is known as compile time. …