-
After my post about using.js we had a short discussion in comments with its creator Jon Davis. I think it would be great if we could simply write something like this. In the page code: using ( "component.js" , function () { ... }); And in the component.js: // Component.js using .require( "basecomponent...
-
Ajaxian writes about using.js library created by Jon Davis. It allows for loading javascript files on demand, just before you need it. For more details on this please see Ajaxian and original post by Jon . I'll write about differences in his and ours approaches. Jon requires you to first register...
-
Recently I was improving our on-demand script loader, and decided that it would be great to do it in test-driven way. After all, this is clearly a piece of code that should be tested automatically. I've started with jsUnit , just because it looks like obvious choice. Very quickly I found that it...
-
Yahoo!'s yuicompressor allows for shrinking JavaScript files by 2-3 times (depending on verbosity of original sources). There is no excuse for not to use it. Here is how one can include it into the build process, so that selected files would be automatically minified. In the project file add: < ItemGroup...
-
Upgrading from Ext 2.0 to 2.0.1 goes not that smoothly as one would expect. They introduced several new bugs or breaking changes. It now fails to parse date in ISO format ("c" or "Y-m-d\\TH:i:sP"). Fix can be found here . TabPanel now has white backround if "plain: true" is specified in config and this...
-
Configuration objects in ExtJS 2.0 are very nice and useful. You can define whole user interface in one nested JSON structure. Panels and controls get nested in a logical way, so it's much simpler to modify a form defined like this. But when it's time to do something with those panels and controls there...
-
Live Client Documents (LCD) is a development tool or technology that allows for building web interfaces for editing XML documents. LCD is build on top of XSLT. In fact, LCD file is XSLT template with some extra tags and embedded JavaScript. One could take an existing XSLT that shows data to the user...