15.04.2018 Views

programming-for-dummies

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

664<br />

Cross-Plat<strong>for</strong>m Programming<br />

Un<strong>for</strong>tunately, the software as service model has two drawbacks. If you aren’t<br />

connected to the Internet, you can’t use any software as service program. So if<br />

you use a word processor over the Internet but take your laptop computer on<br />

an airplane with no Internet connection, you can’t use that word processor.<br />

A second problem with the software as service model is that using it constantly<br />

costs money. Most software as service programs charge a monthly fee, which<br />

gives you the right to use the program <strong>for</strong> that month. Although this monthly<br />

fee is nominal (such as $5 a month), the cost can add up. Buying a simple<br />

word processor might cost you $50. Using a word processor as a software as<br />

service model might cost you $5 a month, so after ten months, you could’ve<br />

just bought a word processor instead.<br />

For each succeeding month, the cost continues, so you’ll wind up paying<br />

several hundred dollars just to use a single program. For large corporations,<br />

the software as service model can make sense. For individuals, the software<br />

as service model is too expensive.<br />

To eliminate monthly fees, software as service companies are offering their<br />

programs <strong>for</strong> free but earning profits by selling advertising. Seeing advertisements<br />

may be a minor annoyance, but it makes software as service available<br />

to everyone, although there’s still the problem of not being able to use a program<br />

without a constant and reliable Internet connection.<br />

Rich Internet applications (RIA)<br />

Rich Internet applications (RIAs) overcome the problems of the software as<br />

service model by creating a program that’s stored on your computer but can<br />

update itself over the Internet. RIA programs combine the ideas of virtual<br />

machines with software as service.<br />

Like a virtual machine language, RIA programs need a special virtual machine<br />

<strong>for</strong> each operating system. This gives RIA programs the ability to run on multiple<br />

operating systems. Because RIA programs are stored directly on your computer,<br />

you can use them any time without an Internet connection and you aren’t<br />

locked into paying a monthly fee to access the software. Like the software as<br />

service model, RIAs can connect to the Internet and update themselves to<br />

insure that you’re always using the latest version.<br />

One popular RIA <strong>programming</strong> tool is Adobe AIR, which combines the languages<br />

of Web page designing (HTML and Flash) with scripting languages<br />

(JavaScript) to run on multiple operating systems through a virtual machine<br />

(like Java).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!