A Big Test Result - Knowledge Systems Institute

Download Report

Transcript A Big Test Result - Knowledge Systems Institute

Programming Languages
The Twenty First Century
This lesson introduces the programming
languages of the 21st century: Internet (Web)based programming
The 2000's: Java for the
Internet...World Wide Web
• Java technology is both a programming language
and a platform for Internet ages.
• With most programming languages, you either
compile or interpret a program so that you can run
it on your computer.
• The Java programming language is unusual in that
a program is both compiled and interpreted.
• Compilation happens just once; interpretation
occurs each time the program is executed.
Java and Web
• There three types of programs written in the Java
programming language: applets, applications,
servlets.
• An applet is a program that adheres to certain
conventions that allow it to run within a Javaenabled browser.
• An application is a standalone program that runs
directly on the Java platform.
• Java Servlets are a popular choice for building
interactive web applications on the server side.
Java Platforms
• Java platform has three editions: Java Micro Edition
(J2METM technology), Java Standard Edition
(J2SETM technology), and the Java Enterprise
Edition (J2EETM technology).
• The J2SE platform is a fast and secure foundation
for building and deploying client-side applications.
• J2EE simplifies enterprise applications by basing
them on standardized, modular and re-usable
components Enterprise JavaBeans.
• J2ME specifically addresses the vast consumer
space, which covers the range of extremely tiny
commodities such as phones or a pager.
C# and C++
• C# has the functionality of Java, Delphi and Visual
Basic and it is a very strong language.
• It is a strong language for network and internet
programming.
• It is the first component oriented programming
language.
• C# is more similar to C++ as a programming
language.
C# and C/C++
• C# is directly related to C and C++.
• C and C++ shares several syntax, library and
functionality.
• In addition structures, unions, arrays, strings and
pointers are most important and similar
functionality for both languages.
• C# inherits most of its operators, keywords, and
statements directly from C++.
C# and C/C++ (2)
• C# supports multiple inheritance of interfaces, but
not of classes.
• Most of the C# basic types have the same names
as C++ basic types but they are not really same.
• There are a few difference between C# and C++,
including the changes to new, structs,
constructors, and destructors.
.NET for C#
• Microsoft® .NET is a set of Microsoft software
technologies which enable an unprecedented level
of software integration through the use of XML
Web services.
• Web services are small, discrete, building-block
applications that connect to each other—as well as
to other, larger applications—via the Internet.
• .NET connected software uses a distributed
computing model and builds on open standards
like XML to connect PCs and other smart devices.