SlideShare a Scribd company logo
Combination of JavaScript,HTML,CSS and XML

Jesse James Garrett invented this acronym in Feb
2005 to describe its use by Google.
Web development technique for creating
interacting web application

AJAX is not a new approach or a language, but
that is a new way to use existing standards

Most of the Ajax world is focused on the client
side and its effects

XML is used to move information between client
and server.
HTML and CSS create format of output and
making stylish output.

JavaScript bind all these element together
and dynamically interact with the information
with server.
In AJAX ,asynchronous means the code does
not execute with loading a whole page but
that is execute when an event is occurs.

The event may be load, click, index of
combo box change etc.
   JavaScript is one of the world's most
    popular programming languages
    › Its popularity is due entirely to its role as the
      scripting language of the WWW along with
      VBScript
   JavaScript has a syntax similar to Java but:
    › It is not a real programming language (it is script)
    › It was developed at Netscape and not Sun.
    › It was originally called LiveScript, but that name
      wasn't confusing enough.
   JavaScript binds all the mentioned technologies
    together to create the Ajax “pattern”.
     › When a user clicks a button, you can use JavaScript
       and XHTML to immediately update the UI
     › Then you spawn an asynchronous request to the
       server using the XMLHttpRequest object via
       JavaScript to perform an update or query a
       database.
     › When the request returns as XML, you can then use
       JavaScript, CSS, XSLT and DOM to update your UI
       accordingly without refreshing the entire page.
     › Most importantly, users don't even know your code is
       communicating with the server: the Web site feels
       like it's instantly responding ("desktop-like" usability)
AJAX was not so much popular still……..

But then “Jesse James Garret” comes in
the picture in February 2005……….

He suggest the name AJAX.

He wrote an article on AJAX named “AJAX:A
New Approach To Web Applications”.
Although web development getting more and
more popular, Users are still experienced the nasty
part of having to click a button, wait until a new
page loads, click another button wait until the
new page loads , and so on.

AJAX is provide new opportunity for all that users

Mainly to build a fast, dynamic website, but also
to save resources
With AJAX ,you communicate with the server
behind the scenes, select the data which you
want and display it instantly in a web page-
no page refreshing is needed or no waiting.

Making a web application look and feel like a
desktop application , that AJAX does.
In browser we write code in JavaScript that
can fetch data from server as we needed

JavaScript use the XMLHttpRequest object to
send a request to the server behind the
scenes- without causing a page refreshing

The data that come back from the server can
be XML or just may be plain text if you prefer
The XMLHttpRequest is originally developed by
the Microsoft

XMLHttpRequest is the kernel of the AJAX

The XMLHttpRequest object allows client-side
JavaScript to make HTTP requests to the
server without reloading pages in the browser
and without blocking the user
This JavaScript object was originally introduced in
Internet Explorer 5 by Microsoft and it is the
enabling technology that allows asynchronous
requests

The Mozilla project first implement the
compatible browser with XMLHttpRequest in
Mozilla 1.0 in 2002.

This implement latter followed by Apple since
Safari 1.2,opera software since opera 8.0 etc.
Now we have AJAX enable yahoo! Search where
there will be no refresh in page anywhere and
can get search result at the same page without
the refreshing that page

Just click on “search yahoo!” or “mail” and you
will be get a result on the same page.

Another example of AJAX like Google maps, flickr,
you tube, google suggest, Microsoft live etc.
The classic web application
model works like this:

Most of the user http request go
To the server directly.

The server does some processing —
 retrieves data, crunches numbers,
 talks to various legacy systems

And then returns an HTML page
to the client
This approach makes a lot of technical
sense, but it doesn’t make for a great user
experience

At every step in a task, the user waits.
An Ajax application eliminates the
start-stop-start-stop nature of
 interaction on the Web
It introduces an intermediary, an Ajax engine, between
 the user and the server.

Instead of loading a webpage, at the start of the
 session, the browser loads an Ajax engine,
written in JavaScript and usually tucked away
in a hidden frame.

The Ajax engine allows the user’s interaction with
 the application to happen asynchronously,
 independent of communication with the server
