Changes between Version 3 and Version 4 of MapGuideRfc19
- Timestamp:
- 03/08/07 13:18:10 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc19
v3 v4 33 33 == Motivation == 34 34 35 There needs to be someway for a client to be able to identify the version it is so that the web tier and server can properly communicate with it. This proposal hopes to add some form of forwards/backwards compatibility to MapGuide in order to solve this.35 There needs to be a way for a client to be able to identify the version it is so that the web tier and server can properly communicate with it. By knowing the client version the web tier and server will be able to process the appropriate operation version and use the appropriate schema version. This will allow the web tier and server to server both old and new clients and for new clients to connect to an older web tier and server. This proposal hopes to add some form of forwards/backwards compatibility to MapGuide in order to solve this. 36 36 37 37 == Proposed Solution == 38 38 39 Client Changes: 39 A new HTTP parameter "CVER" needs to be added to all HTTP requests. This new parameter will be used to identify the client version. 40 The new HTTP parameter has the following format: 40 41 41 Clients like MapGuide Studio will need to add the following HTTP parameter: 42 43 CVER=MajorVersion.MinorVersion 42 MajorVersion.MinorVersion 44 43 45 44 Example: … … 47 46 CVER=1.2 48 47 49 The web tier and server will be able to use this information in order to do the operation that uses that version. This will allow schema changes to take place and for multiple versions of the schema to be supported because the client tells us what version it is and therefore what schema version it supports.48 The web tier and server will be able to use this information in order to do the operation that supports the specified client version. This will allow schema changes to take place and for multiple versions of the schema to be supported because the client tells us what version it is and therefore what schema version it supports. 50 49 51 This solution only helps with newer releases of MapGuide as existing releases will not contain this forwards/backwards compatibility logic. However, the web tier/server will assume that if a CVER is not included in the HTTP operation that it is an older client and to use the oldest supported version of the operation.50 This solution only helps with newer releases of MapGuide as existing releases will not contain this forwards/backwards compatibility logic. However, the web tier/server will assume that if the HTTP parameter "CVER" is not included in the HTTP request that it is an older client and to use the oldest supported version of the operation and appropriate schema version. 52 51 53 The web tier and server must always be the same version because there could be changes to the TCP/IP protocol between them that could cause them to no longer comuunicate. There is already logic in place to identify this i 52 Currently, the web tier and server must always be the same version because there have been changes to the TCP/IP protocol between them that if different versions are used will cause them to no longer communicate with each other. There is already logic in place to identify this if mismatched web tier and server versions are used. 54 53 55 54 == Implications == 56 55 57 The web tier and server will now be able to recognize clients and will be able to give the proper response, as long as, they support the version of the client.56 The web tier and server will now be able to recognize different client versions and will be able to give the proper response, as long as, they support the version of the client. 58 57 59 58 == Test Plan ==