Memento pattern - Factbites
 Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Memento pattern


    Note: these results are not from the primary (high quality) database.


Related Topics

In the News (Fri 1 Jan 10)

  
 command
Command and Memento act as magic tokens to be passed around and invoked at a later time.
The Command pattern allows requests to be encapsulated as objects, thereby allowing clients to be parameterized with different requests.
In Command, the token represents a request; in Memento, it represents the internal state of an object at a particular time.
home.earthlink.net /~huston2/dp/command.html   (404 words)

  
 Memento pattern - Wikipedia, the free encyclopedia
The memento pattern is a software design pattern that provides the ability to restore an object to its previous state (undo by rollback).
Classic examples of the memento pattern include the seed of a pseudorandom number generator and the state in a finite state machine.
The memento pattern is used by two objects: the originator and a caretaker.
en.wikipedia.org /wiki/Memento_pattern   (304 words)

  
 Memento Design Pattern
The Memento pattern should be used whenever the internal state of an object may need to be restored at a later time (Gamma et al, 1995).
The Memento design pattern externalizes and records the internal state of an object so that it is possible to restore the object to its state later.
Figure 1.3 shows the results of an Undo operation following a Drag operation when only the old location of the object was stored and the Memento pattern was not used.
pages.cpsc.ucalgary.ca /~kristen/index.shtml   (2175 words)

  
 Memento
The client is the "care-taker" of the Memento, but only the source object can store and retrieve information from the Memento (the Memento is "opaque" to the client and all other objects).
The Memento captures and externalizes an object's internal state so that the object can later be restored to that state.
Memento is often used in conjunction with Iterator.
home.earthlink.net /~huston2/dp/memento.html   (337 words)

  
 ONDotnet.com -- Object Serialization with the Memento Pattern
At the end of the article, there is a vector- based application, similar to the one in the previous article, that demonstrates the use of the memento pattern for object serialization.
To apply the pattern, you create another object called the memento, an external object that will hold the states of the originator.
method instantiates a memento object, copies all of the states that need to be persisted to the memento object, and then returns the memento object.
www.ondotnet.com /pub/a/dotnet/2002/09/09/memento.html   (896 words)

  
 Memento Design Pattern in C# and VB.NET
The memento may store as much or as little of the originator's internal state as necessary at its originator's discretion.
Ideally, only the originator that produces the memento would be permitted to access the memento's internal state.
Caretaker sees a narrow interface to the Memento -- it can only pass the memento to the other objects.
www.dofactory.com /Patterns/PatternMemento.aspx   (235 words)

  
 Memento pattern - Wikipedia, the free encyclopedia
The memento pattern is a software design pattern that provides the ability to restore an object to its previous state (undo by rollback).
Classic examples of the memento pattern include the seed of a pseudorandom number generator and the state in a finite state machine.
When using this pattern, care should be taken if the originator may change other objects or resources - the memento pattern operates on a single object.
en.wikipedia.org /wiki/Memento_pattern   (304 words)

  
 MoreRead.com - Illustrated GOF Design Patterns in C# Part V: Behavioral II - 2002-12-07
The Memento pattern is useful in that it stores a snapshot of state from its originator, and only the originator can directly access the stored state.
To quote the GOF, "Behavioral patterns are concerned with algorithms and the assignment of responsibilities between objects.
In Design Patterns, each pattern is described with its name (and other well-known names); the motivation behind the pattern; its applicability; the structure of the pattern; class/object participants; participant collaborations; pattern consequences; implementation; sample code; known uses; and related patterns.
www.moreread.com /it/archives/2002/12/07/24126.shtml   (304 words)

  
 GoF Design Pattern::Behavioral::Chain Of Responsibility
Although both the command and the memento pattern uses object as function arguments, command pattern relies heavily on polymorphism because executing a command is a polymorphic operation.
Although the pattern structure suggested by the GoF uses a receiver to carry out the operation associated with the command, but there is no restriction to encapsulate these operations locally inside the command object (i.e.
Chain of Responsibility, observer, mediator), Command pattern decouples the sender of the command from the receiver via the use of the command object.
pages.cpsc.ucalgary.ca /~chi/SENG/609_04/CommandSummary.html   (304 words)

  
 Strategy pattern
See also: Facade memento strategy[?], Design patterns, Explicit strategy pattern[?], State pattern
The strategy pattern is a particular software design pattern.
With these it was thought As the common people expressed themselves, the net was not spread on in a still more wretched quibble, transposed two letters of the word.
www.termsdefined.net /st/strategy-pattern.html   (304 words)

  
 Memento Design Pattern
The Memento design pattern externalizes and records the internal state of an object so that it is possible to restore the object to its state later.
The Memento pattern should be used whenever the internal state of an object may need to be restored at a later time (Gamma et al, 1995).
It is possible to use the Memento design pattern in the Concept Mapping application assignment given to the University of Calgary Software Engineering 443 class in the Winter 2002 semester by professor Rob Kremer.
sern.ucalgary.ca /courses/SENG/443/W02/assignments/Memento   (304 words)

  
 GoF Design Pattern::Behavioral::Chain Of Responsibility
Although both the command and the memento pattern uses object as function arguments, command pattern relies heavily on polymorphism because executing a command is a polymorphic operation.
Chain of Responsibility, observer, mediator), Command pattern decouples the sender of the command from the receiver via the use of the command object.
Although the pattern structure suggested by the GoF uses a receiver to carry out the operation associated with the command, but there is no restriction to encapsulate these operations locally inside the command object (i.e.
pages.cpsc.ucalgary.ca /~chi/SENG/609_04/CommandSummary.html   (543 words)

  
 memento
In other words, if you see how a set of patterns are the same in terms of how they are programmed, does that help you to understand when to apply them to a design?
However, in the Chain, requests are sent to the first object in the chain and be passed one by one.
In the Chain of Responsiblity, the request is passed along the chain until one object handles it.
www.cs.unc.edu /~yanghua/chain.html   (224 words)

  
 Microsoft Visual Basic .NET Programmer's Cookbook ISBN: 0-7356-1931-X
4.12 Perform Selective Serialization with the Memento Pattern 135
1.20 Replace All Occurrences of a Pattern in a String 32
1.19 Find All Occurrences of a Pattern in a String 30
www.stolin-software.com /04booklist/0-7356-1931-X.html   (224 words)

  
 Ticket to The Beatles last concert - January 16, 1997
His view of the whirlwind tour is unique, however, it lapses into a formulaic pattern of fan interviews, newspaper clips, and ticket reprints- which were, of course, horrendously expensive at $5.50.
The book is a fine memento for Beatles fans, however.
Apart from the gee-wasn't-it-great undertone, Tashian's main contention is that this tour finished the Beatles as a live band due to one particularly well-publicized quote just prior to the tour: John Lennon's comment that the Beatles were more popular than Jesus.
wildcat.arizona.edu /~wildcat/papers/90/77/37_1_m.html   (224 words)

  
 Unix KornShell memento
; commandN;; esac where : value value of a variable pattern any constant, pattern or group of pattern command name of any program, shell script or ksh statement example 1 : case $advice in [Yy][Ee][Ss]) print "A yes answer";; [Mm]*) print "M followed by anything";; +([0-9)) print "Any integer...";; "oui"
There are some variables which are set internally by the shell and which are available to the user:
- In a script shell : # : all text that follow it up the newline is a comment \ : if it is the last char on a line, signals a continuation line qui suit est la continuation de celle-ci
cdfinfo.in2p3.fr /Services/Informatique/DOCU/munix.html   (224 words)

  
 Unix KornShell memento
; commandN;; esac where : value value of a variable pattern any constant, pattern or group of pattern command name of any program, shell script or ksh statement example 1 : case $advice in [Yy][Ee][Ss]) print "A yes answer";; [Mm]*) print "M followed by anything";; +([0-9)) print "Any integer...";; "oui"
There are some variables which are set internally by the shell and which are available to the user:
- In a script shell : # : all text that follow it up the newline is a comment \ : if it is the last char on a line, signals a continuation line qui suit est la continuation de celle-ci
cdfinfo.in2p3.fr /Services/Informatique/DOCU/munix.html   (224 words)

  
 Open Directory - Science: Biology: Sociobiology: Memetics
Memetics - A meme is a cognitive or behavioral pattern that can be transmitted from one individual to another one.
Memento - The home page of the open source Memento project - a lightweight knowledge management system based on the principles of memetics.
Memetics and Synthetic Intelligence Discussion Corner - Discussions of the quantitative analysis of cultural transfer, with focus on creativity, memes, replicators, language, ideas, evolution, computers, viruses, knowledge, artificial intelligence, brain and the mind.
dmoz.org /Science/Biology/Sociobiology/Memetics   (557 words)

  
 The Northumberland Tartan Company
It is not widely known that the county of Northumberland has an official tartan and moreover that this tartan is held by many to be one of the oldest check patterns, predating the more colourful Highland tartans which followed it.
Many very old shepherd's plaids remain as treasured heirlooms in Northumberland homes and farmhouses to this day and it is still possible to obtain the Northumberland tartan as a memento of the heritage of our wonderful county of Northumberland.
Textile historians have been able to date a fragment of the pattern, discovered in a bottle near Falkirk, to the 3rd century A.D. thus leading to the belief that the pattern was known as far back as Roman times.
www.northumberlandtartan.co.uk /history.html   (297 words)

  
 edjez's WebLog : CAB - Composite UI Application Block Ready to Kick Off!
There are many patterns that help here like MVC, Application Controller, BlackBoard, Memento, Service Locator and so on.
Further to my recent post on the composite smart client pattern, I am happy to announce that Microsoft...
Explaining CAB Plans is better left for eugeniop (our product manager), all I'll say for the moment is that we want to have a technical preview hopefully before august, based on VS.NET 2005 Beta 2 so you can play with it.
blogs.msdn.com /edjez/archive/2005/04/18/CAB1Kickoff.aspx   (916 words)

  
 Future of Stickies — Portal
One approach that we'll probably pursue in the interest of flexibility is to make the issue of sticky placement be handled with a Memento design pattern.
To make stickies as useful as possible in as wide a variety of applications and settings as possible with as little per-application customization as possible needed (preferably none), extensibility will be key.
just storing the selected phrase with the sticky and having it search for that text and attach itself to it in javascript isn't very robust; eg, if someone selects "the" to attach a sticky to, we'd need more information to know which occurrence of "the" on the page is the one that we want.
mrenoch.objectis.net /collab/stickies/FutureOfStickies   (1691 words)

  
 Boy Scouts of America SFBAC San Francisco Bay Area Council
But remember that the earning of a patch should not be the reason for completing a hike; rather, a Trekkers patch should be a memento to show that one has enjoyed a family scouting event.
When worn on a patch vest or jacket, the basic Trekkers patch is surrounded by smaller hike patches, showing an ever-growing pattern of fun.
The Trail Trekkers Booklet was assembled by a dedicated group of Scouting volunteers from the San Francisco Bay Area Council, June 1993.
www.sfbac.org /activities/act_trailtrekkers.cfm   (2256 words)

  
 CDuce memento
; it applies a set of pattern matching branches to each element of a sequence of returns the sequence of results.
: accepts values that both patterns accept (they must have disjunct sets of capture variable).
There is a natural notion of subtyping, which corresponds to set inclusion.
www.eleves.ens.fr /home/frisch/cduce_memento   (2256 words)

  
 Memento Mori, The Cemetery
The pattern at Mount Auburn was repeated in nearly all of the cemeteries that followed.
Mount Auburn, founded in 1831, was not a public cemetery, but a private, non-profit organization that sold lots by subscription.
The response of the American people to rural cemeteries was in fact one of the principal catalysts in the crusade to establish public parks that began in the middle of the nineteenth century.
time.arts.ucla.edu /terminals/t1/ucr/memento_mori/cemetery.html   (2730 words)

  
 Mint Sets, Morgan Silver Dollars, Silver Proof Sets, Coin Values - Golden Eagle Coins
Modern Commemoratives - Modern commemoratives have followed the pattern of the early commemorative coins as being a great collectible and a great memento for events in United States history.
Silver eagles - American Silver Eagles are the modern day silver dollar and feature the lady walking liberty design that some have called the most beautiful coin design ever struck.
These coins are widely collected and Silver Eagles are a great investment in Silver Bullion.
www.goldeneaglecoin.com   (467 words)

  
 Advanced form processing using JSP
In this article, Govind examines the processing of a user registration form using JSP and JavaBeans while implementing the Memento design pattern.
Apart from the fact that JSP is a fairly new technology, many view it as being suitable mostly for handling the presentation of dynamic content sourced from either JavaBeans or servlets.
JSP is all about facilitating the separation of presentation from dynamic content.
www.javaworld.com /javaworld/jw-03-2000/jw-0331-ssj-forms.html   (467 words)

  
 Jack Clayton - Wikipedia, the free encyclopedia
Clayton followed with the classic ghost story The Innocents (1961), based on Henry James The Turn of the Screw, then laid back for several years, establishing a pattern he followed thereafter.
He reteamed with Smith in 1992 for a television film, Memento Mori, which he also co-wrote.
Jack Clayton (March 1, 1921–February 26, 1995) was a British film director who specialised in bringing literary works to the screen.
en.wikipedia.org /wiki/Jack_Clayton   (283 words)

  
 ONDotnet.com: Object Serialization with the Memento Pattern
object of the originator by passing the memento object obtained from the deserialization.
method instantiates a memento object, copies all of the states that need to be persisted to the memento object, and then returns the memento object.
Serializing the whole object will require greater space than necessary, not to mention that it will take more time to serialize it and later retrieve it.
www.ondotnet.com /pub/a/dotnet/2002/09/09/memento.html   (283 words)

  
 JOHN J. FORD, JR. LIBRARY SALE NEWS AND UPDATES
The Battle of the Ironclads: a remarkable Civil War Memento from the Commander of the Monitor, Rear Admiral John Lorimer Worden, comprising a Leather-Bound Presentation volume to his cousin containing works and papers concerning the engagement of the Monitor and the Merrimac
The original 1909 letter/invoice from John W. Haseltine to William H. Woodin, establishing the date acquired and the price paid by William H. Woodin for the unique set of controversial United States $50 gold pattern coins which now reside in the national collection
JOHN J. The landmark public auction sale of the John J. Ford, Jr.
www.numislit.com /fordupdate.html   (5338 words)

  
 Orders, Medals and Badges for Wounded and Next-of-Kin
A bow in the same pattern as the ribbon were awarded for combat wounds and were found on at least 11 medals from 1860 to 1904.
The Memorial Cross, the gift of Canada, was issued as a memento of personal loss and sacrifice on the part of widows and mothers of Canadian sailors and soldiers who died for their country during the war.
The ribbon is 40 mm in 3 equal stripes of blue, white, blue with narrow stripes of black, red and green on the white stripe (Zabarylo).
www.geocities.com /Athens/Acropolis/3456   (5338 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.