Every user action that normally would
generate an HTTP request takes the form of a
JavaScript call to the Ajax engine
   Ajax incorporates several
    technologies, each flourishing in its own
    right, coming together in powerful new
    ways.
    › standards-based presentation using XHTML, CSS
    › dynamic display and interaction using DOM
    › data interchange and manipulation using
      XML, XSLT
    › asynchronous data retrieval using
      XMLHttpRequest
    › and JavaScript binding everything together.
   XHTML stands for EXtensible HyperText
    Markup Language
    › It consists of all the elements in HTML
      combined with the syntax of XML.
   CSS stands for Cascading Style Sheets
    › It is used to describe the presentation of a
      document written in HTML or XML.
   The HTML DOM is the Document Object
    Model for HTML .
    › DOM provides a standard set of objects for
      representing HTML and XML documents, and a
      standard interface for accessing and
      manipulating them.
    › Essentially, it connects web pages to scripts or
      programming languages.
    › It defines an HTML document as a collection of
      objects that have properties and methods and
      that can respond to events
   XML stands for EXtensible Markup Language
    › XML was designed to describe data and to focus
      on what data is (unlike HTML which was designed to
      display data and to focus on how data looks)
    › It is a general-purpose markup language for creating
      special-purpose markup languages that carry data.
   XSL stands for EXtensible Stylesheet Language
    › XSLT stands for XSL Transformations
    › XSLT is used to transform an XML document into
      another XML document, or another type of
      document that is recognized by a browser, like HTML
      and XHTML
   Client side:
o   That produce smooth, uninterrupted user
    workflow.
o   Save time for taken to page load again.
o   Creates entirely new types of user
    interfaces, that not possible in traditional
    model.
o   Small requests better equal responsiveness.
   Server side:
o   Doesn't required 3rd party software like Java
    and flash.
o   Fit into normal code flow.
o   Most developer are know the JavaScript.
   Client side:
o   Poor compatibility with old browsers and many
    mobile devices.
o   The first time long wait for AJAX sites.
o   Problem with forward/back buttons and
    bookmarks.
o   Limited capability like multimedia, interaction
    with web cams and printers, local data storage
    and real time graphics.
   Developer side:
o   Easily abused by the bad programmers.
o   Not everyone has JavaScript enabled.
o   Too much code makes browser slow.
  There are four types of AJAX frameworks.
1) Direct AJAX frameworks
2) Indirect AJAX frameworks
3) AJAX component frameworks
4) Server driven AJAX frameworks
 Direct AJAX frameworks is deal with HTML
  pages and used HTML elements.
 Generally that is small
 Use for website for shopping experience
  but not for web application
 That is based on compilation technology
 Required the knowledge of high level
  languages
 Rather than used of JavaScript and CSS
  that is required programming languages
 Compiler that turns high level language
  into JavaScript
 That offer pre build components which
  created by JavaScript or XML tags or
  adding special attributes to normal HTML
  elements
 Large in size and used to create web
  applications rather than web sites.
 That is used components
 Components are created and
  manipulated on the server using server
  side languages.
 User actions are communicated via
  server using Ajax techniques or server
  side code using server side component
  model.
   XUL
    ›   Pronounced "zool", XUL is a high performance
        markup language for creating rich dynamic user
        interfaces
    ›   It’s part of the Mozilla browser and related
        applications and is available in Mozilla browsers (like
        Firefox).
    ›   XUL is comprised mainly of a set of high-
        performance widgets that can be combined
        together
    ›   Advantages: high performance, fast, works with
        JavaScript, based on XML
    ›   Disadvantages: Only compatible with Mozilla
        browsers.
   XAML
    ›   XAML is a high performance markup language
        for creating rich dynamic user interfaces.
    ›   It’s part of Avalon, Microsoft’s next generation
        UI technology (will be supported in IE 7).
    ›   Advantages: high performance, robust, highly
        configurable.
    ›   Disadvantages: Microsoft-only technology and
        will be available only when Vista is released.
   Java Applets
    ›   An Applet is a program written in JAVA that
        can be included on a web page.
    ›   Advantages: Fast. Supported on most
        platforms (with the Java plugin).
    ›   Disadvantages: Requires the Sun Java
        plugin and takes a while to load.
   SVG (Scalable Vector Graphics)

    ›   A text based graphics language that describes
        images with vector shapes, text, and embedded
        raster graphics.
    ›   It has good interoperability with CSS and JavaScript
    ›   Advantages: Speed and flexibility.
    ›   Disadvantages: Requires proprietary plugins that
        many firms will not allow users to install. Rare skillset
        required to do development. This language is still
        somewhat immature and developing
   AJAX is a very
    innovative, fast, modern, outstanding
    technology for web pages which can
    provide rich user interface and can work
    almost like a desktop application.
Thank You !!!!

More Related Content

What's hot

Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slides
Smithss25
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
Nir Elbaz
 
PHP - Introduction to PHP AJAX
PHP -  Introduction to PHP AJAXPHP -  Introduction to PHP AJAX
PHP - Introduction to PHP AJAX
Vibrant Technologies & Computers
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)
WebStackAcademy
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
Priya Goyal
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
ShahDhruv21
 
JavaScript - Chapter 3 - Introduction
 JavaScript - Chapter 3 - Introduction JavaScript - Chapter 3 - Introduction
JavaScript - Chapter 3 - Introduction
WebStackAcademy
 
JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
Jeff Fox
 
Express js
Express jsExpress js
Express js
Manav Prasad
 
Ajax
AjaxAjax
Javascript
JavascriptJavascript
Javascript
Manav Prasad
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
balamurugan.k Kalibalamurugan
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
NexThoughts Technologies
 
Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page ApplicationKMS Technology
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
WebStackAcademy
 

What's hot (20)

Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slides
 
Ajax
AjaxAjax
Ajax
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
PHP - Introduction to PHP AJAX
PHP -  Introduction to PHP AJAXPHP -  Introduction to PHP AJAX
PHP - Introduction to PHP AJAX
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
 
Java script
Java scriptJava script
Java script
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
 
Xml http request
Xml http requestXml http request
Xml http request
 
JavaScript - Chapter 3 - Introduction
 JavaScript - Chapter 3 - Introduction JavaScript - Chapter 3 - Introduction
JavaScript - Chapter 3 - Introduction
 
JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
 
Js ppt
Js pptJs ppt
Js ppt
 
Express js
Express jsExpress js
Express js
 
Ajax
AjaxAjax
Ajax
 
Javascript
JavascriptJavascript
Javascript
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page Application
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
 
Ajax Ppt 1
Ajax Ppt 1Ajax Ppt 1
Ajax Ppt 1
 

Viewers also liked

Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
Raja V
 
Ajax Introduction Presentation
Ajax   Introduction   PresentationAjax   Introduction   Presentation
Ajax Introduction Presentationthinkphp
 
Building Applications Using Ajax
Building Applications Using AjaxBuilding Applications Using Ajax
Building Applications Using Ajax
s_pradeep
 
An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programminghchen1
 
WebApp / SPA @ AllFacebook Developer Conference
WebApp / SPA @ AllFacebook Developer ConferenceWebApp / SPA @ AllFacebook Developer Conference
WebApp / SPA @ AllFacebook Developer Conference
AllFacebook.de
 
Intro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NETIntro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NETAlan Hecht
 
Writing SPA in 2017
Writing SPA in 2017Writing SPA in 2017
Writing SPA in 2017
Arek Flinik
 
Working With Ajax Frameworks
Working With Ajax FrameworksWorking With Ajax Frameworks
Working With Ajax Frameworks
Jonathan Snook
 
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Edureka!
 
Arpanet
ArpanetArpanet
Arpanet
talozumba
 
Arpanet
ArpanetArpanet
Arpanet
jeremygc99
 
Single page application
Single page applicationSingle page application
Single page application
Jeremy Lee
 
Single page application
Single page applicationSingle page application
Single page application
Ismaeel Enjreny
 
Arpanet
ArpanetArpanet
Arpanetsmithz
 
Single Page Application presentation
Single Page Application presentationSingle Page Application presentation
Single Page Application presentation
John Staveley
 
ARPANET
ARPANETARPANET
ARPANET
Akhil Kaushik
 
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUISPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
andrew.macleod
 
Arpanet/Internet
Arpanet/InternetArpanet/Internet
Arpanet/Internet
Maria Martinez
 

