11.08.2017 Views

codebright

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Architecture 38<br />

Robustness<br />

As I mentioned a few times earlier, Laravel is made from a set of individual components. Each<br />

component is responsible for its own little bit of functionality. This means that they are very<br />

respectful of the single responsibility principle.<br />

In fact, many of the Laravel components can act alone, completely decoupled from the framework.<br />

For this reason, copies of the components can be found under the Illuminate organisation on github¹³.<br />

This set of components is also available on Packagist¹⁴ so that you can take advantage of them in<br />

your own projects that leverage Composer.<br />

So why is the chapter called Robustness? Well you see, every component used by the Laravel<br />

framework is well tested. The entire framework contains a suite of over 900 tests and 1700 assertions.<br />

Thanks to the tests, we can accept contributions and make changes that will provide a fruitful future<br />

for the framework, without worrying about whether a change has broken something, or removed<br />

existing functionality.<br />

Well, that’s enough about architecture. I bet you’re ready to get stuck into some development right?<br />

Let’s get started.<br />

¹³https://github.com/illuminate<br />

¹⁴https://packagist.org/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!