Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cut lots of boring slides for baysync

  • Loading branch information...
commit 7829d4cd7062196cda7fe2bb9b9c7a29099504b5 1 parent e5ef575
James Halliday authored
Showing with 0 additions and 164 deletions.
  1. +0 −164 baysync_sunnyvale_aug_5_2011.tex
164 baysync_sunnyvale_aug_5_2011.tex
View
@@ -158,74 +158,6 @@
\end{frame}
\begin{frame}
- \frametitle{browserify!}
-
- \huge
- dnode works great with browserify out of the box
- for client-side require()
- \newline
-
- \begin{center}
- \includegraphics[scale=0.35]{images/browserify.png}
- \end{center}
-\end{frame}
-
-\begin{frame}
- \frametitle{browserify server}
-
- \begin{center}
- \scriptsize
- \fbox{\lstinputlisting{code/browserify/server.js}}
- \end{center}
-\end{frame}
-
-\begin{frame}
- \frametitle{browserify index.html}
-
- \begin{center}
- \scriptsize
- \fbox{\lstinputlisting{code/browserify/index.html}}
- \end{center}
-\end{frame}
-
-\begin{frame}
- \frametitle{require('dnode')}
- \large
- dnode(object or constructor to expose)
- \newline
-
- \normalsize
- \fbox{\lstinputlisting{code/api/constructor.js}}
- \newline
-
- \begin{itemize}
- \pause
- \item remote is available but hasn't been populated yet
-
- \pause
- \item conn.on('ready', fn) fires when remote is ready
- \end{itemize}
-\end{frame}
-
-\begin{frame}
- \frametitle{connect and listen}
- \large
-
- .connect(port, host, opts, cb...)
-
- .listen(port, host, opts, cb...)
-
- \begin{itemize}
- \item parameters can be any order
- \pause
- \item cb gets (remote, conn) too
- \pause
- \item dnode.connect === dnode(\{\}).connect
- \item dnode.listen === dnode(\{\}).listen
- \end{itemize}
-\end{frame}
-
-\begin{frame}
\frametitle{callbacks fo' real}
\begin{columns}[c]
\column{.2\textwidth}
@@ -244,102 +176,6 @@
\end{frame}
\begin{frame}
- \frametitle{nest callbacks howevs}
- \begin{columns}[c]
- \column{.2\textwidth}
- \includegraphics[scale=0.28]{images/all_the_way_down.png}
- \column{.8\textwidth}
- \begin{center}
- \fbox{\lstinputlisting{code/turtles/data.js}}
- \newline
-
- \huge
- dnode hunts down callbacks on a deep traversal
-
- \end{center}
- \end{columns}
-\end{frame}
-
-\begin{frame}
- \frametitle{scrubba-dub}
- \begin{columns}[c]
- \column{.2\textwidth}
- \includegraphics[scale=0.28]{images/all_the_way_down.png}
- \column{.8\textwidth}
- \begin{center}
- \includegraphics[scale=0.28]{images/scrub_1.png}
- \newline
-
- \huge
- scrub out the functions on the first pass
-
- \end{center}
- \end{columns}
-\end{frame}
-
-\begin{frame}
- \frametitle{scrubba-dub}
- \begin{columns}[c]
- \column{.2\textwidth}
- \includegraphics[scale=0.28]{images/all_the_way_down.png}
- \column{.8\textwidth}
- \begin{center}
- \includegraphics[scale=0.28]{images/scrub_2.png}
- \newline
-
- \huge
- scrub the arguments of wrapped functions too
-
- \end{center}
- \end{columns}
-\end{frame}
-
-\begin{frame}
- \frametitle{nest it, yo}
- \begin{center}
- \huge
- Nesting!
- \newline
-
- \includegraphics[scale=0.5]{images/nest.png}
- \end{center}
-\end{frame}
-
-\begin{frame}
- \frametitle{nesting your server methods}
- \begin{columns}[c]
- \column{.2\textwidth}
- \includegraphics[scale=0.28]{images/all_the_way_down.png}
- \column{.8\textwidth}
- \begin{center}
- \fbox{\lstinputlisting{code/turtles/server.js}}
- \newline
-
- \huge
- the same trick happens for server methods
-
- \end{center}
- \end{columns}
-\end{frame}
-
-\begin{frame}
- \frametitle{nesting your client methods}
- \begin{columns}[c]
- \column{.2\textwidth}
- \includegraphics[scale=0.28]{images/all_the_way_down.png}
- \column{.8\textwidth}
- \begin{center}
- \fbox{\lstinputlisting{code/turtles/client.js}}
- \newline
-
- \huge
- and hosted client methods
-
- \end{center}
- \end{columns}
-\end{frame}
-
-\begin{frame}
\frametitle{dnode in ruby}
\begin{center}
\huge
Please sign in to comment.
Something went wrong with that request. Please try again.