Viewers also liked (20)

Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
Ajax Introduction Presentation
Ajax   Introduction   PresentationAjax   Introduction   Presentation
Ajax Introduction Presentation
 
Jsf Ajax
Jsf AjaxJsf Ajax
Jsf Ajax
 
Building Applications Using Ajax
Building Applications Using AjaxBuilding Applications Using Ajax
Building Applications Using Ajax
 
An Introduction to Ajax Programming
An Introduction to Ajax ProgrammingAn Introduction to Ajax Programming
An Introduction to Ajax Programming
 
WebApp / SPA @ AllFacebook Developer Conference
WebApp / SPA @ AllFacebook Developer ConferenceWebApp / SPA @ AllFacebook Developer Conference
WebApp / SPA @ AllFacebook Developer Conference
 
Intro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NETIntro to SPA using JavaScript & ASP.NET
Intro to SPA using JavaScript & ASP.NET
 
Writing SPA in 2017
Writing SPA in 2017Writing SPA in 2017
Writing SPA in 2017
 
Working With Ajax Frameworks
Working With Ajax FrameworksWorking With Ajax Frameworks
Working With Ajax Frameworks
 
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
 
Arpanet
ArpanetArpanet
Arpanet
 
Arpanet
ArpanetArpanet
Arpanet
 
Single page application
Single page applicationSingle page application
Single page application
 
Single page application
Single page applicationSingle page application
Single page application
 
Arpanet
ArpanetArpanet
Arpanet
 
Single Page Application presentation
Single Page Application presentationSingle Page Application presentation
Single Page Application presentation
 
ARPANET
ARPANETARPANET
ARPANET
 
Introduction to ajax
Introduction to ajaxIntroduction to ajax
Introduction to ajax
 
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUISPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
 
Arpanet/Internet
Arpanet/InternetArpanet/Internet
Arpanet/Internet
 

Similar to Ajax presentation

Ajax
AjaxAjax
25250716 seminar-on-ajax text
25250716 seminar-on-ajax text25250716 seminar-on-ajax text
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
M Ramya
M RamyaM Ramya
Ajax assignment help
Ajax assignment helpAjax assignment help
Ajax assignment help
john mayer
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Lookrumsan
 
INTRODUCTION.docx
INTRODUCTION.docxINTRODUCTION.docx
INTRODUCTION.docx
KaiSane1
 
Using Ajax In Domino Web Applications
Using Ajax In Domino Web ApplicationsUsing Ajax In Domino Web Applications
Using Ajax In Domino Web Applicationsdominion
 
AJAX
AJAXAJAX
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Development
zaidfarooqui974
 
Web II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side developmentWeb II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side development
Randy Connolly
 
Ajax: User Experience
Ajax: User ExperienceAjax: User Experience
Ajax: User Experiencepetrov
 
Ajax
AjaxAjax
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
Umar Ali
 
Java script Basic
Java script BasicJava script Basic
Java script Basic
Jaya Kumari
 

Similar to Ajax presentation (20)

Ajax
AjaxAjax
Ajax
 
25250716 seminar-on-ajax text
25250716 seminar-on-ajax text25250716 seminar-on-ajax text
25250716 seminar-on-ajax text
 
M Ramya
M RamyaM Ramya
M Ramya
 
Ajax assignment help
Ajax assignment helpAjax assignment help
Ajax assignment help
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Look
 
INTRODUCTION.docx
INTRODUCTION.docxINTRODUCTION.docx
INTRODUCTION.docx
 
Using Ajax In Domino Web Applications
Using Ajax In Domino Web ApplicationsUsing Ajax In Domino Web Applications
Using Ajax In Domino Web Applications
 
AJAX
AJAXAJAX
AJAX
 
J query
J queryJ query
J query
 
Ajax
AjaxAjax
Ajax
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Development
 
Web II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side developmentWeb II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side development
 
Ajax: User Experience
Ajax: User ExperienceAjax: User Experience
Ajax: User Experience
 
Ajax
AjaxAjax
Ajax
 
Web 2 0 Tools
Web 2 0 ToolsWeb 2 0 Tools
Web 2 0 Tools
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
 
Ajax
AjaxAjax
Ajax
 
