Skip to main content

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!

TermDescription
MorningmedleyThis framework!
AppThe App is the main Morningmedley application
The App is an Illuminate IoC Container
ModuleMorningmedley is comprised of many smaller modules that the App binds together.
On a more technical note, these are Services with their own ServiceProviders
ConfigThe config is an array that holds all kinds of information about environment, bootstrapping, drivers and more.
ViewA PHP template.
Views are Laravel Blade templates!
BlockA block always refers to WordPress blocks.
HookA Hook, with capital "H", is a class that uses Hookable.
Each Hook class contains multiple action and/or filters with callbacks
RouteA route is a unique URL with its own callback.
ControllerA controller is a class responsible for handling the callback of a route by validating the request, user etc.
ModelMVC model. An object instance representing a row in the database.
These are all Illuminate Models
EloquentA 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.