blogit v1.2.3 Blogit.Component View Source
Contains common logic for creating and naming Blogit component processes.
A component is a GenServer, but instead declaring:
use GenServer
it should declare:
use Blogit.Component
This will make it a GenServer and will create the start_link/1 function
for creating the component process for the module.
This will also add the name/1 function, which creates uniq name/id for the
component based on the given language. This name/id is used by the
Blogit.Components.Supervisor process.