Changes between Version 10 and Version 11 of calculator_contract

Show
Ignore:
Timestamp:
11/07/07 08:45:52 (6 years ago)
Author:
dtea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • calculator_contract

    v10 v11  
    4242 * '''Step 3''' : 
    4343Now, we have to define methods of our observer. [[BR]] 
    44 There is two attributs for tag method :  
     44There is two attributs for marker ''method'' :  
    4545 * name : GET or POST. 
    4646 * id : method's key name. We'll use this id in observer.rdf. 
    4747In our case, there is just one method. It takes 3 parameters (of which two are optional).[[BR]] 
    4848 * uri : path of a file which contains some simple arithmetic operations. 
    49  * x2 : it's a complex type to multiply results by 2. We'll describe this more in details later. 
    50  * xn : to multiply results by n. 
     49 * x2 : (optional) it's a complex type to multiply results by 2. We'll describe this more in details later. 
     50 * xn : (optional) to multiply results by n. 
    5151 
    5252{{{ 
     
    6464Only two values are possible for this parameter : 0 or 1.[[BR]] 
    6565If 1, results will be multiply by 2.[[BR]] 
    66 So, we are going now to definie a schema for our new type "tX2". 
     66So, we are going now to definie a schema for our new type "tX2", before ''resources'' marker. 
    6767{{{ 
    6868