Wednesday, December 4, 2019

PHP Basic - Unit 1 (Part 1) For B.C.A.,B.Sc(IT) and All IT Students


--------------------------------------------------------------------------------------------------------------------------
Prepared By : Uday Shah (HOD-IT)
E-Mail : rupareleducation@gmail.com
Contact No : 7600044051

Web Programming Using PHP - Unit 1 



Static Web pages:

·        Static Web pages are very simple.
·        It is written in languages such as HTML, JavaScript, CSS, etc.
·     For static web pages when a server receives a request for a web page, then the server sends the response to the client without doing any additional process.
·       And these web pages are seen through a web browser.
·       In static web pages, Pages will remain the same until someone changes it manually.
·       Static web page does not require more sever resources.

Dynamic Web Pages:
·        Dynamic Web Pages are written in languages such as PHP, AJAX, ASP, ASP.NET, etc.
·        In dynamic web pages, the Content of pages is different for different visitors.
·        It takes more time to load than the static web page.
·   Dynamic web pages are used where the information is changed frequently, for example, stock prices, weather information, etc.
·        Dynamic page totally depended on server response.


Client-side Scripting
·        The client-side environment used to run scripts is usually in a browser.
·        The processing takes place on the end users computer.
·        The source code is transferred from the web server to the user’s computer over the internet and run directly in the browser.
·        The scripting language needs to be enabled on the client computer.
·        Sometimes if a user is conscious of security risks they may switch the scripting facility off.
·        When this is the case a message usually pops up to alert the user when script is attempting to run.
Server-side Scripting
·       A server is a computer system that serves as a central repository of data and programs and is shared by clients
·        The server-side environment that runs a scripting language is a web server.
·        A user's request is fulfilled by running a script directly on the web server to generate dynamic HTML pages.
·        This HTML is then sent to the client browser.
·        It is usually used to provide interactive web sites that interface to databases or other data stores on the server.
·      This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript.
·     The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.

Introduction to other server side language.
·        Server side web development uses specific tools and frameworks to build dynamic programs that generate dynamic web sites.
·        It is designed such that user requests are run on the primary server.
·        It provides an interface to users to make requests, give instructions to the server to process.
·        Server side coding is also responsible for user authentication, and data security. 
·        Using Server Side Languages we can explore the requirements of server side scripting and web development technologies.
·        If you are looking for an easy way to become a back-end web developer, do an online course on web development.
·        Our tutors are well-prepared to handle Full Stack offline courses as well according to the requirement.
·        Server side technology are a set of tools and programming languages that are used to design, build and maintain server side operations of a web application.
·        Following are some list of Server Side Languages.
JavaScript: This is a programming language that is considered to be a building block of web development. This is one language that is used for both front and back end applications. It has promoted the JavaScript everywhere paradigm. JavaScript is a popular language and is easy to learn. 
Python: Python is the latest trending programming language for back end development. It is easy to use and is open source. It emphasizes on readability and has an object oriented approach. It is used to write code for small as well as large projects. 
Ruby: Ruby is a dynamically typed programming language. It is an object oriented language. It serves as a foundation for domain specific languages. It can be implemented across all platforms. 



Java: Java is similar to JavaScript. It is not a purely object oriented programming language. It is designed to have minimum amount of implementation dependencies. 
PHP: Hypertext preprocessor language popularly known as PHP is an open source language. It is suitable for back-end web development. It can also be embedded into HTML. 

Webserver


·        Web server refer to just the software not the enter computer system.
·        It is responsible to manage server side scripting.
·        It is also responsible for client request and server response.
·        It is web server software.
·        It provides function such as database searching and e-commerce.
·        There is mostly two used web server.
·        IIS Server
·    Apache Server


IIS Server:
·        IIS means Internet information Service Microsoft web server. IIS runs under the server version of NT and 2000.
·        IIS is set of Internet based service for Windows machine originally supplied as part of the option Pack for Windows NT,
·        At present windows 10 version of IIS 6.0 and includes server for FTP, SMTP, NNTP and HTTP/HTTPS etc...

Apache Server
·        Apache is the most widely used web server software.
·        Developed and maintained by Apache Software Foundation, Apache is an open source software available for free. It runs on 67% of all web servers in the world.
·        It is fast, reliable, and secure.
·        It can be highly customized to meet the needs of many different environments by using extensions and modules.
·        Most WordPress hosting providers use Apache as their web server software.

Web Hosting


·        Web Hosting is a service that provides internet users with online systems for storing information, image, video or any content accessible using the Web.
·        Web hosting are company that provide space on a server that own for use by their client as well as providing Internet connectivity, typically in a data center.
·        Hosting can be categories in following general category that is
           ·        Free Hosting
           ·        Shared Hosting
           ·        Reseller Hosting
           ·        Virtual Private Server Hosing
           ·        Dedicated Hosting
           ·        Collocated Hosting
      ·    Application Hosting


Virtual Hosting
·        Virtual Hosting is a method that web server use to host more than one domain name on the same computer and IP address.
·        On the Internet, virtual hosting is the provision of Web server hosting services so that a company or individual doesn't have to purchase and maintain its own Web server and connections to the Internet.
·        A virtual hosting provider is sometimes called a Web or Internet "space provider." Some companies providing this service simply call it "hosting."
·        The main advantages of virtual hosting is that it is cheapest way of Web Hosting for Small Websites. 
·        Apache was one of the first server to support IP-based virtual hosting.
·        There are generally two types of Apache virtual host configuration
            ·        IP Based Virtual Host
            ·        Name Based Virtual Host

Distributed Web Server Overview
·        Web server is a computer where the web content is stored.
·        Basically web server is used to host the web sites but there exists other web servers also such as gaming, storage, FTP, email etc.
·        A Web server is a program that uses HTTP (Hypertext Transfer Protocol) to serve the files in the form of web pages.
·        When client sends request for a web page, the web server search for the requested page if requested page is found then it will send it to client with an HTTP response.
·        If the requested web page is not found, web server will the send an HTTP response: Error 404 Not found.
·     If client has requested for some other resources then the web server will contact to the application server and data store to construct the HTTP response.
·       Dedicated computers and appliances may be referred to as Web servers as well.
·       The process is an example of the client/server model.
·        All computers that host Web sites must have Web server programs.


Please share and comment it.... Thanks 

:: Best of Luck ::


https://myshopprime.com/uday.shah3/shop