Building Your App
Oh the possibilities
Building Your App
Let's have a quick look at what is in this thing.
Terminology
Throughout the documentation we will be using the following terms a bunch, so just to be clear, here is a quick terminology!
| Term | Description |
|---|---|
| Morningmedley | This framework! |
| App | The App is the main Morningmedley application The App is an Illuminate IoC Container |
| Module | Morningmedley is comprised of many smaller modules that the App binds together.On a more technical note, these are Services with their own ServiceProviders |
| Config | The config is an array that holds all kinds of information about environment, bootstrapping, drivers and more. |
| View | A PHP template.Views are Laravel Blade templates! |
| Block | A block always refers to WordPress blocks. |
| Hook | A Hook, with capital "H", is a class that uses Hookable.Each Hook class contains multiple action and/or filters with callbacks |
| Route | A route is a unique URL with its own callback. |
| Controller | A controller is a class responsible for handling the callback of a route by validating the request, user etc. |
| Model | MVC model. An object instance representing a row in the database.These are all Illuminate Models |
| Eloquent | A query builder for querying your models. |
Where do I go from here?
Check out the Hook package to learn about how you can extend WordPress.
You can also start making some blocks by following the WordPress documentation about this and then following up with the MorningMedley options.
Or maybe have a look at Blade and views in MorningMedley. Having a templating engine when making a dynamic front- or backend is pretty nice!
... or maybe just continue through these docs at your own pace.