LESSON3-INTRO2PHP Flashcards

1
Q

PHP stands for?

A

Hypertext Preprocessor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is a widely used open-source scripting language primarily designed for web development and can be embedded into HTML

A

PHP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PHP was created by Danish Canadian programmer ______ in 1994

A

Rasmus Lerdorf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PHP was created by Danish Canadian programmer Rasmus Lerdorf in ____

A

1994

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

XAMPP stands for?

A

Cross-Platform, Apache, MySQL, PHP and Perl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Importance of PHP

A

Versatility
Ease of Use
Large Community and Resources
Compatibility
Scalability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PHP can handle various tasks ranging from creating dynamic web pages to building complex web applications. Its ______ allows developers to accomplish diverse tasks efficiently

A

Versatility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

With its simple and intuitive syntax, PHP is relatively easy to learn and use, making it accessible to both beginners and experienced developers alike.

A

Ease of Use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

PHP boasts a vast and active community of developers contributing to its ecosystem by creating libraries, frameworks, and documentation. This extensive support network ensures that developers can find solutions to their problems quickly.

A

Large Community and Resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

PHP is compatible with different operating systems and web servers, including Apache, Nginx, and Microsoft IIS, providing developers with flexibility in choosing their development
environment.

A

Compatibility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

PHP powers a significant portion of the web, from small personal websites to large-scale enterprise applications. Its ________ makes it suitable for projects of all sizes, allowing developers to grow their applications as needed.

A

Scalability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

2 Ways to setup a development environment

A

Local Development
Remote Development

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Create PHP Files: PHP code is typically written within files with a ____ extension.

A

.php

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Embedding PHP: PHP code can be embedded directly into HTML files using opening and closing PHP tags ____.

A

<?php ?>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Basic Syntax: PHP statements end with a _______(1) . Variables in PHP start with a _______(2), followed by the variable name.

A

(1) semicolon (;)
(2) dollar sign ($)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Comments: Use __ for single-line comments and ____ for multi-line comments.

A

(1) //
(2) /* */

17
Q

Local Testing: Save your PHP file in the appropriate directory of your local server (e.g., htdocs in XAMPP) and access it through a web browser by navigating to _____________.

A

http://localhost/yourfile.php

18
Q

Remote Deployment: Upload your PHP files to your web server using _______, and access them through the server’s URL.

A

FTP or SSH

19
Q

computer software that facilitates the secure exchange of files over a TCP/IP

A

FTP (File Transfer Protocol)

20
Q

a communications standard that enables application programs and devices to exchange messages over a network

A

TCP/IP: Transmission Control Protocol/Internet Protocol

21
Q

a network communication protocol that enables two computers to communicate and share data

A

SSH: Secure Shell

22
Q

PHP Features

A

Variables
Operators
Control Structures
Functions
Arrays
Form Handlings

23
Q

Use PHP to dynamically generate web content, handle user authentication, interact with databases, and more.

A

Server Side Processing

24
Q

PHP can connect to databases like MySQL, PostgreSQL, SQLite, etc., to perform CRUD (Create, Read, Update, Delete) operations.

A

Database Interaction

25
Manage user sessions and cookies to maintain state across multiple requests.
Session Management
26
a series of “user actions” performed by an individual on your website or web application within a specific timeframe
User Sessions
27
text files with small pieces of data (like username and password) that identify your computer as you use a network.
Cookies
28
PHP provides functions to manipulate files and directories on the server
File Handling
29
Learning Resources
Documentation Tutorials and Courses Community Support
30
Refer to the official PHP documentation (php.net) for detailed information on PHP functions, syntax, and features.
Documentation
31
Explore online tutorials, courses, and books dedicated to learning PHP.
Tutorials and Courses
32
Engage with the PHP community through forums, user groups, and Q&A platforms for assistance and guidance.
Community Support