Tag: web

  • Hacked Again

    My site was hacked again the other day – this is common enough for WordPress sites.  If you’re not on top of it you could have it hacked, pretty much automatically. This part I knew.  It still got hacked, and I learned a few more things. 1 Back up your site!  This could mean a…

  • Canada domain name registry scam

    I have been frustrated with this  Domain Scam for a long time now. I have a few domain names, and I happen to be in Canada.  There is a company called “Domain Registry of Canada” that mails out official-looking envelopes (it looks like a government-issue brown windowed envelope) to everyone that has WHOIS information indicating they…

  • Backbone dynamic elements

    I recently discovered Backbone’s setElement function. What it allowed me to do was dynamically create a view’s container in Javascript and transfer/assign the view and its events to the new element. Using jQuery within the view initialize event: this.el = $(‘<div id=”\’newView\'”></div>’); this.setElement(this.el); $(‘#content’).append(this.el); I manipulated the this.el attribute directly, without using an interim variable,…

  • REST Authentication

    I did some research the other day to secure my REST API using The Slim framework. I found a tidy little way to force HTTP authentication (basic, in this case) using this article as well as the PHP manual. I get the client to provide the user name and password, then I can look up…

  • New JavaScript book

    I got my new Javascript book delivered yesterday.  My first thought was that it was quite thin (it only has about 150 pages including the appendices and index)!  I took a look at the first section, and it’s quite thorough; the author himself states that it is quite information-dense, and that it will require a…