What Is ExtJS ExtJS 4+ Extensions Examples Tutorials

9Jun/150

ExtJS 6: the best IE8-Modern Web Apps

Recently I wrote about my dissatisfaction with ExtJS 6 for being an "ExtJS 5 + Sencha Touch in disguise".

However, I came to realize that the beloved IE8 browser is essentially what's paying my bills. IE9 as well. It is easy to make jokes about how bad the browser is (compared to the latest and greatest):

one does not simply debug ie8

ie8 and open source bad time

You can do these all day long; just hit up image search for "ie8 meme".

However, let's address this one:

its 2015 who still uses ie8

VN:F [1.9.22_1171]
Rating: 10.0/10 (5 votes cast)
12May/150

Layout Renders Partially – How To Fix

Last year I wrote in-depth about ExtJS "heavy" JavaScript layout system in Sencha's blog: http://www.sencha.com/blog/exploring-the-layout-system-in-ext-js-5-and-sencha-touch

Recently I discovered a rather interesting "issue" that all big ExtJS apps will hit eventually: the app will start "misbehaving" in a sense that very complex sections will sometimes render only partially and the UI will become unresponsive. This one will be extremely painful to figure out, as this is actually a result of a "silent failure" by the ExtJS layout system, due to a pre-emptive assumption of "if you're running too much layout, you probably did something wrong" by the framework. Read on for an easy fix...

VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
30Apr/150

ExtJS 6 vs. Responsive

A few weeks ago I was at SenchaCon 2015 and majority of the sessions I attended revolved around ExtJS6 and Sencha's responsive strategy. In summary: an effort has been made to converge ExtJS5 and Sencha Touch 2, but ultimately you will still be building a separate ExtJS and a separate Touch app. You do not end up with truly "one framework", which is what I hoped for. Read on for details...

VN:F [1.9.22_1171]
Rating: 7.4/10 (7 votes cast)
16Jan/150

How to “sencha package build” a “code” package

You can follow Sencha's guide all you want, but you won't be able to build a stand alone "code" package due to errors like:

com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.Component

To fix this, you need to add the following to your package's .sencha/app/sencha.cfg

package.framework=ext

VN:F [1.9.22_1171]
Rating: 4.5/10 (4 votes cast)
Tagged as: , , No Comments
13Jan/150

Debugging ExtJS “Layout Run Error”

Recently I had to fix a lot of "[E] Layout run error" errors in an ExtJS 4.2.0 app. While I like to think I know ExtJS layouts fairly well and consider them one of the best parts of ExtJS, this experience has shown me a "darker" side of ExtJS layouts. When you're dealing with many (10+) layers of Containers, it seems there exist many unpredictable combinations of layouts that will result in "[E] Layout run error" in console, sometimes with functional implications, and other times without. Sometimes the smallest things can cause this error; i.e. I had a configuration setting on a Container:

style: { height: '54px' }

...and while everything looked and functioned correctly, a "layout run error" was being logged; changing the configuration to an explicit height solved the issue:

height: 54

The following 2-step approach has worked for me in systematically resolving numerous of these layout run errors:

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
Page 1 of 1312345...10...Last »