Java script Basic
Java script BasicJava script Basic
Java script Basic
 

Recently uploaded

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 

Recently uploaded (20)

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 

Ajax presentation

  • 1. Combination of JavaScript,HTML,CSS and XML Jesse James Garrett invented this acronym in Feb 2005 to describe its use by Google.
  • 2. Web development technique for creating interacting web application AJAX is not a new approach or a language, but that is a new way to use existing standards Most of the Ajax world is focused on the client side and its effects XML is used to move information between client and server.
  • 3. HTML and CSS create format of output and making stylish output. JavaScript bind all these element together and dynamically interact with the information with server.
  • 4. In AJAX ,asynchronous means the code does not execute with loading a whole page but that is execute when an event is occurs. The event may be load, click, index of combo box change etc.
  • 5. JavaScript is one of the world's most popular programming languages › Its popularity is due entirely to its role as the scripting language of the WWW along with VBScript  JavaScript has a syntax similar to Java but: › It is not a real programming language (it is script) › It was developed at Netscape and not Sun. › It was originally called LiveScript, but that name wasn't confusing enough.
  • 6. JavaScript binds all the mentioned technologies together to create the Ajax “pattern”. › When a user clicks a button, you can use JavaScript and XHTML to immediately update the UI › Then you spawn an asynchronous request to the server using the XMLHttpRequest object via JavaScript to perform an update or query a database. › When the request returns as XML, you can then use JavaScript, CSS, XSLT and DOM to update your UI accordingly without refreshing the entire page. › Most importantly, users don't even know your code is communicating with the server: the Web site feels like it's instantly responding ("desktop-like" usability)
  • 7. AJAX was not so much popular still…….. But then “Jesse James Garret” comes in the picture in February 2005………. He suggest the name AJAX. He wrote an article on AJAX named “AJAX:A New Approach To Web Applications”.
  • 8. Although web development getting more and more popular, Users are still experienced the nasty part of having to click a button, wait until a new page loads, click another button wait until the new page loads , and so on. AJAX is provide new opportunity for all that users Mainly to build a fast, dynamic website, but also to save resources
  • 9. With AJAX ,you communicate with the server behind the scenes, select the data which you want and display it instantly in a web page- no page refreshing is needed or no waiting. Making a web application look and feel like a desktop application , that AJAX does.
  • 10. In browser we write code in JavaScript that can fetch data from server as we needed JavaScript use the XMLHttpRequest object to send a request to the server behind the scenes- without causing a page refreshing The data that come back from the server can be XML or just may be plain text if you prefer
  • 11. The XMLHttpRequest is originally developed by the Microsoft XMLHttpRequest is the kernel of the AJAX The XMLHttpRequest object allows client-side JavaScript to make HTTP requests to the server without reloading pages in the browser and without blocking the user
  • 12. This JavaScript object was originally introduced in Internet Explorer 5 by Microsoft and it is the enabling technology that allows asynchronous requests The Mozilla project first implement the compatible browser with XMLHttpRequest in Mozilla 1.0 in 2002. This implement latter followed by Apple since Safari 1.2,opera software since opera 8.0 etc.
  • 13. Now we have AJAX enable yahoo! Search where there will be no refresh in page anywhere and can get search result at the same page without the refreshing that page Just click on “search yahoo!” or “mail” and you will be get a result on the same page. Another example of AJAX like Google maps, flickr, you tube, google suggest, Microsoft live etc.
  • 14.
  • 15.
  • 16. The classic web application model works like this: Most of the user http request go To the server directly. The server does some processing — retrieves data, crunches numbers, talks to various legacy systems And then returns an HTML page to the client
  • 17. This approach makes a lot of technical sense, but it doesn’t make for a great user experience At every step in a task, the user waits.
  • 18.
  • 19. An Ajax application eliminates the start-stop-start-stop nature of interaction on the Web It introduces an intermediary, an Ajax engine, between the user and the server. Instead of loading a webpage, at the start of the session, the browser loads an Ajax engine, written in JavaScript and usually tucked away in a hidden frame. The Ajax engine allows the user’s interaction with the application to happen asynchronously, independent of communication with the server
  • 20. Every user action that normally would generate an HTTP request takes the form of a JavaScript call to the Ajax engine
  • 21. Ajax incorporates several technologies, each flourishing in its own right, coming together in powerful new ways. › standards-based presentation using XHTML, CSS › dynamic display and interaction using DOM › data interchange and manipulation using XML, XSLT › asynchronous data retrieval using XMLHttpRequest › and JavaScript binding everything together.
  • 22. XHTML stands for EXtensible HyperText Markup Language › It consists of all the elements in HTML combined with the syntax of XML.  CSS stands for Cascading Style Sheets › It is used to describe the presentation of a document written in HTML or XML.
  • 23. The HTML DOM is the Document Object Model for HTML . › DOM provides a standard set of objects for representing HTML and XML documents, and a standard interface for accessing and manipulating them. › Essentially, it connects web pages to scripts or programming languages. › It defines an HTML document as a collection of objects that have properties and methods and that can respond to events
  • 24. XML stands for EXtensible Markup Language › XML was designed to describe data and to focus on what data is (unlike HTML which was designed to display data and to focus on how data looks) › It is a general-purpose markup language for creating special-purpose markup languages that carry data.  XSL stands for EXtensible Stylesheet Language › XSLT stands for XSL Transformations › XSLT is used to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML
  • 25. Client side: o That produce smooth, uninterrupted user workflow. o Save time for taken to page load again. o Creates entirely new types of user interfaces, that not possible in traditional model. o Small requests better equal responsiveness.  Server side: o Doesn't required 3rd party software like Java and flash. o Fit into normal code flow. o Most developer are know the JavaScript.
  • 26. Client side: o Poor compatibility with old browsers and many mobile devices. o The first time long wait for AJAX sites. o Problem with forward/back buttons and bookmarks. o Limited capability like multimedia, interaction with web cams and printers, local data storage and real time graphics.  Developer side: o Easily abused by the bad programmers. o Not everyone has JavaScript enabled. o Too much code makes browser slow.
  • 27.  There are four types of AJAX frameworks. 1) Direct AJAX frameworks 2) Indirect AJAX frameworks 3) AJAX component frameworks 4) Server driven AJAX frameworks
  • 28.  Direct AJAX frameworks is deal with HTML pages and used HTML elements.  Generally that is small  Use for website for shopping experience but not for web application
  • 29.  That is based on compilation technology  Required the knowledge of high level languages  Rather than used of JavaScript and CSS that is required programming languages  Compiler that turns high level language into JavaScript
  • 30.  That offer pre build components which created by JavaScript or XML tags or adding special attributes to normal HTML elements  Large in size and used to create web applications rather than web sites.
  • 31.  That is used components  Components are created and manipulated on the server using server side languages.  User actions are communicated via server using Ajax techniques or server side code using server side component model.
  • 32. XUL › Pronounced "zool", XUL is a high performance markup language for creating rich dynamic user interfaces › It’s part of the Mozilla browser and related applications and is available in Mozilla browsers (like Firefox). › XUL is comprised mainly of a set of high- performance widgets that can be combined together › Advantages: high performance, fast, works with JavaScript, based on XML › Disadvantages: Only compatible with Mozilla browsers.
  • 33. XAML › XAML is a high performance markup language for creating rich dynamic user interfaces. › It’s part of Avalon, Microsoft’s next generation UI technology (will be supported in IE 7). › Advantages: high performance, robust, highly configurable. › Disadvantages: Microsoft-only technology and will be available only when Vista is released.
  • 34. Java Applets › An Applet is a program written in JAVA that can be included on a web page. › Advantages: Fast. Supported on most platforms (with the Java plugin). › Disadvantages: Requires the Sun Java plugin and takes a while to load.
  • 35. SVG (Scalable Vector Graphics) › A text based graphics language that describes images with vector shapes, text, and embedded raster graphics. › It has good interoperability with CSS and JavaScript › Advantages: Speed and flexibility. › Disadvantages: Requires proprietary plugins that many firms will not allow users to install. Rare skillset required to do development. This language is still somewhat immature and developing
  • 36. AJAX is a very innovative, fast, modern, outstanding technology for web pages which can provide rich user interface and can work almost like a desktop application.