Web Development & PHP Reviewer PDF

Summary

This document is a reviewer for web development and PHP. It covers basic web concepts, front-end and back-end concepts, and introduces PHP; from the client-server model to various technologies in detail. It includes explanations about APIs, databases, SQL, and NoSQL.

Full Transcript

Web Development & PHP Reviewer ============================== Lesson 1: Basic Web Concepts ---------------------------- ### Q: What is a website? A: A website is a collection of web pages accessible through the internet, hosted on a server, and displayed on a client (browser). ### Q: What is the...

Web Development & PHP Reviewer ============================== Lesson 1: Basic Web Concepts ---------------------------- ### Q: What is a website? A: A website is a collection of web pages accessible through the internet, hosted on a server, and displayed on a client (browser). ### Q: What is the client-server model? A: The client (browser) sends requests, and the server processes them and responds with web pages or data. ### Q: What is the difference between HTTP and HTTPS? A: HTTP is a protocol for data exchange on the web, while HTTPS adds security through encryption. ### Q: What is front-end development? A: It focuses on what users see and interact with directly. ### Q: What are the key technologies in front-end development? A: 1. HTML -- Structure\ 2. CSS -- Styling\ 3. JavaScript -- Interactivity ### Q: Why is responsive design important? A: It ensures websites adapt to different screen sizes (desktop, mobile, tablet). ### Q: What is back-end development? A: It handles data, logic, and server-side processing, which is invisible to users. ### Q: What are the core responsibilities of back-end development? A: 1. Database management\ 2. Application logic\ 3. APIs ### Q: Name some common back-end languages. A: Node.js, Python, PHP, Ruby, Java. ### Q: What is an API? A: An API (Application Programming Interface) allows the front end to communicate with the back end. ### Q: What are SQL and NoSQL databases? A: SQL: Uses structured, table-based data (e.g., MySQL, PostgreSQL).\ NoSQL: Uses flexible schema (e.g., MongoDB). ### Q: What is the purpose of security and authentication in back-end development? A: To protect data using encryption, input validation, and session handling. ### Q: How do the front-end and back-end communicate? A: The front-end sends HTTP requests, and the back-end processes them and responds. Lesson 2: Introduction to PHP ----------------------------- ### Q: What is PHP? A: PHP stands for \'PHP: Hypertext Preprocessor,\' an open-source scripting language used for web development. ### Q: Who created PHP and when? A: Rasmus Lerdorf in 1994. ### Q: Name some popular websites that use PHP. A: Facebook, WordPress. ### Q: What can PHP do? A: Dynamic page content, file manipulation, form handling, database management, security, REST APIs. ### Q: What is the basic structure of a PHP file? A: A PHP file contains text, HTML, CSS, JavaScript, and PHP code, enclosed within \

Use Quizgecko on...
Browser
Browser