RUVIDEO
Поделитесь видео 🙏

Memento Pattern Explained | Memento Design Pattern Tutorial with Java Example for Beginners смотреть онлайн

Memento design pattern is a behavioral design pattern. Memento design pattern lets you save and restore the previous state of an object without revealing the details of its implementation. Memento is an object that stores a snapshot of the internal state of another object. This pattern allows you to save the internal state of an object to restore it later. As your application is progressing, you may want to save checkpoints in your application and restore back to previous state if anything goes wrong.

Memento Design pattern defines three roles for objects.
1. Originator is the object whose state we want to save.
2. Memento is another object that saves the state of the Originator.
3. Caretaker manages the timing of the saving of the state, saves the Memento and, if needed, uses the Memento to restore the state of the Originator.

** Example of Memento Design Pattern **
Imagine that you’re creating a text editor app. In addition to simple text editing, your editor can format text, insert inline images, etc. At some point, you decided to let users undo any operations carried out on the text. For this implementation, your app should record the states of all objects and saves it in some storage. Later, when a user decides to revert an action, the app fetches the latest snapshot from the history and uses it to restore the state of all objects.

** Where to use Memento Design Pattern **
1. When letting some info in an object available by another object.
2. When you want to create snapshots of a state for an object.
3. When you need undo/redo features.

** Advantages of Memento Design Pattern **
1. Ability to restore an object to its previous state.
2. It stores the objects state without compromising encapsulation.
3. Provides a recovery mechanism in case of failures.
4. It provides a way to maintain history of an object's life cycle.

** Chapter Timestamps **
0:00 Welcome to Memento Design Pattern
0:25 Recap of Mediator Design Pattern
1:25 Introduction to Memento Design Pattern
2:07 Actors of Memento Design Pattern
2:35 Real World Example of Memento Design Pattern
3:12 Java code example of Memento Design Pattern
8:15 Where to use Memento Design Pattern
8:41 Advantages of Memento Design Pattern
9:03 Summary of Memento Design Pattern
9:46 Next video on Interpreter Design Pattern

#mementopattern #mementodesignpattern #designpattern

** Previous Video Links **
Previous Video (Mediator Design Patterns): https://youtu.be/qdBlPXAx2lE

** GITHUB Project **
https://github.com/codeonedigest/javadesignpattern

** CHECK OUT OUR OTHER VIDEOS **
Spring boot project setup: https://youtu.be/bsgA20eJKxs
Spring Boot Microservice with MongoDB Project: https://youtu.be/1HnturOhPhs
Prepare Docker file, Container and Build Image: https://youtu.be/g_pdTzjnuso
Deploy Docker Image AWS Elastic Container Service: https://youtu.be/ZlR5onuwZzw
Run MongoDB in Docker Container: https://youtu.be/r4Yl4SO1BiA

** CHECK OUR PLAYLISTS **
Java Design Pattern Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvglL0xl-4tgBAribrcjeuNH
Spring Boot Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvg_VlNmszrb-Um0wRx5yGDF
Docker Containers Complete Tutorial
https://youtube.com/playlist?list=PL2NZAYdLkYvhZQo2VTVCSug_zVjekNodi
GITHUB Repository Tutorial | Complete Guide to GITHUB for Beginners
https://www.youtube.com/playlist?list=PL2NZAYdLkYvh5inIifHYlpAX10IE3vVGS


** Acronyms **
OOP – Object Oriented Programming Languages
GOF – Gang of Four Design Pattern
COD – Code One Digest

** References ** https://www.tutorialspoint.com/design_pattern/design_pattern_overview.htm

** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages.
Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge.

Check out our channel here:
https://www.youtube.com/channel/UC9V0QYsWKz_OD2uooCtEtRg
Don’t forget to subscribe!

** OUR WEBSITE **
https://codeonedigest.wordpress.com/

** GET IN TOUCH **
Email us on [email protected]

FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Youtube: https://www.youtube.com/channel/UC9V0QYsWKz_OD2uooCtEtRg
Twitter: https://twitter.com/codeonedigest
Facebook: https://www.facebook.com/codeonedigest
Instagram: https://www.instagram.com/codeonedigest/
Linkedin: https://www.linkedin.com/in/codeone-digest-10b418255/
Reddit: https://www.reddit.com/user/codeonedigest
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest: https://in.pinterest.com/codeonedigest/


spring boot, spring framework, adapter design pattern, flyweight design pattern, design patterns in java,

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Memento Pattern Explained | Memento Design Pattern Tutorial with Java Example for Beginners» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.