How Does The Website Work?
How Does The Website Work?
What is a website?
The website is a publicly available collection, interconnected websites that share a domain Web page names can be created and maintained individual, group, business or organization to serve verity of purpose.
There are endless variations, including websites educational sites, news sites, forums, social media websites, e-commerce sites, etc. glass web pages are usually a mixture of text and other media.
How does the website work?
A web page is a collection of web page code - Keys that describe layout, format and content on the page. A web server is a computer connected to the Internet receive web page requests sent browser. The browser connects your computer to the server By IP address. IP address domain name translation.
- A Website
- A Domain name
- A Web Server
1. A Website
The website is a publicly available collection, interconnected websites that share a domain Web page names can be created and maintained individual, group, business or organization to serve verity of purpose.
There are endless variations, including websites educational sites, news sites, forums, social media websites, e-commerce sites, etc. glass web pages are usually a mixture of text and other media. This is it He said there is no rule that dictates what a website should look like.
website is usually a collection of web pages, images and Other elements are combined to form larger ones structured document. Think of a website as a book. A separate page is the website. A website may or may not consist of one page thousands of pages. Each page will have its own text and images and other elements. All web pages and elements at that time stored in a folder and stored on your web host's server. Every web page is coded and these codes are explained layout, format and content on the site. Most common HTML is the coding language used to create web pages.
2. Domain name
domain name is the address you write on your website browser address to access the website. For example a domain name www.techgirl.tech . A unique domain name for a website. In other words, no two websites can have the same domain name. It is an unnecessary habit Your website domain name is provided by most website builders free plans that come with a free website address. But this is Free website addresses in the form of sub domains. For example, if it is mysal.com that builds your website A free web address can be http://yourname.example.com.
3. Web server
web server is a host computer. Request web sent by your browser. Consider this: Your company is hiring for a position it just opened and you are responsible write a job advertisement. You may have done most of the work forced advertising, but only if you do not place ads in the job council, no one will see. The same applies to websites. You can create The most amazing website but a the web server is unavailable or unreachable Internet.
How the web works?
I) A computer connected to the Web called client and server. Simplified interaction diagram similar to:
II) A client is a device connected to the Internet by a regular web user for example, your computer is connected to Wi-Fi or your phone connected to your mobile network) and available web software on those devices (usually a web browser like Firefox or Chrome).
III) A server is a computer that hosts a website, page or application. When a The client device wants to access the web page, a copy of the web page copied from the server to the client machine for display the user's web browser.
What is Front-end and Back-end Development?
Front-end And Back-end DevelopmentThe term "Front end" refers to the user while
the interface is the Back-end server, applica-
tion and database working behind the scenes to deliver user information.
What is full-Stack Development?
Back and front-end development the system is so special that it is the most common Developers specialized in just one. As a rule, a single development A programmer is not a practical solution.
However, sometimes the custom software development. The company will have skilled professionals Both sides are known as full stack development.
1) Client side script
![]() |
Client Side Scripting |
- Scripted by the client to generate code will not work on the client end (browser). Server side processing is required. Basically, this A type of script is embedded in an HTML document. It can be used to test scripts written by clients and user forms for errors before submission modify content based on user input. Like me As mentioned earlier, the web requires three elements client, database and server.
- Client impact letters can be significant reduce server load. It is designed to be used in A mode a scripting language that uses a web browser as the host program. For example, when a user makes a request only sent to the server through the browser for the web page HTML and CSS are interpreted as plain text by the browser and display web content at the end of the client.
Client side scripting language:
- HTML: the basic building block of web programming frame to web page. The arrangement of the contents is described.
- CSS: CSS provides a way to design graphic elements that help you create The appearance of the web application is more attractive.
- JavaScript: It is also a client side scripting language Special purpose, but there are many different JavaScript frameworks used today server side scripting technology.
Server side scripting
![]() |
Server side scripting |
- Server-side scripting is a programming method to generate code that can run software server side, in simple terms any script or programming that can run on a known web server as a server side script. procedure website Customizations, dynamic change website content, user feedback claims, database access, etc. done at the server end.
- Server-side scripts establish communication links between a server and client (user). Before that, the server script is executed With CGI script (common gateway interface). CGI made Execute scripts from programming languages such as C++ or Perl website. The server side consists of three parts: server, database, and API and backend software is developed through server-side scripting language.
- When the browser sends a request to the server for a web page server-side scripting runs the script before the web server serves it site to the browser. This may include script processing extracting information from a database, running simple calculations, or choose the appropriate content to be displayed on the client end. The script is processed and the output is sent to the browser. The web server takes the scripting away from the end user to serve the content which makes the data and source code more secure.65
Server-side scripting languages
After the advent of CGI, multiple programming languages were evolved such as PHP, Python, Ruby, Cold fusion, C#, Java, C++ and so on for server-side scripting among which some of them are described below:
PHP: It is the most prevalent server-side language used on the web which was designed to extract and manipulate information in the database. The language is used in association with SQL language for the Database. It is used in Facebook, WordPress and Wikipedia.
Python: The language is fast and contains shorter code. It is good for beginners as it
concentrates on the readability and simplicity of the code. Python functions well in the object-oriented environment and used in famous sites like YouTube, Google, etc.
Ruby: It contains complex logic which packages the back-end with database utility which can also be provided by PHP and SQL.
Difference Between Server-side Scripting and Client-side Scripting.
The scripts can be written in two forms, at the server end (back end) or at the client end (server end). The main difference between server-side scripting and client-side scripting is that the server side scripting involves server for its processing. On the other hand, client-side scripting requires browsers to run the scripts on the client machine but does not interact with the server while processing the client-side scripts.
Static Websites
- A Static Website (sometimes called a flat or stationary page) is displayed in a web browser exactly as it is stored. It contains web pages with fixed content coded in HTML and stored on a web server. It does not change, it stays the same, or "static" for every viewer of the site.
- A static website does not require web programming or database design. Static is the most basic form of website and are the most simple to create and are perfect for small scale sites. Maintaining a large number of static pages can become a time consuming and impractical hassle very quickly. If you require a website with hundreds of pages and a ton of content, a dynamic website may be for you.
Advantages
Quick and easy to develop Cheap to host and develop.Disadvantages
Content can become stagnant Requires web development expertise to update.Dynamic Websites
- A Dynamic Website (also referred to as a database-driven site) requires web programming and database design. A dynamic website contains information and content that changes, depending on factors such as the viewer of the site, the time of the day, the time zone, or the native language of the country the viewer). The content of your site (text/images) is stored on a database or content management system. When the information is updated or changed within the database, it changes on the site.
- When a user visits your site, data is passed to server from the user's browser. When a dynamic site is accessed, pages are generated on-the-fly (or in real-time) to the user based on this data from the visitor. Scripting code analyzed and interpreted on the web server and the resulting HTML is displayed to the visitor's web browser. This means different content can be generated at different times of the day, or based on cookies (little pieces of data that a web server stores on a visitor’s computer), or environmental variables (what kind of browser is being used, what a user's IP address is, or what page they visited prior to the current page).
Advantages
Less hassle to update More functionalityDynamic (changing) content draws visitors
back to site Dynamic content helps in search engines.
0 Comments