Results 1 to 15 of 15
  1. #1
    joe12joe's Avatar
    joe12joe is offline Sophomore
    Join Date
    Jan 2011
    Location
    London
    Posts
    62
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default JavaScript and AJAX

    I would like to how much JavaScript & AJAX can effect the performance of a website and many people prefer to use AJAX rather than using flash slide shows? What are your views about it/

  2. #2
    Jagbani is offline Sophomore
    Join Date
    Jul 2010
    Location
    punjab
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Post

    Hi..

    JavaScript is an easy-to-use programming language that is common on Web pages. It can enhance the dynamics and interactive features of your site with small amounts of code.
    Ajax (Asynchronous JavaScript and XML), is a group of inter-related Web development techniques (including JavaScript, PHP, among others) used for creating interactive Web applications.

  3. #3
    mandy is offline Junior
    Join Date
    Apr 2011
    Posts
    332
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Feedback Score
    0

    Default

    In my point of view AJAX is a part of javascript program where as javascript is a client side programming language.
    AJAX is use to send query to the server where as javascript is use for designing the menu,different types of animation etc......

  4. #4
    Cybrax is offline Freshman
    Join Date
    Mar 2011
    Posts
    31
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    Does not matter how cool or stylish the animation and graphics because search engines have no eyes,
    so any content written to screen using flash is basically invisible to them.

    Google at present cannot index any images from inside a flash slideshow or associated text descriptions making it harder for anybody to find your site on the web. Javascript by contrast can be read by google, not just inside the page but external .js files as well. So this makes javascript more attractive for SEO purposes, JS also requires no special tools to write or compile and all the scripts are free.

    It is posibble to overdo the amount of javascript in a page to the point where performance suffers, but it tends to be a newbie designers mistake and there are ways of avoiding it happen. For many years the big arguement between Flash and javascript was that flash did better animation but is no longer the case.

  5. #5
    jckjones29 is offline Freshman
    Join Date
    Apr 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    Hello,
    AJAX is asynchronous javascript and xml. Use of javascript and ajax in your website your website is look like a professtional and very attractive in internet.javascript as linear code is synchronous, as any linear code .using javascript you can add many of the functionality in your application. the javascript/dhtml eventing model made javascript asynchronous a long long time ago .It is the javascript (API) to make the function call to the ActiveX API, i.e., the javascript merely initiates the function call and passes the needed parameters.

  6. #6
    Crows is offline Banned
    Join Date
    Aug 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    Using JavaScript technology, an HTML page can asynchronously make calls to the server from which it was loaded and fetch content that may be formatted as XML documents, HTML content, plain text, or JavaScript Object Notation (JSON). The JavaScript technology may then use the content to update or modify the Document Object Model (DOM) of the HTML page. The term Asynchronous JavaScript Technology and XML has emerged recently to describe this interaction model.

    Ajax is not new. These techniques have been available to developers targeting Internet Explorer on the Windows platform for many years. Until recently, the technology was known as web remoting or remote scripting. Web developers have also used a combination of plug-ins, Java applets, and hidden frames to emulate this interaction model for some time. What has changed recently is the inclusion of support for the XMLHttpRequest object in the JavaScript runtimes of the mainstream browsers. The real magic is the result of the JavaScript technology's XMLHttpRequest object. Although this object is not specified in the formal JavaScript technology specification, all of today's mainstream browsers support it. The subtle differences with the JavaScript technology and CSS support among current generation browsers such as Mozilla Firefox, Internet Explorer, and Safari are manageable.

    What makes Ajax-based clients unique is that the client contains page-specific control logic embedded as JavaScript technology. The page interacts with the JavaScript technology based on events such as the loading of a document, a mouse click, focus changes, or even a timer. Ajax interactions allow for a clear separation of presentation logic from the data. An HTML page can pull in bite-size pieces to be displayed. Ajax will require a different server-side architecture to support this interaction model. Traditionally, server-side web applications have focused on generating HTML documents for every client event resulting in a call to the server. The clients would then refresh and re-render the complete HTML page for each response. Rich web applications focus on a client fetching an HTML document that acts as a template or container into which to inject content, based on client events using XML data retrieved from a server-side component.

  7. #7
    DegreePivot is offline Banned
    Join Date
    Jun 2011
    Location
    Parma, Ohio
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    JavaScript is an easy-to-use programming language that is common on Web pages. It can enhance the dynamics and interactive features of your site with small amounts of code.


    One reason for the rapid adoption of AJAX is that no additional software is needed since AJAX make use of what the clever designers of Javascript have already built into internet browsers.

  8. #8
    susen is offline Freshman
    Join Date
    Apr 2010
    Posts
    38
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    As JavaScript runs from the client computer its execution time is very short, almost instantaneous. Viewers can run JavaScript without being connected with the server as well. But in Ajax, viewers must be connected to the server. Here execution time is much longer which depends on their internet connection speed, server hardware and number of bytes to be transferred between client side and server side.
    Since AJAX can use database its application area is much wider.

  9. #9
    kristy85 is offline Freshman
    Join Date
    May 2011
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default How to organize Javascript and AJAX with PHP?

    My javascript is getting out of hand for my PHP application. I have 20 tags that link to various javascript files in a javascript folder. Each javascript file basically controls one element on the DOM. And, if the javascript file uses AJAX, then it will have a corresponding PHP file that the AJAX will call.
    For example, a js file might control a button on the page:


    $(document).ready(function () {
    $("#button").live('click', function() {
    $.ajax({
    type: "POST",
    data: ...
    url: "button_click.php",
    });
    });
    });
    As you can see, this gets out of hand. What is the best way to organize all of the javascript?

  10. #10
    mikelito11's Avatar
    mikelito11 is offline Freshman
    Join Date
    Nov 2011
    Location
    Albany
    Posts
    36
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    I want to know AJAX but now I think I don't want it anymore for its so hard.

  11. #11
    talks_44 is offline Junior
    Join Date
    Jan 2012
    Posts
    149
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Feedback Score
    0

    Default

    AJAX is a bit more complicated than normal JavaScript, but its uses are great. With the ability to autoreload certain pieces of websites without having to reload then entire page, it makes interactivity of websites easier and more appealing than when you have to constantly wait for the page to reload each time.

  12. #12
    hanoixer2018 is offline Freshman
    Join Date
    Jan 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    use slide show and jquery for process

  13. #13
    pravinkumar is offline Sophomore
    Join Date
    Dec 2011
    Posts
    119
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    JavaScript is a wonderful technology to use on the web. It is not that hard to learn and it is very versatile. JavaScript is a prototype-based scripting language. Ajax is a technique for creating interactive web applications. AJAX stands for Asynchronous JavaScript and XML. It is used for allowing the client side of an application to communicate with the server side of the application.

  14. #14
    swatisharma is offline Freshman
    Join Date
    Jan 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    Quote Originally Posted by joe12joe View Post
    I would like to how much JavaScript & AJAX can effect the performance of a website and many people prefer to use AJAX rather than using flash slide shows? What are your views about it/
    For slide show you should use jquery. AJAX stands for asynchronous javascript and xml. AJAX and JavaScript both are use at client side.

  15. #15
    james588's Avatar
    james588 is offline Sophomore
    Join Date
    Feb 2011
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    These days javascript Use in web pages ,Mostly use for Images sliders and Images Galleries. its use for functionality and ajax use parallel purpose .but Java and Ajax Use are mostly Same ...

Similar Threads

  1. What is JavaScript & AJAX?
    By amelisametis in forum JavaScript & AJAX
    Replies: 1
    Last Post: 12-27-2010, 11:45 AM
  2. A Basic AJAX Demo Application Using PHP And JavaScript
    By JavaScriptBank in forum JavaScript & AJAX
    Replies: 0
    Last Post: 12-02-2010, 12:54 AM
  3. Passing Result from PHP to JavaScript with AJAX & jQuery
    By JavaScriptBank in forum JavaScript & AJAX
    Replies: 0
    Last Post: 10-21-2010, 12:48 AM
  4. Javascript + CF XML Integration w/ AJAX
    By Abina in forum ColdFusion
    Replies: 1
    Last Post: 01-31-2010, 10:42 AM
  5. AJAX, DHTML and JavaScript Libraries
    By Amit.Verma in forum Web Development - Programming & Coding
    Replies: 3
    Last Post: 08-19-2008, 01:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS