Magic in Chrome JavaScript Debugger

image.png

I’m not sure if this option was always there, or it just got added but recently, while doing development I noticed that next to each line of JavaScript code the relevant variables in the line are being displayed and evaluated.  I’ve highlighted in yellow a couple of these values below.  You can see in the orangish brown text background below what chrome is showing. This means I have to to way less adding variables to watch, less copying to command line below or in a separate window. Bravo Chome Dev Tools!  This totally makes my day, week and maybe even month. Just feeling the need to give those guys a shout out. … Continue Reading

Why Am I So Excited About AngularU?

image.png

    What is Angular? If you work in the web development space, unless you have been hiding under a rock for the past couple years, you must know what Angular is.  If not, let me tell you.  Basically, it’s a   JavaScript toolset that allows you to build single page web apps (SPA’s) efficiently, while at the same time deliver great user experiences and programmer development experiences.  What I mean by this is that Angular just feels good to program in.  It does not make you feel like you are using something artificial to build your web sites that transpose some cryptic language into the web, but it makes you feel like you are talking the web’s language. In addition, Angular has a huge number of … Continue Reading

Routing and State (The AngularJS Discussions)

I’m a big fan of the Adventures in Angular podcasts.  At a recent podcast that happened at ng-conf in Salt Lake City, there was a lively discussion around the topic of routing and URL’s.  Specifically, one side of the discussion was that a URL defines a state of an application.  The other side said that is not true. Personally, I think it’s ridiculous to think that a URL can define that state of applications.  My first proof is that there is a huge amount of discussion around it.  If it was clear and true, there would not need to be discussions about it. I believe that URL’s are simply pointers to places in web sites.  That’s it.  Any more than will breed confusion.  The most trivial example is that … Continue Reading

Showing The Record Count in a Sencha ExtJS Grid Made Simple

image.png

I use Sencha’s ExtJS for lot’s of data maintenance type applications.  One such application is an email response manager where it’s convenient to know how many different URL’s got clicked.  Basically, how many rows in the gridview.  Certainly, counting is an option but showing it in the title makes a lot more sense. The tip here is that often you have to call store.load() on the store associated with a grid so with just a couple extra lines you can put the count in the title of that grid.  Those extra lines are basically just a callback to the store.load that then grabs a reference to the gridview.  In my case, I have a button on my toolbar (just above the gridview), and in the button’s handler I execute the … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: