/
githubmirror
/
java-design-patterns
Обзор
Документация
Войти
/
githubmirror
/
java-design-patterns
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
1.14.0
proxy/etc/presentation.html
68 строк
2 KB
Ilkka Seppälä
Add presentation for Proxy pattern.
26 дек 2016, 21:05
26 дек 2016, 21:05
9cf1918
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <title>Title</title> <meta charset="utf-8"> <style> @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); body { font-family: 'Droid Serif'; } h1, h2, h3 { font-family: 'Yanone Kaffeesatz'; font-weight: normal; } .remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; } </style> </head> <body> <textarea id="source"> class: center, middle # Proxy --- # Also known as * Surrogate --- # Intent * Provide a surrogate or placeholder for another object to control access to it. --- # Applicability * Protection proxy limits access to the real subject. * Virtual proxies are used when an object is expensive to instantiate. * Caching proxies are used to cache expensive calls to the real subject. * Remote proxies are used in distributed object communication. * Smart proxies are used to implement reference counting and log calls to the object. --- # Diagram .center[] --- # Tutorials * Blog http://java-design-patterns.com/blog/controlling-access-with-proxy-pattern/ * Source code http://java-design-patterns.com/patterns/proxy/ </textarea> <script src="https://gnab.github.io/remark/downloads/remark-latest.min.js"> </script> <script> var slideshow = remark.create(); </script> </body> </html>