Why We (Me Included) Need to Stick To JavaScript Programming Style Standards

  I’ve listened multiple times to Douglas Crockford talk about the importance of following good programming style standards.  I try to normally, but this morning I got a little lazy with the following code: store.sync({     success: function() {Ext.Msg.alert("success")},     failure: function(a,b,c) {… I wrote this a while back and wanted to keep it short so I did not put the alert message on it’s own line.  Then, today I came along and decided to not have it execute the alert so I simply added a leading “//” giving me store.sync({     success: function() {//Ext.Msg.alert("success")},     failure: function(a,b,c) {.. … Continue Reading

What Makes Sencha’s ExtJS Library So Powerful

image.png

For those that don’t know much about Sencha’s ExtJS JavaScript library, let me just simply describe it as a toolkit that helps you design applications that run on the web with minimal HTML knowledge (though a reasonable amount of JavaScript knowledge is important). What is inspiring me to write this post right now is just how darn clever those guys are who architected the toolkit.  I have not much used the forms part of ExtJS until now, I’ve primarily used the data grid and all the layout panels. So, as I’m learning the form tools I keep running into things they have built in that just make so much sense.  Let me describe just a few by example.  Below, I’m going to paste my current form which I’m working on … Continue Reading

Sencha’s Architect’s Perfect Storm, Easy To Use and Incorporates Hand Written Code Gracefully

image.png

Introduction Wednesday night this week, our local meetup (happening at Sencha’s headquarters in Redwood City) is featuring the Sencha Architect engineers who are here from all over the world for a get together.  Personally, I’ve been using Sencha Architect (SA) for well over a year now and am hugely impressed.  Yesterday, for the first time I felt a need to go beyond what SA offered and for the first time decided to “override” an ExtJS object (store in this case) with my own code.  It’s now a trick I own!  Explanation of why we did it, what we did, and what to look out for if you do it yourself in the future.   Why We Did It As many of you know, in addition to being the primary organizer of Silicon … Continue Reading

JavaScript, Go With the Flow!

As a technologist gluten, I probably spend too much time on different technologies and not enough time on any one particular one.  It does find me often frustrated with seemingly basic things that should take little time to solve.  Recently, a friend sent me a quote which sadly applies to me too much. To be successful as a programmer, you, first and foremost, have to be a nerd.  You were probably born that way, but in any case, you already know if you are.  You are the kind of person who can stare at a screen for 14 hours puzzling over why the damn call to xref = malloc(len); is not accompanied by the appropriate call to free(xref); about 1 out of 100,000 times, and that’s why the frigin fuel injector hangs up on … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: