chg: [a.12-workflows] Added writing your module slides

pull/20/head
Sami Mokaddem 2022-07-07 15:54:39 +02:00
parent 033a22b8ef
commit 6aadcf7e87
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
3 changed files with 35 additions and 0 deletions

View File

@ -293,3 +293,38 @@
\item After a user has been saved, a message containing the user's email will be sent to a Mattermost channel and the user detailed will be posted to the webhook URL
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Creating a new module in PHP}
\begin{center}
\includegraphics[width=0.65\linewidth]{pictures/custom-1.png}
\end{center}
\begin{itemize}
\item Module configuration are defined as public variables
\item The \texttt{exec} function has to be implemented.
\begin{itemize}
\item If it returns \texttt{true}, execution will proceed
\item If it returns \texttt{false}
\begin{itemize}
\item And the module is \texttt{blocking}, the execution will stop and the operation will be blocked
\item And the module is not \texttt{blocking}, the execution for the current path will stop
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Creating a new module in Python}
\begin{center}
\includegraphics[width=0.6\linewidth]{pictures/custom-2.png}
\end{center}
\begin{itemize}
\item Module configuration are defined in the \texttt{moduleinfo} and \texttt{moduleconfig} variables
\item The \texttt{handler} function has to be implemented.
\item Blocking logic is the same as other modules
\end{itemize}
\end{frame}

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB