Skip to content

Instantly share code, notes, and snippets.

@rxaviers
Created November 8, 2012 12:32
Show Gist options
  • Save rxaviers/4038528 to your computer and use it in GitHub Desktop.
Save rxaviers/4038528 to your computer and use it in GitHub Desktop.
jQueryUI DB - Multiple release versions

Effort estimation plan (aka guess)

frontend

  • show multiple versions; 1h πŸ‘
  • handle different components list per different jQueryUI version; 4h πŸ‘

backend:

  • grunt prepate: 4h πŸ‘
    • instead of getting user input, read config file and prepare all jQueryUI versions presented there;
    • iterate over all config-jQueryUI-versions on {checkout, install, build, copy};
  • grunt build:
    • iterate over all config-jQueryUI-versions; 1h πŸ‘
  • release model (lib/release.js): 1h πŸ‘
    • check if all config-jQueryUI-versions have been prepared;
    • other than that: done;
  • builder model (lib/builder.js):
    • cache the files of all releases; 4h πŸ‘
    • parameterize #build and #writeTo with 'version'; 2h πŸ‘
    • error handling: catch wrong components; 1h πŸ‘
  • DB controller (download.js) 1h πŸ‘
    • pass all config-jQueryUI-versions to renderer;
    • pass new variable 'version' to build;
  • unit test
    • iterate over all config-jQueryUI-version; 3h πŸ‘

Issues

backend:

  • grunt prepare:
    • figure out how to map: documentation vs. jQueryUI version; 3h πŸ‘

Total

Total effort estimation: 25h (1w in a 5h/d basis)

Premises

  • ThemeRoller will show all the components of the latest UI version;
  • Although on different versions we may add components, its file structure will remain the same. If we change anything from one place to another or any naming scheme, this might brake builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment