Sencha Extjs Download
Sencha's Ext JS Classic Grid Performance Benchmark Tests JavaScript MIT 1 3 2 0 Updated May 23, 2020. Sandbox-ewc-travis-aws JavaScript 0 0 0 0 Updated May 1, 2020. Sencha extjs free download. 4WS.Platform This RAD platform allows to quickly develop web and mobile applications without any coding task.
Contents
Terms, Icons, and LabelsAccess LevelsMember TypesMember SyntaxMember FlagsClass IconsMember IconsNavigation and FeaturesClass Member Quick-Nav MenuGetter and Setter MethodsHistory BarSearch and FiltersAPI Doc Class MetadataExpanding and Collapsing Examples and Class MembersDesktop -vs- Mobile ViewViewing the Class SourceTerms, Icons, and Labels
Many classes have shortcut names used when creating (instantiating) a class with a configuration object. The shortcut name is referred to as an alias
(or xtype
if the class extends Ext.Component). The alias/xtype is listed next to the class name of applicable classes for quick reference.
Access Levels
Framework classes or their members may be specified as private
or protected
. Else, the class / member is public
. Public
, protected
, and private
are access descriptors used to convey how and when the class or class member should be used.
Public classes and class members are available for use by any other class or application code and may be relied upon as a stable and persistent within major product versions. Public classes and members may safely be extended via a subclass.
Protected class members are stable
public
members intended to be used by the owning class or its subclasses. Protected members may safely be extended via a subclass.Private classes and class members are used internally by the framework and are not intended to be used by application developers. Private classes and members may change or be omitted from the framework at any time without notice and should not be relied upon in application logic.
Member Types
- Config - The configuration options for a class.
- Property - Set once a class is instantiated. *See Read Only below.
- Method - Actions that can be performed by a class. Methods should be read as instance methods and can only be called from a instance of a given class. Static methods that can be called directly from the class itself will have a
static
label next to the method name. *See Static below. - Event - Events are specific to the framework event system allowing for classes to programmatically raise an event to be handled by one or more event handler methods. DOM events, while handled by the framework event system, are not specifically described within the API documentation. *For DOM events refer to the event reference page from MDN.
- Theme Variable - Variables used by the visual theme engine employed by the framework.
- Theme Mixin - Functions used by the visual theme engine employed by the framework and may use values set in various Theme Variables.
Member Syntax
Below is an example class member that we can disect to show the syntax of a class member (the lookupComponent method as viewed from the Ext.button.Button class in this case).
Called when a raw config object is added to this container either during initialization of the items config, or when new items are added), or {@link #insert inserted.
This method converts the passed object into an instanced child component.
This may be overridden in subclasses when special processing needs to be applied to child creation.
item : Object
The config object being added.
Ext.ComponentThe component to be added.
Let's look at each part of the member row:
- Expand/Collapse - On the left-hand size of the member row is a control used to expand and collapse each member row to show / hide member details.
- Member Name - The name of the class member (
lookupComponent
in this example) - Method Param - Any required or optional params used by a method (or passed to an event handler method) will be listed next to the method name within parenthesis (
( item )
in this example) - Return type - The class instance or javascript object returned by the method or property (
Ext.Component
in this case). This may be omitted for methods that do not return anything other thanundefined
or may display as multiple possible values separated by a forward slash/
signifying that what is returned may depend on the results of the method call (i.e. a method may return a Component if a get method calls is successful orfalse
if unsuccessful which would be displayed asExt.Component/Boolean
). - Flags - Any flags applicable to the member will be displayed next (
PROTECTED
in this example - see the Flags section below) - Member Origin - On the right-hand side of the member row is the class where the member was initially described (
Ext.container.Container
in this example). The source class will be displayed as a blue link if the member originates from the current class and gray if it is inherited from an ancestor or mixed-in class. - Member Source - On the right-hand side below the member origin class is a link to view the member's source (
view source
in the example) - Params List - Each param for a class method will be listed using the same name found above in parenthesis, the type of class or object expected, and a description of the param (
item : Object
in the example). - Returns - If a class returns a value other than
undefined
a 'Returns' section will note the type of class or object returned and a description (Ext.Component
in the example) - Since (not shown in the example) - Some members will show which version of the product the member was first introduced (i.e.
Available since 3.4.0
- not pictured in the example) just after the member description - Default (not shown in the example) - Configs often show the default config value to be applied to a class instance if not overridden (i.e.
Defaults to: false
)
Member Flags
The API documentation uses a number of flags to further commnicate the class member's function and intent. The label may be represented by a text label, an abbreviation, or an icon.
- Required - Required config when instantiating a class
- Bindable - The config has a setter which allows this config to be set via ViewModel binding
- Read Only - The property may be read, but cannot be used to configure / re-configure a class instance at runtime
- Singleton - Singleton classes are instantiated immediately once defined and may not be instantiated manually
- Static - A static method or property is a method or property belonging to the class itself, not an instance of the class
- Chainable - Refers to methods that return the class instance back when called.
This enables chained method calls like:classInstance.method1().method2().etc();
- Deprecated - A class or member that is scheduled for removal in a future framework version and is provided in the current version for backwards compatibility.
Deprecated classes and members will have a message directing you to the preferred class / method going forward. - Removed - A removed class or member that exists in documentation only as a reference for users upgrading between framework versions
- Template - A method defined within a base class designed to be overridden by subclasses
- Abstract - A class or member may be be defined as abstract. Abstract classes and members establish a class structure and provide limited, if any, code. Class-specific code will be furnished via overrides in subclasses.
- Preventable - Events marked preventable will not fire if
false
is returned from an event handler
Class Icons
- Indicates a framework class
- A singleton framework class. *See the singleton flag for more information
- A component-type framework class (any class within the Ext JS framework that extends Ext.Component)
- Indicates that the class, member, or guide is new in the currently viewed version
Member Icons
- Indicates a class member of type config
- Indicates a class member of type property
- Indicates a class member of type method
- Indicates a class member of type event
- Indicates a class member of type theme variable
- Indicates a class member of type theme mixin
- Indicates that the class, member, or guide is new in the currently viewed version /angry-birds-hd-pc-collection-of-2012-serial-key.html.
Navigation and Features
Class Member Quick-Nav Menu
Just below the class name on an API doc page is a row of buttons corresponding to the types of members owned by the current class. Each button shows a count of members by type (this count is updated as filters are applied). Clicking the button will navigate you to that member section. Hovering over the member-type button will reveal a popup menu of all members of that type for quick navigation.
Getter and Setter Methods
Getting and setter methods that correlate to a class config option will show up in the methods section as well as in the configs section of both the API doc and the member-type menus just beneath the config they work with. The getter and setter method documentation will be found in the config row for easy reference.
History Bar
Your page history is kept in localstorage and displayed (using the available real estate) just below the top title bar. By default, the only search results shown are the pages matching the product / version you're currently viewing. You can expand what is displayed by clicking on the button on the right-hand side of the history bar and choosing the 'All' radio option. This will show all recent pages in the history bar for all products / versions.
Within the history config menu you will also see a listing of your recent page visits. The results are filtered by the 'Current Product / Version' and 'All' radio options. Clicking on the button will clear the history bar as well as the history kept in local storage.
If 'All' is selected in the history config menu the checkbox option for 'Show product details in the history bar' will be enabled. When checked, the product/version for each historic page will show alongside the page name in the history bar. Hovering the cursor over the page names in the history bar will also show the product/version as a tooltip.
Search and Filters
Both API docs and guides can be searched for using the search field at the top of the page.
On API doc pages there is also a filter input field that filters the member rows using the filter string. In addition to filtering by string you can filter the class members by access level, inheritance, and read only. This is done using the checkboxes at the top of the page.
The checkbox at the bottom of the API class navigation tree filters the class list to include or exclude private classes.
Clicking on an empty search field will show your last 10 searches for quick navigation.
API Doc Class Metadata
Each API doc page (with the exception of Javascript primitives pages) has a menu view of metadata relating to that class. This metadata view will have one or more of the following:
- Alternate Name - One or more additional class name synonymns (in Ext JS 6.0.0 the
Ext.button.Button
class has an alternate class name ofExt.Button
). Alternate class names are commonly maintained for backward compatibility. - Hierarchy - The hierararchy view lists the inheritance chain of the current class up through its ancestor classes up to the root base class.
- Mixins - A list of classes that are mixed into the current class
- Inherited Mixins - A list of classes that are mixed into an ancestor of the current class
- Requires - All classes required to be defined for the class to be instantiated
- Uses - A list of classes potentially used by the class at some point in its lifecycle, but not necessarily requried for the class to initially be instantiated
- Subclasses - Classes that extend the current class
Expanding and Collapsing Examples and Class Members
Runnable examples (Fiddles) are expanded on a page by default. You can collapse and expand example code blocks individually using the arrow on the top-left of the code block. You can also toggle the collapse state of all examples using the toggle button on the top-right of the page. The toggle-all state will be remembered between page loads.
Class members are collapsed on a page by default. You can expand and collapse members using the arrow icon on the left of the member row or globally using the expand / collapse all toggle button top-right.
Desktop -vs- Mobile View
Viewing the docs on narrower screens or browsers will result in a view optimized for a smaller form factor. The primary differences between the desktop and 'mobile' view are: Automatic driver download.
- Global navigation will be located in a menu on the left-hand side accessible via the hamburger menu icon. The menu houses the following (on most pages):
- The name of the current product (as a link to the product landing page)
- The Sencha icon used to navigate back to the documentation home page
- The product menu drop-down button
- Tabs of navigation trees for the API docs and guides
- Current context navigation and tools is located on the right-hand side accessible via the gear icon. The context menu houses teh following:
- The global search input field
- (API doc) A 'Filters' tab with the member filter, expand / collapse all examples button, expand / collapse all member rows button, the access level filter checkboxes, and the counts of each member
- (API doc) A 'Related Classes' tab containing the menu of metadata related to the current class
- (Guides) The table of contents for the guide
Viewing the Class Source
The class source can be viewed by clicking on the class name at the top of an API doc page. The source for class members can be viewed by clicking on the 'view source' link on the right-hand side of the member row.
This guide provides instructions for getting your environment ready for Ext JS 6 development. It also discusses the other software that is required before you can complete and publish your first project.
This guide also aims to provide you with a clear path to avoid common app build problems related to the installation of Sencha Cmd. It’s important to understand the various dependencies to ensure a clean installation of Sencha Cmd.
Required Dependencies
Let’s take a look at the dependencies. Ext JS 6 development requires the following items to run at functionality:
- Sencha Cmd 6
After purchasing the Ext JS license, you will get access to the Sencha support portal. From here, you can download the latest Sencha Cmd and Ext JS framework versions.
Java and Sencha Cmd must be available via the command line. When installing these tools, the installer will add it to the PATH system variable.
That said, these variables occasionally get lost or are not added at all. When that happens, these tools are not available on the command line. If they’re not available to the command line, they are also inaccessible by Sencha Cmd. That said, it’s very important that these paths are set properly.
To set system variables, see the system environment section in this guide, which explains how to add Sencha Cmd or Java to the class path.
Optional Dependencies
- Ruby, Sass & Compass
- Web Server
- Sencha JetBrains IDE plugin
- App Templates
- Sencha App Inspector
- Ext JS 6 Pivot grid
After purchasing the Ext JS Premium license, you will get access to the Ext JS 6 Pivot grid and JetBrains IDE plugin by downloading the Addons and plugin from the Sencha support portal.
Required Dependencies Installation
Java Runtime Environment (JRE)
To start, here are links for downloading Java JRE 1.7 and JDK.
Sencha Cmd requires the JRE. You will need Cmd to produce a valid build, so it’s necessary to have Java installed properly. Open a command line tool to test for Java’s proper installation.
Mac OSX
Mac OSX users can simply open Terminal.
Windows
Windows users can open the command line by entering cmd from the start screen.
Once your command line is available, issue the following command.
java -version
If correctly installed, it should produce the following version information:
>java -version
java version '1.7.0_40'
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
For a bit more information, the Java Runtime Environment is an implementation of the Java Virtual Machine that executes Java programs. Without the JRE, you can compile an application but can’t run it.
The Java Development Kit (JDK) is a software bundle that you can use to develop Java-based software. Since the JRE contains the JVM which executes the bytecode generated from the javac compiler, you need to add your JRE path as the JAVA_HOME variable from the environment variables.
Note:The JDK contains the JRE, so if you have set your PATH properly, you shouldn’t need a separate entry for the JRE.
Adding Java to your PATH
Windows
Add the following bits of information to your System Variables to add Java to your PATH:
variable name:
JAVA_HOME
variable value:
c:jdk1.7.0_40
variable name:
PATH
variable value:
%PATH%;%JAVA_HOME%bin
Mac OSX / Linux
Unless you have intentionally changed your Java path, Java is most likely installed here:
/Library/Java/JavaVirtualMachines/<java version>/.
Add the following lines to your ~/.bash_profile to add Java to your PATH:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
For more information see: http://java.com/en/download/help/path.xml
Sencha Extjs 6 Download
Sencha Cmd 6
Sencha Cmd encapsulates a very useful set of tools. Not only can you build your applications, but you can also build themes, generate code, or use the built-in web server. You can test for proper Sencha Cmd installation from the command line by issuing the following:
> sencha which
If correctly installed, it should output the version number. For example:
> sencha which
Sencha Extjs 6.5.3 Download
Sencha Cmd v6.0.1.13
/Users/<User>/bin/Sencha/Cmd/6.0.1.13/
Adding Cmd to your PATH
Run the following commands in your terminal to add Cmd to your PATH.
Windows
Unless otherwise specified, Windows users can assume Sencha Cmd is installed at c:senchacmd6.x.x.x. Add the following bits of information to your System Variables to add Sencha Cmd to your PATH: (the version number should point to your version folder.)
variable name:
PATH
variable value:
%PATH%;c:senchacmd6.0.1.13
Mac OSX / Linux
Unless otherwise specified, Mac/Linux users can assume Sencha Cmd is installed at ~/bin/sencha/cmd/6.x.x.x.
Add the following lines to your ~/.bash_profile to add Sencha Cmd to your PATH: (the version number should point to your version folder.)
export PATH=~/bin/Sencha/Cmd/6.0.1.13:$PATH
Ext JS 6
After purchasing the Ext JS license, you will get access to framework from the Sencha support portal.
Download the framework and unzip it to a place on your hard-drive.
Optional Installation Dependencies
Ruby, Sass & Compass
With the release of Ext JS 6, we no longer require Ruby for theming, since Sencha Cmd is using its own JavaScript compilation called Fashion.
However, in case you are planning to build Ext JS 5 applications with Sencha Cmd 6, or when you want integrate Compass with your project, it is possible to install this together with Sencha Cmd 6.
To check if Ruby is correctly installed, run the following command:
> ruby -v
If correctly installed, it should output version information as such:
> ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
Windows
Windows users will have to download Ruby. If Ruby is not yet installed, you can download it here.
Make sure you run the Ruby installer with admin rights. To enable admin rights, right click on the installer executable and select “run as administrator”. During the installation, you will need to mark the check-box that asks for permission to add Ruby to your PATH variables.
Mac OSX / Linux
Ruby is automatically installed on Mac OSX machines. No further action should be required.
Sass
To install Sass from the command-line enter the following command. (Mac OSX / Linux users might need to prefix with the command: sudo.
gem install sass/far-cry-3-demo-download.html.
Compass
To install Compass from the command-line enter the following command. (Mac OSX / Linux users might need to prefix with the command: sudo.
gem install compass
Sencha JetBrains Plugin
The Sencha JetBrains IDE plugin is port of the pro and premium tiers.
Sencha’s JetBrains plugin is an Integrated Development Environment tool that creates a confluence between Sencha Frameworks and JetBrains software. This integration comes in the form of code completion, inspection, and suggestion, while seamlessly cooperating with native JetBrains behavior.
Sencha experts will love the the ease with which changes are refactored and how simple it is to trace code to the source.
Sencha beginners will benefit as the JetBrains plugin provides completion suggestions while encouraging best-practice code structure and syntax.
This plugin brings Sencha support to these JetBrains Products:
- IntelliJ 14.1+
- WebStorm 10+
- PHPStorm 9+
- RubyMine 7.1+
- PyCharm 4.5+
Download the plugin from the support portal. It’s a zip file.
- In the IDE, click Preferences -> Plugins -> Sencha Ext JS
- Click the button Install plugin from disk, select the zip file.
- Restart the IDE.
After restart, you will run the trial version. You will need to click on the message to activate the Sencha plugin. Login with your sencha (forum) id (not the email), your password and the activation key (40 characters key).
Click Activate and your plugin is successfully installed and activated.
For information about the plugin see: http://docs.sencha.com/tools/ide_plugins/jetbrains_ide_plugin.html
App Templates
The Sencha JetBrains IDE plugin is port of the pro and premium tiers.
App templates are full working boilerplate examples. You can use this code, to quickly develop a Sencha application within a day.
The admin dashboard app template can be found in the folder:
<ext6-sdk-folder>/template/admin-dashboard
For a full tutorial on how to use the app template, please see:
Sencha Inspector
Sencha Inspector is part of the premium tier.
The Sencha Inspector is a stand-alone desktop application that provides intelligent debugging for Ext JS applications. It aims to complement existing developer tools provided by consumer web browsers. On top of that, it also includes a theme roller, to create themes easily.
Sencha Inspector hosts an internal web server that runs on your machine’s localhost. This local web server helps Sencha Inspector connect to your client applications via a web socket. This allows Sencha Inspector to analyze your client application’s’ runtime.
- Run the executable installer and walk through the install process
- Run Sencha Inspector from its installation path
For more information about Sencha Inspector see:
Ext JS 6 Pivot Grid
Sencha Inspector is part of the premium tier.
The Pivot Grid component enables rapid summarization of large sets of data. It provides a simple way to condense many data points into a format that makes trends and insights more apparent. A classic example is sales data. A company will often have a record of all sales it makes for a given period. This will often encompass thousands of rows of data. The Pivot Grid allows you to see how well each salesperson performed, which cities generate the most revenue, how products perform between cities, etc.
To try out the pivot grid, best way, is by using an existing Ext JS 6 application, previously generated by Sencha Cmd.
- Unzip the ext-addons-6.x.zip
- Copy the packages folders, over to an existing ext js 6 project, the packages folder. For example:
- <myapp>/packages/
- Open app.json, add “pivot” to the requires array.
'requires': [
'pivot'
],
For more information, check out this guide:
Web Server
Sencha Cmd has a built in webserver (Jetty 8.1.7). You will start the web server automatically every time you run the following command from the commandline:
sencha app watch
By default it takes the port 1841, in case the port is already in use, it takes a different port number. The log message will tell you which port to use.
For example:
The location and name of the directory in which you create your directory varies by operating systems and web servers. If you choose to use your own local webserver, you will need to store your directory somewhere within your localhost’s web-accessible area.
Examples of this would be XAMPP’s htdocs directory or Linux’s /var/www/html.
The built-in webserver, is very basic. In case you do PHP development, you might use an Apache web server instead (XAMPP, MAMP). Java developers might prefer Tomcat. .net developers IIS. You can use any web server of preference, for Sencha projects. As long as you can serve web and JSON files. Enabling the full directory listing might be handy too.
Serving JSON files for IIS
If you are running an IIS web server, make sure to add application/x-json as a MIME type. IIS requires a MIME type setup to properly serve JSON files. If this is not set up, JSON files will return an error when you preview your project.
See also:
Setting a System Variable
Let’s look into setting the system path variables on the various operating systems of note.
Windows
Windows XP
- Start -> Control Panel -> System -> Advanced
- Click on Environment Variables, under System Variables, find PATH, and click on it.
- In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and location of the class as the value.
- Close the window and reopen the command prompt window.
Windows Vista
- Right click My Computer icon
- Choose Properties from the context menu
- Click Advanced tab (Advanced system settings link in Vista)
- In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and location of the class as the value.
- Close the window and reopen the command prompt window.
Windows 7
- Select Computer from the Start menu
- Choose System Properties from the context menu
- Click Advanced system settings > Advanced tab
- Click on Environment Variables, under System Variables, find PATH, and click on it.
- In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and location of the class as the value.
- Close the window and reopen the command prompt window.
Windows 8
- Drag the Mouse pointer to the Right bottom corner of the screen
- Click on the Search icon and type: Control Panel
- Click on Control Panel > System > Advanced
- Click on Environment Variables, under System Variables, find PATH, and click on it.
- In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and location of the class as the value.
- Close the window and reopen the command prompt window.
Mac OSX / Linux
Edit ~/ .bash_profile
Modify PATH variable, write the following line, with the path to one of the tools:
export PATH=<PATH-TO-ADD-HERE>:$PATH
Save and close the file and open a new terminal window
Note: The .bash_profile is a hidden file. These sorts of files are hidden in Finder by default. To enable hidden files, run the following command from the command line:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder