Wednesday, April 26, 2017

Major Difference between Angular 1 and Angular 2

Angular-2 is not the upgrade of Angular-1. Angular 2 is completely rewritten. Angular 1.x was not built with mobile support in mind, where Angular 2 is mobile oriented. Some, Major difference between Angular-1 and Angular-2 I listed here.

   ✥ Welcome TypeScript, Good-Bye JavaScript
Although TypeScript is a superset of JavaScript but there has been introduced a lot of new concepts like classes, let, const, import/export, and arrow functions.

     ✥ Welcome component, Good-Bye Controller and $scope
Using Controller and $scope in Angular-1  are no longer used in Angular-2. They have been replaced by components and directives. Components are directives with a template.

    Welcome Bootstrapping, Good-Bye ng-app
Using  ng-app attribute to connect an Angular App in Angular-1 is no longer used in Angular-2. Instead of, Angular-2 has been introduced with new technique called Bootstrapping.In Angular-1 ng-app attribute directive has been used to connect angular modules to a view. This process, has been changed with bootstrapping in Angular-2.

   ✥ Many basic directives, filters, and services do not exist until they have been imported in Anugar-2 but in Angular-1 there is no need to imported
In Angular-1, this was true for things like services (e.g. $http), but now we have to import basic directives like NgModel first (amongst other things). Firstly, it seems that it would be burdening but later, it seems that it ultimately allows  to explicitly control the overhead of your Angular applications which is a good thing.

Tuesday, April 25, 2017

What is deep web? Comparison between Deep Web, Surface Web and Dark Web. How do you access it?



Deep Web: The Deep web is a part of the World Wide Web whose contents are not publically accessible like Bank Accounts, Email Storage, Private Database, Facebook Message anything that traditional search engine like Google, Bing, Yahoo etc. cannot access. The term “Deep Web” comes from Michael K. Bergman a computer scientist in 2001. It is a large portion of the internet estimated at 95%.

Surface Web: The Surface Web (also called the Visible Web, Indexed Web) is a small part of the World Wide Web that is readily available to the general public and searchable with standard web search engines like Google, Bing, Yahoo etc. It is the opposite of the deep web. It is a small portion of the internet estimated at 5%.
Pic: Surface, Deep and Dark Web (From Google)
Dark Web: The Dark web is the small part of the Deep Web where websites are purposely hidden like Drug Markets, Whistleblower sites, Hacktivist, Illegal business etc. Its content exists on darknets, overlay networks which use the public Internet but require specific software, configurations or authorization to access. It is a very small portion of the internet estimated at 0.03%.

Dark Web includes:
  • Illegal Business like Drugs, Smuggling etc.
  • Disturbing Images (no more that the normal web).
  • Illegal Pornography.
  • Hacktivist sites, Forums, blogs, Chat rooms.
  • The website for free speech.
  • Others Everything else which is not generally legal.
Fig: Portion of Surface, Deep and Dark Web.
Sometimes the term "Deep Web" is mistakenly used to refer specifically to the Dark Web. Actually, Dark Web is a very small portion of Deep Web which is widely used for the illegal operation.

How to stay safe on Deep Web:
  • Don't buy illegal things.
  • Don't give any personal information.
  • Don't click on links randomly.
  • Don't be rude.
How can you access to Deep Web or Dark Web?

The TOR network is an anonymous network that can only be accessed with a special web browser, called the TOR browser.

Properties of TOR:
  • Proxy and Browser that can access the Deep Web as well as Dark Web.
  • Can be used anonymously to browse the surface web.
  • Usually used for Dark Web.
  • Free to use.
You can download this browser from https://www.torproject.org.


Monday, April 24, 2017

ReactJs vs AngularJs. Comparison between ReactJs and AngularJs. How ReactJs is different from AngularJs?

Fig: ReactJs Vs AngularJs
ReactJS and AngularJS are most popular JavaScript (JS) latest technologies that we use to create interactive single-page applications (SPAs). These two technology are most recent and widely growing technology in the present world. Making the choice of which technology is better is really difficult for web developer.

From the below chart we will see  international demand of these two technology:

Fig: International Demand of ReactJs and AngularJs
Actually, ReactJS is a library which includes only a view. Otherwise, AngularJS is a framework which includes Model-View-Controller (MVC). But both these two technology are currently used by many e-commerce, news portals, travels and business companies all over the world. AngularJS release date in 2009, since then it is the top JavaScript framework all over the world. AngularJS is developed by a Google employee named Misko Hevery in 2009. ReactJS is most recent technology than AngularjS. ReactJS is developed by a Facebook employee named Jordan Walke in 2013.

Now we will see peer to peer comparison between ReactJS and AngularJS: