SmartIT UC Team Pitstop Results

Vladlen Goriachko

JsHint and JSCS validators for webstorm IDE and gruntJS build tool

Problem

  • Code Styles as a Confluence Page
  • Different IDE
  • Different developers code writing styles
  • Mess of styles in a code + potential errors
  • Real need for unification

Solution

  • JSHint - code validator for early bug detection
  • JSCS - code style checker
  • Integrated into development flow
  • Encourage all team to enable and use

Results

  • ~50 errors in code (0 now)
  • ~1900 warnings (~50 now)
  • Everyone can contribute to eliminate them
  • Code style became a part of dev flow, not only confluence page

Dmytro Novosad

CKEditor styling according to UXD recommendations

Problem

  • CKEditor powerful but ugly looking
  • Restyling was out of scope
  • UX mocks were ready

Results

  • New flat styling
  • Modern look
  • Improved user impression
  • Already in build and released

Before

After

Viktor Shevchenko

Using lightweight nodeJS http server instead of heavy Tomcat

Problems:

  • Local Tomcat and remote AR communication was super slow (25-40 sec per request)
  • Downloading war file 15-30 min
  • Difficult to configure
  • Difficult to switch remote ARs
  • ~5min to start
  • Switching focus

UC devs were waiting for data too long

Solution

  • Launch of local nodeJS http server was integrated into dev building procedure 
  • Proxing of request to any test env was introduced
  • Static files are fetched by NHS from your local drive
  • Data is fetched from test env

Benefits

  • Longest request 3 - 5 sec, up to 5 times faster
  • No need to download war file, test env is used(dayly updates)
  • grunt dev-server:test2 - specify only test env you want to proxy
  • Server startup 3sec, easy to switch
  • Developrs can now concentrate on working tasks
  • Real booster fot UC Devs coding speed

Cons

  • In case of parallel client and back end development, backend (war file) needs to be updated on a server manually

Future?

Ideas

  • Introduce nested views - Performance boost
  • Template lazy loading - Speed increase
  • Follow UXD DPL guidelines - Improve look and feel
  • Introduce 'Responsive' UI - Broader device support

Thank you!

Questions?

Made with Slides.com