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 live in Canada. This is an example of the letter they send.
Unless you read it quite carefully, and know what is going on, you might think you need to pay their (very expensive) domain registration fees in order to avoid losing your domain name.
This is NOT TRUE. Consider that many people, like myself, purchase hosting from a company like 1 & 1. Part of the package includes free domain registration for one domain. There is very little technical know-how required to get this going. In fact, it could be that some hotshot young web developer has set this up for you.
You need to do nothing except keep paying your web hosting amount to safely retain your domain name. This letter conveniently omits this fact. They do make this somewhat clear in ALL CAPS halfway through the letter, but only after the scare tactics a couple of paragraphs above.
Is it strictly a scam? No, I guess not, they do provide a service, and they spell out everything in this letter, but it’s very dirty.
To make this abundantly clear: There is NEVER any reason to do anything except shred this letter.
For more information, feel free to Google “Domain Registry of Canada” and look at any link that is not their official web page (i.e. start at the second link). Here’s a link to make it even easier. You will find many other bloggers, most more capable than myself, that explain this quite well.
Using jQuery within the view initialize event:
I manipulated the this.el attribute directly, without using an interim variable, it seemed to work ok, but if there are side-effects I discover later, it should be easy enough to change. setElement will automatically assign its argument to this.el so nothing further needs to be done.
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 the (hashed) password in the database. It simply causes the call to authenticate each login with their corresponding password.
In combination with forcing the page through https (a .htaccess task) and this, I can protect API access pretty simply.
I used this in VB6 (and the great Chilkat components) to authenticate a PUT command. I can now more safely allow database inserts from over the Net. It was as simple as:
I can’t say that I really like the railroad diagrams for describing the syntax of the language as much as I’d like more example code. I suppose the diagrams are more inclusive, they just seem a little excessive for what information they provide.
Yes, this is an incredibly terse book. Some rather hefty topics are given a few lines of discussion. Not that this is terrible, but it makes for a slow read. He establishes a few helper functions & methods to allow you to do certain tasks a lot easier, such as easier object creation and inheritance. These functions are referred to later on in the book as if they were parts of the core language, so you really need to know both the book and the core language very well.