By Will on June 26th, 2009 | ASP.NET | 1 Comment »
This is a bit different from my normal PHP and MySQL related posts, but I found this interesting so I though I’d pass it along.
If you’re familiar with ASP.NET you probably know that every page has a presentation layer (a lax form of XML) and a business layer (C# or Visual Basic). This is a brilliant way of organizing a website because it separates your data (the presentation layer) from your complex logic (the business layer). This gives you several advantages (not by any means an exhaustive list):
- Complicated logic is easier to understand when it isn’t cluttered with HTML tags
- Because the presentation and the business layers are loosely linked, changes in one often don’t require a change in the other
- Object oriented principles can be used in both the presentation, and the business layer, promoting code reuse
[More]
By Will on February 26th, 2009 | WordPress | No Comments »
Who doesn’t hate email spam? Those messages telling you to how to refinance your house, please your mate, or lose unwanted weight are nothing but a waste of time. Placing your email address online can increase the number of spam emails in your inbox even higher. Email spiders, programs designed to crawl the web looking for email addresses, can find your contact information online and use it to spam you. While you could not post your email online, sometimes you might need a way for people to contact you.
Many people fight the spam bots by obfuscating their emails (for example “joe [at] example [dot] com” or “joe@REMOVETHISexample.com”). This does an OK job, but it’s also a royal pain for the visitor, who has to type in, or fix your email address if they want to send you an email. The ultimate spam fighting question arises: “How do you keep bots out while letting real users in”. GMail’s plus-addressing feature and jQuery might be able to bring us one step closer to an answer.
[More]