SCRIPTING LANGUAGE VS PROGRAMMING LANGUAGE
Actually some people used to tell there is a limitations in scripting language compared to programming language.But not actually a big difference or limitations between these two things.
WHY BROWSER WERE INVENTED
Earlier computer manufacturer brands are famous not software engineers.At that time MS comes with OS and MS office(License Oriented) and MS dominated the field.That time Mosaic Corporation wanted to create something new that support all the things supported by MS Office that is how Browser were invented.(Browser -Supports all the formats like audio,video,txt...)
BROWSER HISTORY
MOSAIC Corporation --> Netscape --> After 20 days --> MS Corporation --> IE
First Browser War (NETSCAPE vs. IE) --> MS windows made IE as default for Windows User and won the war
Second Browser War (IE vs. CHROME) --> CHROME
Later Netscape Team --> Mozilla Firefox
BROWSER INTERNALS
USER INTERFACE
User Interface is the top bar
in the browser, where control lies. It includes space where we type the URL,
have back/forward buttons, space where tabs and setting options are.
BROWSER ENGINE
When HTML document loaded in the browser the HTML parser will create DOM and CSS parser will create CSSOM . HTML parser and CSS parser are part of Browser Engine.
RENDERING ENGINE
Rendering
Engine takes care of Presentation Layer of Web Page,according to the
CSSOM received from the browser engine it paint the webpage into the
browser.
BASICS OF DOM
Whenever HTML document loaded on browser it automatically create DOM.
WHY DOM IS OBJECT MODEL & REPRESENTED IN TREE STRUCTURE
1.Object Model use in-memory (RAM) method and it helps to access any elements of the document globally.
2.Tree Structure makes searching process faster and whatever changes we are doing in Parent node automatically it reflect / inherit into Child node too.
HOW TO INSTALL NODE JS
For windows we can check with node - v //node version on command prompt
For windows we can check with node on command prompt
HOW TO USE NODE JS ON COMMAND PROMPT
1.Interactive Mode -> node
It helps to do coding in the comment prompt
2.File Mode --.node ".js file path/address"
It display the output of .js file
Some Common Shortcuts on Command Prompt
Ctrl+d
clear()
exit()



Comments
Post a Comment