Skip to main content

Posts

Web Server and Web Hosting

Functions provided by web server ·          Processing of HTTP request ·          Security services(SSL) ·          FTP(File Transfer Protocol) ·          SE(Search Engine) ·          Data capture ·          Email ·          Site management tool HTTP Requesting a service/product is done by http. Server creates http response for which ·          Acknowledgement ·          Retrieves the request ·          Creates a response ·          Secured data/encrypted data is to be send to server. Search Engine Provides indexing of pages Data Capture Logs are stored in server Google analytics provides logs in GUI fashion System Architecture of Sever Refers to the arrangement of software machinery and tasks in an information system needed to achieve a specific functionality. The development of web server applications and multi-tier system architecture is required to handle the processing loads of the web applications of the web applications ans so these

PHP (PHP: Hypertext Preprocessor)

PHP (PHP: Hypertext Preprocessor) What is PHP? PHP stands for PHP: Hypertext Preprocessor. It is a web development language written by and for web developers. The product was originally named Personal Home Page Tools. PHP is an open source, server side, HTML-embedded web scripting language usually used to create web applications in combinations with a web server, such as Apache. It enables the user to embed code fragments in normal HTML-page. It also makes the connection of a web page to server-side databases. It can also be used to create command-line scripts akin to Perl or shell scripts.   HTML-embeddedness PHP can be easily embedded within HTML-page. In other words, PHP pages are ordinary HTML pages that escape into PHP mode only when necessary. PHP codes are embedded with the help of canonical php tags.   <? php   ?>  Following is an example- <html> <head> <title> Greeting </title> </head> <body> <p> hello

CSS(cont.)

Type Selectors ·        Universal Selector CSS has a special selector (*) which means it matches every   element in the document. This selector is useful in when name of elements are unknown while developing the style sheet. For example:- * {color: green; } ·        Descendent selector This selector is also known as contextual selector. In style                   sheet it is applied to a particular element only when it lies inside a particular element. It provides a better way to apply style to very particular elements. This selector is consisting of one or more selector separated by white spaces. ·        Child selector This is similar to the descendent selector. It selects the element which is just immediate children of the specific element. It is denoted by the >. It can be writing as follow:- Ø Body > * - it select all the children of the <body>element Ø   Body > * > * - it select all the grandchildren of the <body>element Ø   B

Web Server

Web Server A Web Server can be defined as software that enables computer to deliver web pages written in html to client machine. Capabilities provided by a web server are: 1.        Security services 2.        FTP(File Transfer Protocol) 3.        Data capturing(Logs are maintained in web server) 1 Web server plays two roles static and dynamic. 1.        Static : A static web page is one that has been written once, like a word processing document, and then saved onto the web server. Static pages are created using tools like HTML, JavaScript, CSS and images.  2.         Dynamic : A dynamic web page is created on the fly. It doesn’t actually exist on the web server until a web browser requests it. When a request is made, web server runs whatever program will create the web page. That program creates the page dynamically and returns it to the web server, which then passes it along to the web browser. Eg: Xamp server is required for PHP a)       First php page is