<commit_before>\section{Basic Functionalities guide}
\subsection{Functional Elements}

\subsubsection{ExternalAPI}
ExternalAPI is a useful element capable of retrieving a \glossario{JSON} file from an \glossario{API} method and storing it in the Bubble. 
\begin{figure}[H]
 	\centering
 	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/1framework_model_api.png}
 	\caption{ExternalAPI}
\end{figure}

\subsubsection{WebNotification}
Through WebNotification it is possible to show the user a notification, to create the notification a user has to specify a title, an icon and some text. 
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/2framework_model_notification.png}
	\caption{WebNotification}
\end{figure}

\subsubsection{Database}
The functional element Database is based on the \glossario{MongoDB} collection system, it is used to write and read data in the collections by simply specifying an URL pointing to a MongoDB instance and the name of a collection.
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/3framework_model_mongo.png}
	\caption{MongoDB}
\end{figure}

\subsubsection{BubbleMemory}
\glossario{BubbleMemory} can emit signals to alert other components when the data collections that it stores is subject to changes. Different types of actions can operate on these collections, storing new objects, removing or editing them. 
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/4framework_model_memory.png}
	\caption{BubbleMemory}
\end{figure}

\subsubsection{MatchRegularExpr}
MatchRegularExpr stores a regular expression and allows the user to execute different methods of MatchRegularExpr on some text.
It can either operate in \glossario{Case Sensitive} Mode or Multi-line mode and can execute multiple matches for a given text.
MatchRegularExpr can combine strings and regexp to create other MatchRegularExpr objects.
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/5framework_model_regexp1.png}
	\caption{MatchRegularExpr}<commit_msg>Update capitolo-funzionalita.tex<commit_after>\section{Basic Functionalities guide}
\subsection{Functional Elements}

\subsubsection{ExternalAPI}
ExternalAPI is a useful element capable of retrieving a \glossario{JSON} file from an \glossario{API} method and storing it in the Bubble. 
\begin{figure}[H]
 	\centering
 	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/1framework_model_api.png}
 	\caption{ExternalAPI}
\end{figure}

\subsubsection{WebNotification}
Through WebNotification it is possible to show the user a notification, to create the notification a user has to specify a title, an icon and some text. 
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/2framework_model_notification.png}
	\caption{WebNotification}
\end{figure}

\subsubsection{Database}
The functional element Database is based on the \glossario{MongoDB} collection system, it is used to write and read data in the collections by simply specifying an URL pointing to a MongoDB instance and the name of a collection.
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/3framework_model_mongo.png}
	\caption{MongoDB}
\end{figure}

\subsubsection{MatchRegularExpr}
MatchRegularExpr stores a regular expression and allows the user to execute different methods of MatchRegularExpr on some text.
It can either operate in \glossario{Case Sensitive} Mode or Multi-line mode and can execute multiple matches for a given text.
MatchRegularExpr can combine strings and regexp to create other MatchRegularExpr objects.
\begin{figure}[H]
	\centering
	\includegraphics[width=14cm]{../../documenti/UserManualFramework/framework_model/5framework_model_regexp1.png}
	\caption{MatchRegularExpr}
{'fraction_non_alphanumeric': 0.08485446472619634, 'fraction_numerical': 0.007153428712382831, 'mean_word_length': 5.908006814310051, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '372703', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1150, 'n_words': 367}