Introduction to Javascript By Satyen

  • 705 views
Uploaded on

An Brief Introduction to Javascript By Satyen

An Brief Introduction to Javascript By Satyen

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
705
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Introduction to JavaScript
    By: Satyen Pandya
    1
    satu21@gmail.com
  • 2. Contents
    2
    • What is JavaScript ?
    • 3. Brief History
    • 4. JavaScript Implementations
    • 5. ECMAScript
    • 6. Document Object Model (DOM)
    • 7. Browser Object Model (BOM)
    satu21@gmail.com
  • 8. What is JavaScript ?
    3
    • JavaScriptis an implementation of the ECMAScript language standard.
    • 9. It is used to enable programmatic access to computational objects within a host environment.
    • 10. It can be characterized as a prototype-based object- oriented scripting language that is dynamic, weakly typed.
    • 11. It is a client-side scripting language.
    satu21@gmail.com
  • 12. Brief History
    4
    • JavaScript was developed by Brendan Eich of Netscape
    • 13. It was initially called LiveScript, then renamed to
    JavaScript
    • In 1995 Netscape Navigator 2.0 was released with
    JavaScript 1.0
    • In 1996 Netscape Navigator 3.0 was released with
    JavaScript 1.1
    • Recent release JavaScript 1.8.5 in July, 2010
    satu21@gmail.com
  • 14. JavaScript Implementations
    5
    • JavaScript implementation is made up of three distinct
    part :
    The Core (ECMAScript)
    The Document Object Model (DOM)
    The Browser Object Model (BOM)
    JavaScript
    satu21@gmail.com
  • 15. ECMAScript
    6
    • It can provide core scripting capabilities for a variety of
    host environments, and therefore the core scripting
    language is specified, apart from any particular host
    environment.
    • ECMAScript is simply a description, defining all the properties,
    methods, and objects of a scripting language.
    • ECMAScript describes following :
    satu21@gmail.com
  • 16. DOM
    7
    • Document Object Model (DOM) is application
    programming interface (API) for HTML as well as XML
    • The DOM maps out an entire page as a document
    composed of a hierarchy of nodes
    • Each an HTML or XML page is derivative of a node
    satu21@gmail.com
  • 17. DOM (Contd…)
    8
    • DOM Level :
    • 18. Level 1 - Map out the structure of document
    • 19. Level 2 - Added support for mouse and user interface events, ranges, traversals, and support for
    CSS through object interface.
    • DOM Views - Interfaces to keep track of the various
    views of document
    • DOM Events - Interfaces for events
    • 20. DOM Style - Interfaces to deal with CSS-based styles
    • 21. DOM Traversal and Range - Interfaces to traverse
    and Manipulate document tree
    • Level 3 - Added support of methods to load and save documents, methods to validate a document, extended support to XML 1.0
    satu21@gmail.com
  • 22. BOM
    9
    • Browser Object Model (BOM) allows access and manipulation
    of the browser window
    • BOM includes :
    • 23. Capability to…
    • 24. Pop up new browser window
    • 25. To move, resize, and close browser window
    • 26. Navigator object, which provides detailed information
    about the web browser
    • Location object, information about the page loaded
    in browser
    • Screen object, information about user’s screen
    resolution
    • Support cookies
    satu21@gmail.com
  • 27. Thank you…
    By: Satyen Pandya
    10
    satu21@gmail.com