Home arrow HTML arrow Remote Scripting with iframes

Remote Scripting with iframes

In this second part of a two-part series on the ins and outs of iframes, we will explore more uses for iframes. The ones we will discuss fall into the broad category of remote scripting, or remote procedure calls (RPC). You won't find any sophisticated code in this article, but we will do quite a bit with just plain HTML tags and some basic PHP.

Author Info:
By: John Best
Rating: 5 stars5 stars5 stars5 stars5 stars / 8
December 22, 2008
  1. · Remote Scripting with iframes
  2. · Using iframes for Site Navigation
  3. · Passing Data from Parent Window to iframe using Query String
  4. · Other uses

print this article

Remote Scripting with iframes
(Page 1 of 4 )

What is remote scripting?

To understand remote scripting, we should first consider how traditional web pages without remote scripting communicate with each other. When you click a link or submit a form on the first page, the second, also known as the "target page" to which the link or form points, loads into the browser, entirely replacing the first page. You see this process as your browser reloads. It takes some amount of time -- a small amount, granted, but enough to make some people impatient.

With remote scripting, the first page remains loaded in the browser while it sends information to the target page. The target page then returns a response to the first page, which causes a dynamic change while the page remains loaded. In other words, a web page communicates with another web page or script by sending or receiving data or both, while the page is still loaded in the browser.

If this is confusing to you, do not worry. It will become clear as we talk about some examples.

blog comments powered by Disqus

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials