Category Archives: AJAX
Update to Ext.ux.UnitTest()
Back in May, I started a pet-project on Unit Testing with ExtJS. I just uploaded the newest changes to my Ext.ux.UnitTest() class, and a demo is available here.
The most recent enhancements include:
– migration from Ext 2.2.1 to Ext 3.0
– use of Ext.chart.PieChart() to visually track the tests
– addition of assertTrue() and assertFalse() test methods
– test grouping, and color-coded group labels
Take a look and let me know your thoughts! Continue reading
ExtJS 3.0 Themes
One of the best improvements offered in ExtJS 3.0 over previous versions is the new CSS structure. JC Bize (an ExtJS Development Team member) had an excellent presentation at the 2009 Ext Conference discussing what had changed and offered some tips on how to build your own themes. I recently migrated my application from 2.x to 3.0, and I’d like to share my experience with creating a new theme. Continue reading
Ext.data.JsonStore
Call me a nerd, but I do have a favorite ExtJS class: Ext.data.JsonStore(). I like this class for a number of reasons. . . for starters, it saves several lines of code as you don’t have to declare an Ext.data.Store(), Ext.data.HttpProxy() and Ext.data.JsonReader() class just to read data from the server. Ext.data.JsonStore() does all of that for you, making your code cleaner. . . and who doesn’t like clean code?
I recently found one more reason to love this class. If you return a JSON response from the server which contains a “metaData” property (in addition to whatever “root” property mapped to the actual data), you can save yourself even more lines of code! Continue reading
ExtJS: Migrating from 2.2.1 to 3.0
I sat down this morning with the intention of migrating my application from ExtJS 2.2.1 to ExtJS 3.0. Although I’ve been playing with version 3.0 for some time, I was a bit worried that my application (containing more than 20,000 … Continue reading
Professional Courtesy
A few months ago, I wrote a blog post titled Parsing XML: jQuery vs ExtJS. If you don’t feel like reading it, the point of that post is that I was (still am) frustrated by the fact that ExtJS doesn’t … Continue reading
Ext-Doc: ExtJS-style JavaScript Documentation
A while back, I posted about my struggle to find a good JavaScript documentation tool. Over the past week, I began exploring one more option which is very promising. Ext-Doc is a JavaScript documentation tool which creates by far the … Continue reading
Parsing XML: jQuery vs. ExtJS
If you follow my blog, you’ve noticed that I constantly talk about ExtJS. I use it extensively at my office, and I know the API (for version 2.2.1) about as well as anyone not working for their company. I recently … Continue reading
JavaScript Meetup – Friday 6/12/09
One of the hardest thing about living in the suburbs is that the overwhelming majority of computer developers live in the city. Although I live in the Chicago area, this is undoubtedly true of any city and it makes it … Continue reading
Recent AJAX Project
Before I left for vacation, I finished the latest-round of edits to a project I’ve been working on. I’ve received word that the code is live and I think it’s worth bragging about. College Movers Inc. is (obviously) a moving … Continue reading
JavaScript Unit Testing in ExtJS
*** Update 12/21/09: This is now an open source project available on Google Code! *** I’ve been using ExtJS for almost a year now and I’ve built quite the library of custom extensions. As many JavaScript developers will tell you, … Continue reading
