PHP cheat sheet (Classes and objects, functions, output control, regex) by Daniel Dev pdf, png PHP Cheat Sheet with special php syntax html (blueshoes.org) Smarty cheat sheet for template designers pdf, gif (somewherein.net) Apple's PHP Cheat Sheet html.zip (apple.com). I did all the examples in an open-source diagram editor called Dia. I recommend it by the way. And because it's such a wonderful editor, here's a complete cheat sheet (if you'd like to print it). Figure 8: Cheat Sheet. UML has different relationship for interfaces. When you inherit from an interface you implement it, which is in terms of UML a relationship of realization. It’s visual appearance is similar to inheritance, but the line is dashed. Also the interface class should be marked as abstract (have name written in italic). See on Figure 3.
PlantUML is a component that allows to quickly write.This is cheat sheet of PlantUML to use frequently.
Notes and Comments.
keyword | usage | image |
---|---|---|
title | Title | |
note left : | Notes Left | |
note right : | Notes Right | |
' | Single-line Comment | |
/' '/ | Block Comment |
Participant actors.
keyword | usage | image |
---|---|---|
actor | Actor | |
boundary | Boundary | |
control | Control | |
entity | Entity | |
database | Database |
Arrow direction.
keyword | usage | image |
---|---|---|
-up-> | Up | |
-down-> | Down | |
-left-> | Left | |
-right-> | Right |
Represent the required functions.
keyword | usage | image |
---|---|---|
( ) | Use Case | |
-> | Use | |
.> | Extend, Include |
Represent the state of the process.
keyword | usage | image |
---|---|---|
' ' | Activity | |
(*) -> | Initial | |
-> (*) | Final |
Represent the state of the objects.
keyword | usage | image |
---|---|---|
[*] -> | Initial | |
-> [*] | Final |
Represent the messages and orders of the interacts.
keyword | usage | image |
---|---|---|
-> | Message | |
<-- | Return |
Represent the logical view of the object.
keyword | usage | image |
---|---|---|
object | Object | |
<|- | Extension | |
*- | Composition | |
o- | Agregation |
Represent the logical view of the class.
keyword | usage | image |
---|---|---|
class | Class | |
+ | Public | |
- | Private | |
# | Protected | |
~ | Package |
Represent the dependency of the components.
keyword | usage | image |
---|---|---|
[ ] | Component | |
package | Package | |
frame | Frame | |
folder | Folder | |
database | Database | |
node | Node | |
cloud | Cloud |
We can add colors to Arrows, Icons, Sprites, Components, Packages, etc.PlantUML support Hexadecimal colors or colors that are already defined.
Site Reference: http://plantuml.com/skinparam
Legend can contain only text, or some tables.This example contain a table with some HTML inside and OpenIconic.
OpenIconic Reference: http://plantuml.com/openiconic
It’s possible to declare constants that will help us for example to include files or other *.puml
PS: when you use it remove ${}, thats only there for the example
There are a lot of useful sprites and images that we can use.In the next example you have all the ways to implement components using this open source library.