PHP Frameworks Flashcards

1
Q

What is a framework in software development?

A

A framework is a pre-built collection of code that provides a foundation for developing software applications. It includes libraries, tools, and best practices that help developers build applications more efficiently and maintainably.

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

List various PHP frameworks.

A

Laravel
CodeIgniter
CakePHP
Yii
Slim

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

Reasons to Use PHP Frameworks
CFSMC

A
  1. Code Reusability: Frameworks provide libraries for common functions, reducing the need to write code from scratch.
  2. Faster Development: Pre-built components and tools speed up the development process, allowing for quicker project completion.
  3. Security: Many frameworks come with built-in security features that help protect applications from common vulnerabilities.
  4. Maintainability: Frameworks promote organized code structure, making it easier to maintain and update applications over time.
  5. Community Support:Popular frameworks have large communities, providing resources, documentation, and support for developers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Write a five-point note on CodeIgniter PHP framework.
LMEBA

A
  1. Lightweight: CodeIgniter is known for its small footprint, making it fast and efficient for web application development.
  2. MVC Architecture: It follows the Model-View-Controller (MVC) design pattern, promoting separation of concerns and better organization of code.
  3. Easy to Learn: CodeIgniter has a simple and straightforward setup, making it accessible for beginners and experienced developers alike.
  4. Built-in Libraries: It comes with a rich set of libraries for common tasks such as database interaction, form validation, and session management.
  5. Active Community: CodeIgniter has a supportive community and extensive documentation, providing resources for troubleshooting and learning.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Write a five-point note on Joomla and its features.
(CUEMA)

A
  1. Content Management System (CMS): Joomla is a powerful open-source CMS that allows users to create and manage websites easily.
  2. User -Friendly Interface: It offers an intuitive interface for managing content, making it suitable for both developers and non-technical users.
  3. Extensible: Joomla supports a wide range of extensions and plugins, allowing users to add functionality and customize their websites.
  4. Multilingual Support: It has built-in support for multiple languages, making it easy to create multilingual websites.
  5. Active Community: Joomla has a supportive community and extensive documentation, providing resources for troubleshooting and learning.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are five features of the Laravel framework?
EERBT

A
  1. Elegant Syntax:Laravel provides a clean and expressive syntax that enhances developer productivity and code readability.
  2. Eloquent ORM:It includes an Object-Relational Mapping (ORM) system called Eloquent, which simplifies database interactions.
  3. Routing System: Laravel offers a powerful routing system that allows developers to define application routes easily.
  4. Built-in Authentication: The framework comes with built-in authentication and authorization features, making it easy to secure applications.
  5. Task Scheduling: Laravel includes a task scheduling feature that allows developers to automate repetitive tasks using a simple syntax.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Yii Framework Features
HGMSE

A
  1. High Performance: Yii is designed for high performance, making it suitable for large-scale applications and high-traffic websites.
  2. Gii Tool: It includes Gii, a powerful web-based code generator that helps developers quickly create models, controllers, and forms.
  3. MVC Architecture: Yii follows the Model-View-Controller (MVC) design pattern, promoting a clear separation of concerns in application development.
  4. Security Features: The framework provides built-in security features, including input validation, output filtering, and protection against SQL injection and XSS attacks.
  5. Extensible: Yii is highly extensible, allowing developers to customize and extend its core functionalities easily.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

CakePHP Features

A
  1. Rapid Development: CakePHP emphasizes rapid application development, allowing developers to build applications quickly with less code.
  2. Convention over Configuration: It follows the principle of “convention over configuration,” reducing the need for extensive configuration files.
  3. Built-in ORM: CakePHP includes a powerful Object-Relational Mapping (ORM) system that simplifies database interactions and queries.
  4. Security Features: The framework provides various security features, such as input validation, CSRF protection, and SQL injection prevention.
  5. Active Community: CakePHP has a strong community that contributes to its development, providing extensive documentation and support for developers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly