01 Introduction To Network and Web App
01 Introduction To Network and Web App
Introduction to
Network and
Web Application
◼ Recognise WWW
Consortium
Introduction to
Network & Web Application
◼ Algorithmic
◼ Business-oriented
◼ Education-oriented
◼ Object-oriented
◼ Declarative
◼ Scripting
◼ One might thus write “add pay, total” instead of “0110101100101000” for
an instruction that adds two numbers.
https://www.digitalelectronicsdeeds.com/demos/demopage_micro.html
T. Zalizam T. Muda © 2023
+
Machine & Assembly Languages
◼ Example
◼ For example, a query might be “find all records with both last
name Smith and city New York”.
HYPERTALK
More details:
https://www.britannica.com/technology/computer-
programming-language
◼ .
https://byjus.com/gate/difference-between-compiled-and-interpreted-language/
https://byjus.com/gate/difference-between-compiled-and-interpreted-language/
T. Zalizam T. Muda © 2023
+
Properties of Web Languages
◼ Object Oriented Languages
◼ Object-oriented programming (OOP) is a computer programming
model that organises software design around data, or objects, rather
than functions and logic. An object can be defined as a data field that
has unique attributes and behaviour.
◼ OOP focuses on the objects that developers want to manipulate
rather than the logic required to manipulate them. This approach to
programming is well-suited for programs that are large, complex and
actively updated or maintained. This includes programs for
manufacturing and design, as well as mobile applications; for
example, OOP can be used for manufacturing system simulation
software.
https://www.techtarget.com/searchapparchitecture/definition/object-oriented-programming-OOP
T. Zalizam T. Muda © 2023
+ OOP
◼ The structure, or building blocks, of object-oriented
programming include the following:
•Classes are user-defined data types that act as the blueprint for
individual objects, attributes and methods.
•Methods are functions that are defined inside a class that describe the
behaviors of an object. Each method contained in class definitions starts
with a reference to an instance object. Additionally, the subroutines
contained in an object are called instance methods. Programmers use
methods for reusability or keeping functionality encapsulated inside one
object at a time.
•Attributes are defined in the class template and represent the state of
an object. Objects will have data stored in the attributes field. Class
attributes belong to the class itself.
T. Zalizam T. Muda © 2023
+
Encapsulation
Abstraction Polymorphism
Inheritance
• Reusability. Code can be reused through inheritance, meaning a team does not have to write the
same code multiple times.
• Productivity. Programmers can construct new programs quicker through the use of multiple libraries
and reusable code.
• Easily upgradable and scalable. Programmers can implement system functionalities independently.
• Interface descriptions. Descriptions of external systems are simple, due to message passing
techniques that are used for objects communication.
• Security. Using encapsulation and abstraction, complex code is hidden, software maintenance is
easier and internet protocols are protected.
• Flexibility. Polymorphism enables a single function to adapt to the class it is placed in. Different
objects can also pass through the same interface.
Programming
Domain Name
Internet
Client System
IP IP
Name Internet Web
Server Server
◼ Client
◼ Server
◼ Web Browser
◼ Web Server
◼ URL
◼ HTTP
◼ Browser
◼ Program running at client.
◼ Allow users to browse the resources available at servers.
◼ Text browser (no graphic) – 1993 Mosaic: The first browser with
GUI.
◼ Common protocols is HTTP (Hypertext Transfer Protocol)
◼ HTTP provide standard form of communications between
browsers and Web servers.
◼ Example: ????
◼2 separate directories:
◼ Document root: stores web page.
◼ Server root: stores the server and support software.
Internet
Browser
Domain Name
http://www.uum.edu.my
Location
◼ As communication transactions
◼ Consists 2 phases:
◼ Request
◼ Response
https://en.wikipedia.org/wiki/HTML5
◼ http://en.wikipedia.org/wiki/Network_architecture
◼ Network Architecture