\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Natalie Moore (NatalieMoore)} \pdfinfo{ /Title (system-design.pdf) /Creator (Cheatography) /Author (Natalie Moore (NatalieMoore)) /Subject (System Design Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{49A32E} \definecolor{LightBackground}{HTML}{F3F9F1} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{System Design Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Natalie Moore (NatalieMoore)} via \textcolor{DarkBackground}{\uline{cheatography.com/19119/cs/2166/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Natalie Moore (NatalieMoore) \\ \uline{cheatography.com/nataliemoore} \\ \uline{\seqsplit{www}.jchmedia.com/} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 31st May, 2015.\\ Updated 12th May, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Two Levels of Design}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Architectural Design}} \newline % Row Count 1 (+ 1) Broad design of the overall system structure \newline % Row Count 2 (+ 1) Also called General Design and Conceptual Design \newline % Row Count 3 (+ 1) {\bf{Detailed Design}} \newline % Row Count 4 (+ 1) Low level design that includes the design of the specific program details \newline % Row Count 6 (+ 2) Design of each use case \newline % Row Count 7 (+ 1) Design of the database \newline % Row Count 8 (+ 1) Design of user and system interfaces \newline % Row Count 9 (+ 1) Design of controls and security% Row Count 10 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Abstract Three Layer Architecture}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nataliemoore_1433044178_2015-05-31 13_48_08-Chapter6 - PowerPoint.jpg}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design the system interfaces}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{So other systems can talk to each other. System interfaces connect with other systems in many different ways: \newline % Row Count 3 (+ 3) - Save data another system uses \newline % Row Count 4 (+ 1) - Read data another system saved \newline % Row Count 5 (+ 1) - Real time request for information \newline % Row Count 6 (+ 1) - Software services% Row Count 7 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Relational Table Labelled}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nataliemoore_1433044692_2015-05-31 13_57_22-Exam Pages - Word.jpg}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.69218 cm} x{3.28482 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Components of design}} \tn % Row 0 \SetRowColor{LightBackground} Environment & Network and deployment architecture \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Application software & Server based apps, mobile devices, PCs. All components must itegrate as a functioning whole \tn % Row Count 6 (+ 4) % Row 2 \SetRowColor{LightBackground} User interface & Screens and reports o devices connected to the system \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} System interface & Comm interfaces between other automated systems \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} Database & Data structures, deployment methods. \tn % Row Count 13 (+ 2) % Row 5 \SetRowColor{white} Security and controls & Firewalls, Access, data protection in transit between devices. External, internal checks and measures. \tn % Row Count 17 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Logical design}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{abstract representation of the data flows, inputs and outputs of the system. This is often conducted via modelling. ER Modelling is commonly used.% Row Count 3 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Design Activities}} \tn % Row 0 \SetRowColor{LightBackground} Environment & have we spc in detail environment and options in which software will execute? \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} App architecture and software & Detail spec elements of software and how each use case is executed \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} System interfaces & Spec how system will comm with all other systems inside and outside the org \tn % Row Count 11 (+ 4) % Row 3 \SetRowColor{white} User interface & Spec how users will interact with system to carry out all their tasks? (Use Cases) \tn % Row Count 15 (+ 4) % Row 4 \SetRowColor{LightBackground} Database & Spec in detail all info storage reqs \tn % Row Count 17 (+ 2) % Row 5 \SetRowColor{white} System controls and security & Spec elements to ensure system and data are secure and protected \tn % Row Count 20 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design the user interfaces}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Dialog design begins with requirements, so use Use case flow of activities, etc \newline % Row Count 2 (+ 2) Considerations: \newline % Row Count 3 (+ 1) - Workflow \newline % Row Count 4 (+ 1) - Dialogs \newline % Row Count 5 (+ 1) - Form Layout \newline % Row Count 6 (+ 1) - Look and feel \newline % Row Count 7 (+ 1) - Multiple interfaces (s/w, web, mobile) \newline % Row Count 8 (+ 1) - Multiple devices (laptop, touch, phone)% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{To the user, the interface is the system!} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Systems Design}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Process of defining and developing systems to satisfy specified requirements of the user. \newline % Row Count 2 (+ 2) Object-oriented analysis and design methods are becoming most widely used. \newline % Row Count 4 (+ 2) UML standard language in object-oriented analysis and design. Widely used for modeling software systems \& increasingly used for high designing non-software systems and organizations.% Row Count 8 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Physical design}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Relates to the actual input and output processes of the system. How data is input into a system, how it is verified/authenticated, how it is processed, and how it is displayed as In Physical design, the following reqs about the system are decided: \newline % Row Count 5 (+ 5) 1. Input requirement \newline % Row Count 6 (+ 1) 2. Output requirements \newline % Row Count 7 (+ 1) 3. Storage requirements \newline % Row Count 8 (+ 1) 4. Processing Requirements \newline % Row Count 9 (+ 1) 5. System control and backup or recovery. \newline % Row Count 10 (+ 1) Physical portion of systems design can generally be broken down into three sub-tasks: User Interface Design, Data Design, Process Design% Row Count 13 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design the application architecture and software}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{1. Partition system into subsystems. \newline % Row Count 1 (+ 1) 2. Define software architecture. Three layer or model-view-controller \newline % Row Count 3 (+ 2) 3. Detailed design of each use case: Design class diagrams, Sequence diagrams, State machine diagrams% Row Count 6 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design Class Diagram}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nataliemoore_1433044052_2015-05-31 13_46_11-Chapter6 - PowerPoint.jpg}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Issues when considering hosting}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Reliability, security, physical facilities, staff, potential for growth% Row Count 2 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design the Database}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Architecture: distributed or central \newline % Row Count 1 (+ 1) Schema: Tables and columns in relational \newline % Row Count 2 (+ 1) Referential integrity constraints: Foreign key references – for linking tables% Row Count 4 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Uses domain model class diagram (or ERD)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.18988 cm} x{2.78712 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Design the security and system controls}} \tn % Row 0 \SetRowColor{LightBackground} User interface controls & User Authorization \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Application controls & Transactions are "atomic" \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Database controls & No database anomalies \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Network controls & Firewalls, access \tn % Row Count 6 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Architectural design}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{The architectural design of a system emphasizes on the design of the systems architecture which describes the structure, behavior, and more views of that system and analysis.% Row Count 4 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Design models (primary)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Package diagrams \newline % Row Count 1 (+ 1) Nodes and locations diagrams \newline % Row Count 2 (+ 1) Design class diagrams \newline % Row Count 3 (+ 1) Sequence Diagrams \newline % Row Count 4 (+ 1) Database Schema \newline % Row Count 5 (+ 1) User interface screens and reports \newline % Row Count 6 (+ 1) System and security controls \newline % Row Count 7 (+ 1) Communication diagrams% Row Count 8 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}