Confessions of a Web Developer XII

By  on  

First impressions, second thoughts, and third degree...

  • I can't make up my mind on Twitter.  On one hand, they've made their name by allowing 3rd party development to flourish, and now they seem to be shutting people out.  There's a feeling of betrayal, like we've been suckered in and now that they've got us, they change the rules.  On the other hand, it's a free service and we're owed nothing.
  • I'm not sure web developers know how under attack they are from mobile devices and "native."  We need to band together to improve tools like PhoneGap and Titanium, as well as support the Firefox Marketplace and Firefox OS (formerly Boot2Gecko).  We grew up loving the web -- let's ensure it lasts.
  • I've read that Facebook's previous iPhone app was loading 40 blocking JavaScript files.  40.  HTML5's fault.  LOL
  • Though I don't quite get it yet, Pinterest seems like the new Digg. Funny pics, viral stuff, but not sure there's a true value.  I appreciate the house tips my wife has pinned though...
  • The days of complete JavaScript frameworks are numbered.  Developers are finding the value in micro-frameworks and are getting used to working with different APIs.
  • on* attributes are incredibly useful for AJAX-driven sites.  The alternative is event delegation; the problem, however, is that event delegation effects every event of the desired type -- on* just fires on that element.  Way more efficient.
  • It should be mandatory that WordPress plugins with CSS and/or JS files have options to disable them.  Otherwise you must override the plugin's styles, guessing specificity or littering your style declarations with !important.  Pain.  In.  The.  Ass.
  • When redesigning a blog, make it an absolute that you must finish it in a month, otherwise you get tired of your own design before it goes live.
  • My Mozilla coworker, affectionately nicknamed "Tofu Matt", recently posted one of my favorite tweets:  "I'm drinking beer on a Brazilian rooftop after hanging out with developers all night and I'm going to London tomorrow.".  Mozilla is an incredible place to work.  Tell 'em David sent you!
  • The return of Script & Style warms my heart.  So much inspiration;  I hope that everyone else enjoys it as much as I do. The new S&S site will launch with my redesign next week...
  • My redesign experience got me to dig deeper into the WordPress API and now that I've used it a bit, I have to say it's very nice.  Now I understand why there are blogs dedicated entirely to the popular CMS.
  • I still can..and can't...believe the fall of Digg.  Digg was epic in its tech story days, eventually became a funny pics site, was rumored to be sold for $100m+ at one point, and in the end, it was sold for $500k.  Shocking....
  • I'm incredibly humbled by the group of people who have guest-posted for my blog relaunch.  Flattered they'd do it and I hope you all enjoy hearing from someone other than me.

And there you have it.  Feel free to let me know where I'm rubbish.

Recent Features

  • By
    Animated 3D Flipping Menu with CSS

    CSS animations aren't just for basic fades or sliding elements anymore -- CSS animations are capable of much more.  I've showed you how you can create an exploding logo (applied with JavaScript, but all animation is CSS), an animated Photo Stack, a sweet...

  • By
    CSS Filters

    CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have...

Incredible Demos

  • By
    Retrieve Google Analytics Visits and PageViews with PHP

    Google Analytics is an outstanding website analytics tool that gives you way more information about your website than you probably need. Better to get more than you want than not enough, right? Anyways I check my website statistics more often than I should and...

  • By
    Animated AJAX Record Deletion Using Dojo

    I'm a huge fan of WordPress' method of individual article deletion. You click the delete link, the menu item animates red, and the item disappears. Here's how to achieve that functionality with Dojo JavaScript. The PHP - Content & Header The following snippet goes at the...


  1. The first two ones are the one where you hit the nail on the head for me.

    I really like these “state of my world”-posts you do, btw.

  2. kyle

    The best way to override a WordPress plugin’s styles/scripts is to use wp_dequeue_style and wp_dequeue_script.

    That’s assuming they plugin author used wp_enqueue_style and wp_enqueue_script when she wrote the plugin.

  3. ” you get tired of your own design before it goes live.” I often do end up here…. LOL Well said..!!

  4. As far as WordPress goes, that’s not quite true. I’ve started calling a “last.css” (whatever you want to call it) via the functions.css. At the least, you’re below the plugin css files.

  5. Adam

    I’d love to see something more… useful from plugins (and some themes) in the CSS and JS. Many plugins are build by PHP guys who shouldn’t be allowed within a hundred feet of a CSS file (let along JavaScript). They should know this and plan for those of us who know better to fix their (often very useful) code to suit our needs.

  6. I could agree with getting tired of your own design, lol. Not only is it annoying to design for yourself, you take forever to publish it because you want it perfect.

  7. Alex

    Nice to hear that you’re redesigning the blog. (script and style news is quite awesome too!).
    If I may suggest; please use an easy to read font when showing us code. I find the current one a real wtf!

    “Meslo LG S DZ” :
    Mensch :
    Monofur :
    “DejaVu Sans Mono”
    Freemono :
    “Envy Code R” :
    “APL385 Unicode” :

  8. “I’ve read that Facebook’s previous iPhone app was loading 40 blocking JavaScript files. 40. HTML5’s fault. LOL” – it’s a shame the majority of people won’t ever read past the fact that they blamed HTML5.

  9. You had me at “The new S&S site will launch with my redesign next week…”. I was very sad and frustrated when the site was hijacked. S&S is my favorite goto source for random acts of “cool stuff I should put on this site for no reason”.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!