Full Transcript

Session 01 Introduction to web development, understanding of server side and client side languages, introduction to PHP, Topics To Be Covered Introduction to Programming. Introduction to Programming Languages. Types of Computer Programs/Applications. Types of Programming Languages. Client Se...

Session 01 Introduction to web development, understanding of server side and client side languages, introduction to PHP, Topics To Be Covered Introduction to Programming. Introduction to Programming Languages. Types of Computer Programs/Applications. Types of Programming Languages. Client Server Architecture. Introduction to PHP. Introduction to Web Servers and Clients. Making the Most Out of this Course Have a clear idea of what you would like to get from it. Ask questions. Get involved. Practice Practice n Practice. Take notes. Make Friendship with Google Prerequisites HTML, because it's what PHP normally outputs to the browser. CSS, because it's how you add style to HTML pages JavaScript, because you'll want to make your HTML pages interactive No programming experience required. No platform required. What Is Language? A Language is a system of communication. Commonly used to exchange knowledge, opinions, commands and feelings. It can be written, oral or gestural kind of Communication. How To Talk To A Computer? Programming. What is programming? A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer requires programs to function. A computer program is usually written by a computer programmer in a programming language. Computer Programming Lang Computer programming languages allow us to give instructions to a computer in a language that the computer understands. Just as many human-based languages exist, there is a list of computer programming languages that programmers can use to communicate with a computer. Programming languages are what we use to tell computers what to do. Machine Language? Machine language. Sometimes referred to as machine code or object code, machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer is capable of understanding. Machine Language? JavaScript, ActionScript High-Level Ruby, Python, PHP Languages Java, C#, VB.NET Objective-C C++ C Low-Level Assembly Language Languages Machine code CPU What is A Website A website is a collection of related web pages, which are typically identified with a common domain name, and published on at least one web server. Notable examples are wikipedia.org, google.com, and amazon.com. What is Web Development Web development, also known as web programming, is the creation of websites (web applications). There are two broad divisions of web development – front-end development (also called client- side development) and back-end development (also called server- side development). Client Side In web development, 'client side' refers to everything in a web application that is displayed or takes place on the client (end user device). This includes what the user sees, such as text, images, and the rest of the UI, along with any actions that an application performs within the user's browser. Markup languages like HTML and CSS are interpreted by the browser on the client side. Server Side Much like with client side, 'server side' means everything that happens on the server, instead of on the client. Server-side scripts run on the server instead of the client, often in order to deliver dynamic content to webpages in response to user actions. Basic Web Architecture The web is a two-tiered architecture. ◦ A web browser displays information content, ◦ and a web server that transfers information to the client. Web Browser (Client) The primary purpose is to bring information resources to the user. An application for retrieving, presenting, and traversing information resources. Web Server The term web server can mean one of two things: ◦ A computer program that accepts HTTP requests and return HTTP responses with optional data content. ◦ A computer that runs a computer program as described above.  "Web server" can refer to hardware or software, or both of them working together. 1. On the software side, a web server includes several parts that control how web users access hosted files, at minimum an HTTP server. An HTTP server is a piece of software that understands URLs (web addresses) and HTTP (the protocol your browser uses to view webpages). It can be accessed through the domain names of websites it stores, and delivers their content to the end-user's device. 2. On the hardware side, a web server is a computer that stores web server software and a website's component files (e.g. HTML documents, images, CSS stylesheets, and JavaScript files). It is connected to the Internet and supports physical data interchange with other devices connected to the web. What is PHP? PHP is a recursive acronym for (PHP: Hypertext Preprocessor) is an open source, server-side, cross-platform, scripting language used to create dynamic web pages. History of PHP Rasmus Leardorf Andi Zeev Suraski Gutmans History of PHP  By the end of 1998, PHP grew to an install base of tens of thousands of users (estimated) and hundreds of thousands of Web sites reporting it installed. At its peak, PHP 3.0 was installed on approximately 10% of the Web servers on the Internet.  PHP 3.0 was officially released in June 1998, after having spent about 9 months in public testing.  In mid 1999 the PHP 4.0 was introduced, which was based on 'Zend Engine' (comprised of their first names, Zeev and Andi).  Features of this version were officially released in May 2000  This version has key features such as support for many more Web servers, HTTP sessions, output buffering, more secure ways of handling user input. History of PHP  PHP 5 was released in July 2004 after long development and several pre-releases. It is mainly driven by its core, the Zend Engine 2.0 with a new object model and dozens of other new features.  PHP 6 PHP has received criticism due to lacking native Unicode support at the core language level, instead only supporting byte strings. In 2005, a project headed by Andrei Zmievski was initiated to bring native Unicode support throughout PHP, by embedding the International Components for Unicode (ICU) library, and representing text strings as UTF-16 internally. Since this would cause major changes both to the internals of the language and to user code, it was planned to release this as version 6.0 of the language, along with other major features then in development. History of PHP  PHP 7 During 2014 and 2015, a new major PHP version was developed, which was numbered PHP 7. The numbering of this version involved some debate.  While the PHP 6 Unicode experiment had never been released, several articles and book titles referenced the PHP 6 name, which might have caused confusion if a new release were to reuse the name.  After a vote, the name PHP 7 was chosen.  Because of major internal changes in phpng, it must receive a new major version number of PHP, rather than a minor PHP 5 release, according to PHP's release process Release History Why PHP? Writing Source Code Writing Source Code (PHP) echo “xyc”; References  https://en.wikipedia.org/wiki/PHP  https://www.w3schools.com/php/ php_intro.asp  https://en.wikipedia.org/wiki/ World_Wide_Web  https://en.wikipedia.org/wiki/ Web_browser  https://developer.mozilla.org/en-US/ docs/Learn/Common_questions/ What_is_a_web_server  https://www.codeconquest.com/website/ client-side-vs-server-side/  https://en.wikipedia.org/wiki/Hypertext

Use Quizgecko on...
Browser
Browser