Future Applications
The following introducesthe Runoob Tutorial version offuture web applications.
Executables will die, JavaScript will survive
Compiled executables (such as those compiled from C or Java) cannot run on different hardware.
Executables (EXE files, ActiveX and COM objects, DLL files) are components that prevent applications running on the Internet from evolving.
Future applications will not be able to use, or rely on, components installed on the client computer.
Our recommendation:
Use only HTML, CSS, and JavaScript to write your future applications.
Make sure your future applications can run in any web browser.
Web Applications Will Become Internet Services
In the past, applications were large, purpose-built programs. Most of them will soon die because they cannot adapt their services to changing requirements.
Applications should be flexible, general-purpose, and able to adapt well to changing requirements without breaking.
Applications should be able to scale to support millions of requests per day.
Applications should be able to spread and move across multiple servers without breaking.
Applications should be able to be used together with other applications.
Applications should not contain large amounts of code. Applications should be broken down into smaller services for easy creation and maintenance.
An application is a series of internet services that return data in response to submitted internet requests.
Applications should request services through standard internet protocols without maintaining a permanent connection to the server.
Our recommendation:
Write your future applications using the internet based on SOA (Service Oriented Architecture).
Make your application services more general, more flexible, and able to serve different types of requests.
Future applications will be easy to create and edit
The client and server will exchange data in an easy-to-understand way.
If it can be avoided, applications will not be coded.
Applications will be created and modified by editing models rather than editing code.
Application descriptions will be human-readable.
Application descriptions will be self-describing.
Applications will be written by users, not by programmers.
Our recommendation:
Use human-readable text files to describe services, and provide services by executing these descriptions.
Use text files (such as XML files) to describe applications.
Use text files (such as XML files) for data exchange.
Use HTML, CSS, and JavaScript to execute applications.
Three Little Web Developers...
A long time ago, there were three little web developers building a new web site.
-
The first web developer used
. -
The second web developer used his favorite server-side programming language.
-
The third used a professional enterprise web development framework.
The first web developer finished a demo in two days. After collaborating with users, a preliminary prototype was completed within a week. After two weeks of testing, an intelligent, fast, and easy-to-use website was ready to launch.
Six months later, the second web developer was ready with his website. But the WWW had changed its requirements, so he was not satisfied with his website. This web developer could not make major changes to his project because it contained too much code. So he started developing version 2.
The third web developer never successfully completed his work. That professional web development framework was difficult to use, hard to understand, and almost impossible to test.