by Administrator
22. October 2009 22:30
With the latest release of WebSync On-Demand comes a new client versioning system. We want you to always have access to the latest copy with the most recent enhancements and fixes, but still allow you to choose when and how you release it into your application.
A typical client script would look something like:
<script src="http://sync.frozenmountain.com/client.js" type="text/javascript"></script>
This will always return the most recent copy of the JavaScript client with the latest fixes.
To target a specific version of the client, simply update the query string to include the version number.
<script src="http://sync.frozenmountain.com/client.js?v=2.4.1" type="text/javascript"></script>
The "v" parameter stands for "version" and can be used to download a specific client version. For production applications, you may want to include the version as a matter of habit. We do our very best to ensure that 100% backwards compatibility is maintained, but integration in browsers can sometimes do interesting things, especially when multiple frameworks/scripts are merged together into the same page. When a newer version arrives, you can then run your application in a test environment with the latest copy to iron out any potential conflicts before pushing it out to your clients.