Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

HELP! Need to upgrade JavascriptMVC 2.0 to 3.3

$
0
0
Hi,

We have a very old web application with legacy code that uses JavaScript MVC 2.0.  We are not very familiar with the code or with JavaScriptMVC. 

We need to upgrade to a version of JavaScript MVC that uses a newer version of jQuery.  JavaScriptMVC 2.0 appears to based on jQuery 1.4.4.  This is a problem for us because:
  1. jQuery 1.4.4 is too old for the Migrate plugin (that goes back to 1.6.4) 
  2. We are guessing that JavaScript MVC 2.0 is incompatible with jQuery 1.6.4
  3. jQuery 1.4.4 is preventing us from introducing new third-party components

From what I have seen of your documentation, the following appear to be true:
  1. The 2.0 version's Model, Controller etc classes are now implemented by CanJS in JavaScript MVC 3.3.
    1. include.js has been replaced by steal.js, which uses a completely different configuration that is incompatible with include.js.
    2. JavaScript MVC 3.3 is the only version that uses JQuery 1.9.1.
    3. JavaScript MVC 3.3 is a major upgrade from even JavaScriptMVC 3.0.5.
    4. JavaScript MVC 3.0.5 uses jQuery 1.4.4.
    5. JavaScript MVC 3.3 is not backwards compatible with JavaScriptMVC 3.0.5.
    6. This article on how to upgrade from 2.0 to 3.0 is out of date:  
      https://docs.google.com/document/pub?id=1r-Ow27Npye_qvbqdKLIslQsysYOhA43eNHeqIKQ0-jg
      1. For example, steal.resources no longer works.
    Can you help us with the following:
    1. Has anyone done this upgrade?  Are any instructions available?
    2. Is there a version of JavaScriptMVC that uses jQuery 1.6.4 and would be easier to upgrade to?  I.e. there is good documentation for the upgrade?

    Please help!!!  Thanks!!!!

    yours
    Simon Rakov






    Viewing all articles
    Browse latest Browse all 3491

    Trending Articles