Skip to content

Instantly share code, notes, and snippets.

@duythien
Created September 20, 2015 16:49
Show Gist options
  • Select an option

  • Save duythien/4795e9b30844329590c6 to your computer and use it in GitHub Desktop.

Select an option

Save duythien/4795e9b30844329590c6 to your computer and use it in GitHub Desktop.
phanbook.tex
\documentclass{beamer}
%\usetheme[Boadilla]{Madrid}
\usetheme{CambridgeUS}
\makeatletter
\usepackage{ucs}
\usepackage{amsmath}
\usefonttheme[onlymath]{serif}
\usepackage{relsize}
\usepackage{wrapfig}
\usepackage{listings}
\usepackage{graphicx}
%\usepackage[colorinlistoftodos]{todonotes}
\usepackage{todonotes}
\presetkeys{todonotes}{inline}{}
\usepackage{url}
\usepackage{hyperref}
\usepackage{comment}
\usepackage{color}
\usepackage{parskip}
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color
basicstyle=\footnotesize, % size of fonts used for the code
breaklines=true, % automatic line breaking only at whitespace
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{mygreen}, % comment style
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
keywordstyle=\color{blue}, % keyword style
stringstyle=\color{mymauve}, % string literal style
}
%\setbeamertemplate{enumerate items}[default]
\title[Phanbook]{Phalcon PHP and Phanbook}
\author[Grokking Engineering]
{
About me\\
Thien Tran Duy\\
PHP developer since 2012\\
User 571 on phalconphp.com\\
Loves open source developments
}
\institute[meetup]
{
Open Company\\ % Your institution for the title Khiapage
\medskip
\textit{fcduythien@gmail.com} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{PHP}
\begin{frame}{Summary}
\begin{flushleft}
There are over 30 different PHP CMS and Forum. And each CMS or Forum have special feature, which could speed, documentation, easy custom or anything else. But Phanbook is "the next big thing" in CMS or Forum PHP
\end{flushleft}
\begin{enumerate}
\item What is a Phalcon PHP
\item What is a Phanbook
\item Why using Phanbook
\item In Conclusions
\end{enumerate}
\end{frame}
\section{The two Section}
\begin{frame}{Information}
\begin{exampleblock}{What is Phalcon?}
Phalcon is an open source, full stack framework for PHP written as a C-extension, optimized for high performance.
\end{exampleblock}
While discussing Phalcon it’s easy to forget that performance is not the only feature. Phalcon is a full stack framework and can do a lot
\begin{enumerate}
\item<1-> It have basic feature such as Auto-loader, router, MVC, DI, REST
\item<2-> It interacts data and storage via ORM, PHQL, ODM, Cache, Memcache, Session, etc
\item<3-> It have some components for views and frontend such as Template engines Volt, Forms builder, Flash messages, etc
\item<4> It also provides library ACL, Cryptography, Events manager, Share, Queueing, Annotations Parse, and so more
\end{enumerate}
\end{frame}
%-------------
\section{Phanbook}
\begin{frame}{Information}
\begin{exampleblock}{What is Phanbook}
Phanbook is the next-generation Q&A, Forum and CMS software that makes online discussion, question and answer site for professional and enthusiast people. Also the name Phanbook is mean - Phan(Phalcon PHP)book(the your note book)
\end{exampleblock}
\begin{enumerate}
\item<1-> 100% Open Source
\item<2-> Social Login
\item<3-> Trust System
\item<4-> Ease Deploy
\item<5-> Mutiple module, Plugin, Theme
\item<6-> Multi-language supports
\item<7-> Markdown and rich text editing support
\item<8-> Powerful search with Elasticsearch
\item<9-> Rewards, badges, and gamification
\item<10> Topic/Tags subscriptions and digest emails
\end{enumerate}
\end{frame}
%--------------------------------------------------
\section{Example microservices}
Deploying Microservice Using Docker at {\color{red}\href{https://github.com/phanbook/phanbook/blob/master/opsfiles/docker/docker-compose.yml}{github}}:\\
\begin{lstlisting}[language=R]
web:
image: phanbook/nginx
ports:
- "80:80"
volumes:
- ./:/var/www/html
links:
- php
php:
image: phanbook/php
volumes:
- ./:/var/www/html
links:
- db
app:
image: phanbook/app
volumes:
- ./:/var/www/html
db:
image: phanbook/mysql
env_file: ./opsfiles/docker/config.env
\end{lstlisting}
%Vagrant cheat sheet
\begin{figure}
\centering
\includegraphics<1>[width=\textwidth]{sql.png}
\includegraphics<2->[width=\textwidth,height=1cm]{frog.jpg}
\end{figure}
\section{The four Section}
\begin{frame}{Example microservices}
\begin{enumerate}
\item A good example is the Google Auth service.
\item Phalcon PHP and Emberjs
\item Queue to deliver e-mails in real-time
\end{enumerate}
\end{frame}
%-----------------------------------------------------
%----------------------------
\section{Conclusion}
\begin{frame}{In conclusion}
\begin{flushleft}
It is not we aims here to give you the most complete explanation of what Microservices are for that, We would suggest you read the book at {\color{red}\href{http://shop.oreilly.com/product/0636920033158.do}{Oreilly}}.
\end{flushleft}
Is refactoring to microservices good for any software application? Are you using Microservices or planning to use them? I would love to hear your opinion on the subject. .\end{frame}
%----------------------------------
\section{Thanks}
\begin{frame}{Thanks}
\begin{center}
Please questions ???
\end{center}
\end{frame}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment