Static Javascript Patterns
So what do you do when you want the functionality of a static variable in Javascript? As previously discussed, using a global instead of a static is not a great idea. One might be tempted to use some...
View ArticleJavascript Class Patterns
When I first started using C++, it was still essentially a preprocessor that produced C code. I liked that because if I was really confused about a particular feature, I could examine the C code to...
View ArticleNew Javascript Class Patterns
"You lied." "I exaggerated." - Saavik and Spock, The Wrath Of Khan When I was a college freshman, I had a friend who was a senior studying chemistry. He summed up his experience saying that as a senior...
View ArticleJavascript: This, That And The Other Thing
I talked before about the special this variable in Javascript. And I intimated that it's more complicated than it seems. Now, this seems like a straightforward concept. It refers to the object that...
View ArticleStrictly Speaking Javascript
There used to be a string of jokes about how to shoot yourself in the foot in various different languages. For some reason, looking back on what I find in an internet search they aren't nearly as funny...
View ArticlejQuery: The Birth Of Cool Javascript
John Resig had a problem. Actually he had two. Both involved the shortcomings of the DOM. Previously I've only discussed pure Javascript, and haven't really said much about it's most common use, client...
View ArticleJSON Is The New XML (But Better)
Sometimes I miss the 90s. It was an amazing time, with exciting things happening in the tech world every day. It seemed like there were continual significant advances in computer hardware and software....
View ArticleSVG – Turtles All The Way Down
Decades ago, back before HTML, WYSIWYG word processors, even before I started using TeX, I had the joy of creating documents using something called TROFF (pronounced Tee-Roff, with the emphasis on the...
View ArticleViewBox – A Window Into The Soul Of SVG
I like to think of myself as a geek in the sense that I like to understand how things work. This is true of physical things, like quadcopters and 3d printers, but being a software guy it's even more...
View ArticleAll Paths Lead To SVG
I can understand the attraction of making shapes with CSS. It's kind of like a clever puzzle, which demands extensive experience with the multitude of features available in CSS and a lot of...
View ArticleRoll Your Own Filtered SVG
Sure, I know that SVG can be used to make straight lines, smooth curves and shapes. It's great for diagrams, icons and math textbooks, but what has it done for me lately? OK, I know that if I were a...
View ArticleSVG Filters – Putting Pieces Together
The construction of SVG Filters is one of those subjects that's great to study, because it never seems to end. There are dozens of primitives, attributes and features to delve into, and even after that...
View ArticleJavascript Class Patterns
Tweet Like When I first started using C++, it was still essentially a preprocessor that produced C code. I liked that because if I was really confused about a particular feature, I could examine......
View ArticleObject Observation Without Objection
I remember the first time I looked at C++, having been a C programmer for some time. There was a lot of stuff in there that seemed more complicated than it was worth (e.g. Templates) but some... Read...
View ArticleObject.observe, Crosswalk and the Intel XDK
After my recent blog on Object.observe(), I of course tried it out in the XDK. It worked fine in the emulator (after clearing up a few typos) so I created an app and installed it on my phone. There......
View Article
More Pages to Explore .....