Friday Roundup

Some great js tools in my Friday roundup

Continue Reading...

No Comments

Friday Roundup

Friday roundup! Javascript gauges with Raphaeljs, content strategy, Webkit inspector, jquery functions, software development and scientific method

Continue Reading...

No Comments

Dynamic robots.txt with ASP.NET in IIS7

This is an update to my original post Dynamic Robots with ASP.NET 2.0, which was written for IIS6. IIS7 makes this process even easier! Use this approach to deliver different robots.txt files depending on whether you site is being crawled in http or https (or just to present your robots.txt file programatically).

Let’s take a look…

Continue Reading...

No Comments

Solid Cross-Browser Compatible Vector Graphics in Javascript with Raphael

Last week I had the pleasure of attending Web Directions South in Sydney – a conference I’d long heard about but had never had the chance (and good timing) to attend until this year. There were many great presentations there and the one I’d like to introduce you to first is by one brilliant Dmitry Baranovskiy. Dmitry built a javascript library called Raphael which essentially provides a lightweight, cohesive solution for vector graphics across browsers from IE6 onwards, including iPhone and iPad.

Why do you care? So. Many. Reasons.

Continue Reading...

1 Comment

First impressions of Linq Expression<>

While at work yesterday, I saw a whole bunch of code like if (memberid > 0) parameters.Add(new SqlParameter(“@memberid”, memberid)); if (groupid > 0) parameters.Add(new SqlParameter(“@groupid”, groupid)); if (industryid > 0) parameters.Add(new SqlParameter(“@industryid”, industryid)); … and so on. It would be easy enough to squeeze it down to something like InsertIfGz(“@memberid”, memberid); InsertIfGz(“@groupid”, groupid); but it [...]

Continue Reading...

No Comments

DefaultButtons for Asp:Login and Asp:CreateUserWizard

Today, I was tasked with making some Asp:Login and Asp:CreateUserWizard controls work. Specifically, the enter button was acting with an effluence inherent only to Asp.net[1]: it was submitting the search button. After playing with various schemes, I settled upon the following for the Login control: <asp:Panel ID=”pnlLogin” runat=”server” DefaultButton=”lgMain$LoginButton”> <asp:Login runat=”server” ID=”lgMain” /> </asp:Panel> I [...]

Continue Reading...

No Comments

Notes on compiling LinuxSampler

I just installed Ubuntu 9.04 (64-bit) on a new machine and am currently in the middle of compiling LinuxSampler, and for some reason had to make source changes to the latest stable to get it to compile. For starters, I had to run configure with –prefix=/usr. Don’t know whether that’s a 64-bit thing, a me-being-noob [...]

Continue Reading...

No Comments

Regex Fu: Not Followed By

Everyone has their own regular expression implementation; especially text editors. One is good, while the rest range from absurd to almost usable. Sometimes, despite your best efforts, you’ll find yourself in a strange environment needing to do some funky regex fu. So for the sake of argument, let’s imagine we have a standard no-frills regex [...]

Continue Reading...

2 Comments

Valid and Accessible Collapsible Panels with Mootools

The other day my friend Matt Stow mentioned Mootools as a lightweight alternative to prototype and scriptaculous, so I decided to check it out. Yet another collapsible panel! On the whole, I think I’m impressed with Mootools/Moofx. Firstly, check out the download page. It lets you choose and pick exactly what components you want, it [...]

Continue Reading...

2 Comments

Valid and Accessible Collapsible Panels with Scriptaculous

Believe it or not, creating collapsible panels — and “rich web elements” in general — requires some careful thought and planning. Some things need to be taken into account, such as: Not all users have mice – some only have keyboards (or equivalent) Some people don’t have JavaScript – whether by choice or necessity Some [...]

Continue Reading...

5 Comments