Skip to main content
  • Courses
  • Programs
  • Help
    Getting Started Discussion Forums Help Center & FAQ
Saylor Academy
    Close
    Toggle search input
  • Log in or Sign up
Courses
Programs
Help
Getting Started
Discussion Forums
Help Center & FAQ
  • CS412: Mobile Application Development
  • Sections
  • Course Introduction
  • Unit 1: Introduction to Mobile Application Development
  • Unit 2: Infrastructure
  • Unit 3: HTML/CSS/DOM and Scripting
  • Unit 4: JQuery and Structured Data
  • Unit 5: Scripting with Server Access
  • Unit 6: Designing Mobile User Interfaces
  • Unit 7: Mobile Application Evaluation and Mobile Browsers
  • Unit 8: Mobile Platforms
  • Unit 9: Storage and Geolocation
  • Unit 10: Android Development
  • Unit 11: iPhone/iPad Development
  • Final Exam
  • Resources
  • Activities
  • Quizzes
  • Home
  • My programs

CS412: Mobile Application Development

Competencies
  1. Home
  2. Courses
  3. (hidden)
  4. CS412: Mobile Application Development
  5. Sections
  6. Unit 5: Scripting with Server Access

Learn new skills or earn credit towards a degree at your own pace with no deadlines, using free courses from Saylor Academy. We're committed to removing barriers to education and helping you build essential skills to advance your career goals. Start learning here, or check out our full course catalog.

Log in or Sign up to enroll in courses, track your progress, gain access to final exams, and get a free certificate of completion!

Sign up now
Back to course 'CS412: Mobile Application Development'
  • Unit 5: Scripting with Server Access

    Thus far in this course, we have taken a brief look at scripting from the client side. We will now discuss scripting from the server side, which is more secure and offers increased functionality. Asynchronous JavaScript and XML (AJAX) allow the server to access scripting code within Dynamic HTML through the use of an XMLHTTPRequest object. In this unit, we will study AJAX and learn how it is implemented. This is a particularly important consideration for mobile apps, since AJAX will enable data to be refreshed on a browser or application screen without requiring that the entire screen be refreshed. In essence, the data is reloaded from the server based on user interaction.

    Completing this unit should take you approximately 3 hours.

    • Unit 5 Learning Outcomes Page
    • 5.1: Overview

      • University of California, Berkeley: Erik Wilde's "Scripting with Server Access" URL

        Read these slides.

      • Jesse James Garrett's "A New Approach to Web Applications" URL

        Read this page.

    • 5.2: AJAX Mechanics

        • 5.2.1: XMLHttpRequest Object

          • W3Schools: "AJAX - The XMLHttpRequest Object" URL

            Read this chapter.

          • W3Schools: "AJAX - Send a Request To a Server" URL

            Read this chapter.

        • 5.2.2: responseXML

          • W3Schools: "AJAX - Server Response" URL

            Read this chapter.

        • 5.2.3: Examples

          • W3Schools: "AJAX XML Example", "AJAX PHP Example", "AJAX ASP Example", "AJAX Database Example", "XML Applications", and "AJAX Examples" URL

            Follow the link to the  chapter on XML Examples. Read the article and then complete the "Try It Yourself" activity. Use the "Next" button to navigate to and read the remaining chapters, completing the other activities where available. 

      • 5.3: XMLHttpRequest Implementations by Browser

        • W3Schools: "XML HttpRequest" URL

          Read this chapter.

      • 5.4: JavaScript Frameworks

        • The Open Sourcery: "JavaScript AJAX Frameworks" URL

          Read this article.

      • 5.5: Design Patterns

        • Kris Hardlock's "How to use AJAX Patterns" URL

          Read this article. Note that there are 5 pages.

    Skip Activities
    Activities
    • QuizQuizzes
    • Resources
    Skip Recent activity
    Recent activity
    Activity since Sunday, March 19, 2023, 12:45 AM
    Full report of recent activity...

    No recent activity

    Saylor Academy
    • About

    • Partners

    • Blog

    • Contact

    Saylor Academy

    © Saylor Academy 2010-2023 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See detailed licensing information.

    Saylor Academy®, Saylor.org®, and Harnessing Technology to Make Education Free® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

    "CCBY"

    Sitemap | Terms of Use | Privacy Policy

    Data retention summary
    Get the mobile app
    Policies