Changes between Version 12 and Version 13 of MapGuideRfc50


Ignore:
Timestamp:
Jun 25, 2008, 2:23:41 PM (16 years ago)
Author:
brucedechant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc50

    v12 v13  
    1 = !MapGuide RFC 50 - Enhance expression engine concat function =
    2 
    3 This page contains a change request (RFC) for the !MapGuide Open Source project. 
    4 More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page.
    5 
    6 
    7 == Status ==
    8  
    9 ||RFC Template Version||(1.0)||
    10 ||Submission Date|| June 25, 2008 ||
    11 ||Last Modified|| Bruce Dechant [[Timestamp]]||
    12 ||Author||Bruce Dechant||
    13 ||RFC Status||draft||
    14 ||Implementation Status||draft||
    15 ||Proposed Milestone||2.1||
    16 ||Assigned PSC guide(s)||Bruce Dechant||
    17 ||'''Voting History'''|| ||
    18 ||+1|| ||
    19 ||+0|| ||
    20 ||-0|| ||
    21 ||-1|| ||
    22  
    23 == Overview ==
    24 
    25 This RFC is for adding an additional syntax to the concat function of the expression engine.
    26 
    27 == Motivation ==
    28 
    29 The existing concat function syntax is difficult to work with when multiple concatenations need to be done. It requires the concat functions be nested whenever a new item needs to be concatenated.
    30 
    31 == Proposed Solution ==
    32 
    33 The proposed solution is to add support for an additional syntax to the concat function.
    34 
    35 Old syntax:
    36 {{{
    37 concat('Parcel ID: ', concat( PID , concat('\nOwner Name: ', concat( OWNER_NAME , concat('\nAddress: ',  SITE_ADDR )))))
    38 
    39 }}}
    40 
    41 New syntax:
    42 {{{
    43 concat('Parcel ID: ', PID , '\nOwner Name: ', OWNER_NAME, '\nAddress: ', SITE_ADDR )
    44 
    45 }}}
    46 
    47 The new syntax will consist of a comma delimited list of concatenation items.
    48 
    49 == Implications ==
    50 
    51 The existing concat function syntax will continue to be supported in addition to the new syntax.
    52 
    53 == Test Plan ==
    54 
    55 Test that the existing and new concat function syntax work.
    56 
    57 == Funding/Resources ==
    58 
    59 None at this time.
     1Empty