Visual Basic Chapter 1 Bharathiyar University
Visual Basic Chapter 1 Bharathiyar University
INTRODUCTION OF BASICS
INTRODUCTION
In our daily life, we use computers to browse the internet, send / receive emails, play
online games, watch online videos, download music, take online classes, etc. All such
activities require a computer connected with some other computer to make a
computer network. They can be linked through wired or wireless.
A server is a high performance host that is a registering unit and shares its resources
with clients. There are many different types of servers. They are file server, terminal
server, web server, mail server, database server, etc. The clients and servers operate
over a computer network on separate hardware.
The client/server model can be used on the Internet as well as local area networks
(LAN’s).Client/server describes the relationship between two computer programs in
which one program, the Client, sends a service request to another program, the
server. Computer transactions using the client/server model are very common.
Client – server architecture is a distributed computing model that separates the client
and server roles.
(i) Two-tier
(ii) Three-tier
(iii) N-Tier
1. A Client PC and
2. A Database Server
The two tier architecture is based on client server architecture. The two tier
architecture is like client server application. The direct communication takes place
between client and server. There is no intermediate between client and server. Two tier
architecture is suitable for small scale applications with a limited number of users
and simple requirements.
Examples:
1. Online banking
2. E-commerce websites
DISADVANTAGES :
A three way interaction in a client or server environment. If we use the three tier
architecture we can maintain our application in consistency manner. There are three
layers in three tier architecture. They are :
• Client layer
• Business layer
• Data layer
Three tier architecture is suitable for large scale applications with a limited number of
users and simple requirements.
Examples:
DISADVANTAGES
- Increased complexity
- Higher development costs
- Requires more resources and infrastructure
N TIER ARCHITECTURE
An N-tier architecture divides an application into logical layers and physical tiers. N
tier architecture is 3 tier architecture in which the middle tier is split up into new tiers.
The application tier is broken down into separate parts. These parts differ from system
to systems.
Tiers
- Presentation Tier (Client) : User interface and user experience, input and output
operations.
- Application Tier (Server) : Business logic, data processing, and server-side logic.
- Business Tier (Logic and Rules) : Business rules, data validation, and calculations.
- Integration Tier (APIs and Interfaces) : Integration with other systems, services, and
data sources.
Examples:
ADVANTAGES
DISADVANTES
1. Increased complexity
In simpler terms, it’s about how the software is built and organized to meet specific
user and business needs.
1. Monolithic Architecture
2. Microservices Architecture
3. Service-Oriented Architecture (SOA)
4. Event-Driven Architecture (EDA)
5. Layered Architecture
6. Client-Server Architecture
7. Peer-to-Peer (P2P) Architecture
8. Pipe and Filter Architecture
TECHNICAL ARCHITECTURE DEFINITION
In simpler terms, it’s about how the tools and technologies are organized and
connected to support business operations effectively.
It includes :
1. Hardware Architecture
2. Software Architecture
3. Network Architecture
4. Data Architecture
5. Security Architecture
6. Cloud Architecture
7. Database Architecture
8. Middleware Architecture