24

Sencha Plugins & Tools

Embed Size (px)

Citation preview

Page 1: Sencha Plugins & Tools
Page 2: Sencha Plugins & Tools

Stefan Stölzle

Sr. Solutions Engineer, Asia Pacific

[email protected]

@me_stoe

Sencha Plugins & Tools

Page 3: Sencha Plugins & Tools

Sencha IDE Plugins

Page 4: Sencha Plugins & Tools

Supports Ext JS 4+ & Touch 2+ (non-minified versions)

Supports commercial JetBrains IDEs (IntelliJ 14.1, WebStorm 10, etc...)

No additional dependencies

Works with custom classes and overrides in addition to framework

No update required when upgrading the framework

JetBrains IDE Plugin

Page 5: Sencha Plugins & Tools

Code Completion

Code Inspection

Refactoring

Template Creation

Code Navigation

Code Generation

Spellchecking

JetBrains IDE Plugin – Features

Page 6: Sencha Plugins & Tools

Configs

Methods

Properties

Class Mames

xtypes

Event Names

CSS Classes

Stores

Models

View Controllers

View Models

Layouts

View References

Controller Methods

JetBrains IDE Plugin – Code Completion

Page 7: Sencha Plugins & Tools

Manages requires/uses arrays

Flags references to unknown classes and aliases

Flags classes when names do not match directory structure or file names

Flags references to missing controller methods referenced in view components

Provides quick fixes for all of the above

JetBrains IDE Plugin – Code Inspection

Page 8: Sencha Plugins & Tools

Move file/class – automatically keeps namespace in sync with directory structure

Rename file/class – automatically keeps class name in sync with file name

JetBrains IDE Plugin – Refactoring

Page 9: Sencha Plugins & Tools

Classes

Views

View Models

View Controllers

Models

Controllers

Stores

JetBrains IDE Plugin – Template Creation

Page 10: Sencha Plugins & Tools

Demo

Page 11: Sencha Plugins & Tools

One more thing …

Page 12: Sencha Plugins & Tools

One more thing …

Page 13: Sencha Plugins & Tools

Fashion

Page 14: Sencha Plugins & Tools

Accelerates building Ext JS 6 applications and themes

Near real-time WYSIWYG theming

Eliminates Ruby dependency

Fashion

Page 15: Sencha Plugins & Tools

JavaScript-based theme compiler based on Sass and Compass

JavaScript API for writing custom functions

Compiles *.scss files and passes much of the “sass-spec”

Language extensions to enable tooling

Fashion

Page 16: Sencha Plugins & Tools

Compiler produces a JavaScript function

@mixin ($foo, $bar) {

@if $foo {

@debugger;

}

...

}

Fashion

Page 17: Sencha Plugins & Tools

Demo

Page 18: Sencha Plugins & Tools

Sencha Inspector

Page 19: Sencha Plugins & Tools

Debugging Sencha Apps

Inspect Component Tree

Inspect Data Stores

Inspect Layouts

Inspect Events

Inspect MVC

Sencha Inspector

Works on Sencha’s Object Model, not the Rendered DOM

Page 20: Sencha Plugins & Tools

Inspect Themeing

Modify SASS

Live in Browser

Sencha Inspector

Page 21: Sencha Plugins & Tools

Works on*

Sencha Inspector

* requires  setup

Page 22: Sencha Plugins & Tools

Demo

Page 23: Sencha Plugins & Tools

Win a WebStorm Personal License

Page 24: Sencha Plugins & Tools

Q & A