mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-16 02:34:00 +02:00
Added the component section.
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
# Frameworks
|
---
|
||||||
|
isChild: true
|
||||||
|
---
|
||||||
|
|
||||||
|
## Frameworks
|
||||||
|
|
||||||
Rather than re-invent the wheel, many PHP developers use frameworks to build out web applications. Frameworks abstract away many of the low-level concerns and provide helpful, easy-to-use interfaces to complete common tasks.
|
Rather than re-invent the wheel, many PHP developers use frameworks to build out web applications. Frameworks abstract away many of the low-level concerns and provide helpful, easy-to-use interfaces to complete common tasks.
|
||||||
|
|
||||||
|
25
_posts/11-03-01-Components.md
Normal file
25
_posts/11-03-01-Components.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
isChild: true
|
||||||
|
---
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
As mentioned above "Components" are another approach to the common goal of creating, distributing and implementing shared code. Various
|
||||||
|
component repositories exist, the main two of which are:
|
||||||
|
|
||||||
|
* [Packagist](/#composer_and_packagist)
|
||||||
|
* [PEAR](/#pear)
|
||||||
|
|
||||||
|
Both of these repositories have command line tools associated with them to help the installaiton and upgrade processes, and have been
|
||||||
|
explained in more detail in the [Dependency Management][dm] section.
|
||||||
|
|
||||||
|
There are also component-based frameworks, which allow you to use their components with minimal (or no) requirements. For example, you
|
||||||
|
can use the [FuelPHP Validation package][fuelval], without needing to use the FuelPHP framework itself. These projects are essentially
|
||||||
|
just another repository for reusable components:
|
||||||
|
|
||||||
|
[dm]: /#dependency_management
|
||||||
|
[fuelval]: https://github.com/fuelphp/validation
|
||||||
|
|
||||||
|
* [Aura](http://auraphp.github.com/)
|
||||||
|
* [FuelPHP (2.0 only)](https://github.com/fuelphp)
|
||||||
|
* [Symfony Components](http://symfony.com/doc/current/components/index.html)
|
Reference in New Issue
Block a user