You are not logged in Log in Join
You are here: Home » Resources » Mozilla » ZWiki » UseCases

Log in
Name

Password

 
 

History for UseCases

??changed:
-
UseCases

  The actual requirement scenarios.

  SiteDeveloper

    1. Create a new Zope Object
    
      Goal
      
        Create new Zope Objects
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server, and a Folderish location
        within that server.
      
      Trigger
  
        SiteDeveloper wants to create a Zope Object
      
      Main Success Scenario    
  
        1. SiteDeveloper chooses a Zope object from a presented list
  
        1. SiteDeveloper gives a set of initial values for the object
  
        1. ZopeStudio asks the Zope server to create the object with the
           initial values given
  
        1. SiteDeveloper starts editing the newly created object.
  
  
    1. Edit a Zope Object
    
      Goal
      
        Edit Zope Objects
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server
  
      Trigger
  
        SiteDeveloper wants to edit an object, or has just created a 
        new object (which starts him at the second step)
  
      Main Success Scenario
  
        1. SiteDeveloper indicates object to be edited.
  
        1. ZopeStudio retrieves description of the object from the Zope server.
  
        1. SiteDeveloper makes changes to local description of object.
  
        1. SiteDeveloper indicates it wants to save the changes.
  
        1. ZopeStudio instructs the Zope server to store the object description.
        
     Extensions
     
        - 1a SiteDeveloper indicates it wants to edit object in external editor.
        
          - 2a ZopeStudio opens external editor with local description object.
  
        - 4 SiteDeveloper indicates that it wants to cancel the changes.
  
           - 5 ZopeStudio retrieves a new object description from the Zope Server.
         
    1. View a Zope Object
    
      Goal
      
        Test Zope Objects or Debug Zope Objects
        
      Precondition
      
        SiteDeveloper has indicated a Zope Server
        
      Trigger
      
        SiteDeveloper wants to view an object, to see what it would look like
        
      Main Success Scenario
      
        1. SiteDeveloper indicates object to be viewed
        
        1. ZopeStudio instructs the Zope server to render the object
        
        1. ZopeStudio shows rendering
        
      Extensions
      
        - 1a SiteDeveloper gives extra request information, like form data.
        
    1. Add a property
  
      Goal
  
        Manage properties on Zope Objects
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server and a Zope object, ZopeStudio
        has retrieved the object description.
  
      Trigger
  
        Zope developer wishes to add a property to a Zope object
  
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server and a Zope object, ZopeStudio
        has retrieved the object description.
  
      Trigger
  
        Zope developer wishes to add a property to a Zope object
  
      Main Success Scenario
  
        1. SiteDeveloper selects object property type to add.
  
        1. ZopeStudio adds a property of the selected type to the local
           description of object with default value.
  
        1. SiteDeveloper changes default value of new property.
  
        1. SiteDeveloper indicates it wants to save the changes.
  
        1. ZopeStudio instructs the Zope server to store the objetc description.
  
      Extensions
  
        - 4 SiteDeveloper indicates that it wants to cancel the changes.
  
          - 5 ZopeStudio retrieves a new object description from the Zope Server.
  
    1. Remove one or more properties
  
      Goal
  
        Manage properties on Zope Objects
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server and a Zope object, ZopeStudio
        has retrieved the object description.
  
      Trigger
  
        Zope developer wishes to remove one or more properties from a Zope object
  
      Main Success Scenario
  
        1. SiteDeveloper selects object properties to remove.
  
        1. ZopeStudio removes the properties from the local description of object.
  
        1. SiteDeveloper indicates it wants to save the changes.
  
        1. ZopeStudio instructs the Zope server to store the object description.
  
      Extensions
  
        - 4 SiteDeveloper indicates that it wants to cancel the changes.
  
          - 5 ZopeStudio retrieves a new object description from the Zope Server.
  
    1. Change a property
  
      Goal
  
        Manage properties on Zope Objects
  
      Precondition
  
        SiteDeveloper has indicated a Zope Server and a Zope object, ZopeStudio
        has retrieved the object description.
  
      Trigger
  
        Zope developer wishes to change a property on a Zope object
  
      Main Success Scenario
  
        1. SiteDeveloper selects object property to change.
        
        1. SiteDeveloper indicates value for property.
  
        1. ZopeStudio changes the value of the property in the local description
           of object.
  
        1. SiteDeveloper indicates it wants to save the changes.
  
        1. ZopeStudio instructs the Zope server to store the objetc description.
  
[133 more lines...]