Saturday 10 February 2018

Difference Between Reactjs and Angularjs

Difference Between Reactjs and Angularjs

Technology React JS Angular JS Angular 2
Author Facebook Community Google Google
Type Open Source JS library Fully-featured MVC framework Fully-featured MVC framework
Tool Chain High Low High
Language JSX JavaScript, HTML TypeScript
Learning Curve Low High Medium
Packaging Strong Weak Medium
Rendering Server Side Client Side Server Side
App Architecture None, combined with Flux MVC Component-Based
Data Binding Uni-Directional Bi-Directional Bi-Directional
DOM Virtual DOM Regular DOM Regular DOM
Latest Version 16.2.0 (November 28, 2017) 1.6.8(December 18, 2017) 5.2.3 (31 January 2018)



Question: What are the Advantages of angularjs?
  1. It is a full-fledged framework that can run in any browser or platform.
  2. Two-way data bind which means data sync in view and model.



Question: What are the Advantages of Reactjs?
  1. JSX(JavaScript syntax Extension) is a javascript syntax that enables HTML quotes and usage of HTML tag syntax for subcomponents rendering.
  2. Prompt rendering is features of React that gives a significant edge over Angular.
  3. ReactJS is working on javascript whereas Angular is working on HTML. JavaScript is far more robust, than HTML, that makes React far more simple.



Tuesday 6 February 2018

php is not recognized as an internal or external command wamp

Question: How to "Fix php is not recognized as an internal or external command wamp"?

Step 1
Click on Start Button => Right Click on Computer => Click on Properties

Window 7 go to the properties


Step 2
An Popup will appear => Click on "Advance System Setting" (Left Panel)


Step 3
Click on "Environment Variable"

Window 7 go to the System properties


Step 3
A popup will appear, Select PATH and click on "EDIT"
Window 7 Edit Environment Varaible



Step 4 Add you php.exe path at the end of input box like below:
;D:\wamp\bin\php\php5.5.12\

Window 7 Set php.exe path in environment variable