上QQ阅读APP看书,第一时间看更新
MVC and routes
As mentioned earlier, we will now create a component each of the model, view, and controller, using the Artisan CLI. However, as our heading suggests, we will include another important item: the routes. We have already mentioned them in this chapter (in our diagram of the request life cycle in Laravel, and also in the example diagram of the MVC itself).
In this section, we will focus on creating the file, and checking it after it has been created.