Changes between Initial Version and Version 1 of FDORfc22


Ignore:
Timestamp:
06/25/08 14:23:13 (16 years ago)
Author:
brucedechant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc22

    v1 v1  
     1= !MapGuide RFC 22 - Enhance expression engine concat function =
     2
     3This page contains a change request (RFC) for the !MapGuide Open Source project. 
     4More !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)||Greg Boone||
     17||'''Voting History'''|| ||
     18||+1|| ||
     19||+0|| ||
     20||-0|| ||
     21||-1|| ||
     22 
     23== Overview ==
     24
     25This RFC is for adding an additional syntax to the concat function of the expression engine.
     26
     27== Motivation ==
     28
     29The 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
     33The proposed solution is to add support for an additional syntax to the concat function.
     34
     35Old syntax:
     36{{{
     37concat('Parcel ID: ', concat( PID , concat('\nOwner Name: ', concat( OWNER_NAME , concat('\nAddress: ',  SITE_ADDR )))))
     38
     39}}}
     40
     41New syntax:
     42{{{
     43concat('Parcel ID: ', PID , '\nOwner Name: ', OWNER_NAME, '\nAddress: ', SITE_ADDR )
     44
     45}}}
     46
     47The new syntax will consist of a comma delimited list of concatenation items.
     48
     49== Implications ==
     50
     51The existing concat function syntax will continue to be supported in addition to the new syntax.
     52
     53== Test Plan ==
     54
     55Test that the existing and new concat function syntax work.
     56
     57== Funding/Resources ==
     58
     59None at this time.