Sorcerer's Tower

Entries tagged "Web Development"

Web Development is essentially anything involving browsers, the related technologies (HTML, CSS, JavaScript), and/or any tools involved for working with them.

It can also involve server-side software such as Apache, Jetty, etc.

Found 6 entries tagged with "webdev", displaying most recent 5 entries.

View entries: 1..5 6

Introduction to Password Security

Earlier this year I gave a talk on Password Security at Digital Croydon #5, and didn't want to simply put up the slides without any commentary, so I've written this article to accompany them. It is primarily for the benefit of those that attended - by which I mean it wont explain every slide or go into detail on everything the talk covered, but will explain the key points, provide links, etc.

Similarly, as mentioned in the talk, it didn't cover everything there is to know, and this article wont do that either - it's an introduction, not a comprehensive guide.

(At some point I do hope to write up more detailed articles, both on the points covered and on related subjects - if/when that happens I will add the relevant links to this article.)

Continue.

Speaking at Scotch on the Rocks 2013

I will be speaking at this year's Scotch on the Rocks conference. My presentation is on the subject of getting help when you are stuck and how to describe your issue in a way that makes it easier for others to help you.

All developers have times when they need help, but it's not always easy to ask for (particularly when all you want is to get past a tricky problem, not have long tangental discussions). Having spent a lot of time both seeking and offering help, I hope to shed some light on the quickest ways to find solutions and effective methods for framing your issues so that fellow developers can understand what you need.

The talk will be aimed at developers of any level who want help with getting help.

Scotch on the Rocks is Europe's longest running conference catering for CFML developers, having been held most years since 2005. This year it takes place on the 6th and 7th of June at the Hilton Edinburgh Grosvenor hotel and covers a wide variety of topics on different aspects of web development - so whether you're looking to learn new techniques and technologies or you want to network and socialise with other programmers, Scotch on the Rocks is the conference for you.

Hurry up and book your tickets before they sell out!

Beyond Tables, Beyond Divs - Simple JavaScript Calculator III

As we (hopefully) all know, using HTML tables for layout is Bad and Wrong.

Unfortunately, the most common way people avoid using tables is to just replace their table, tr and td tags with divs, divs and more divs.

The div tag is a generic container that should be used as a last resort, if there are no other more suitable options.

Whilst the problem of excess divs is not limited to the conversion of table layouts, it is perhaps most obvious here, as it shows the developer is still stuck in the column+row frame of mind, rather than thinking about what they are actually displaying.

In this blog entry, I show an example of how avoiding this mindset can result in much simpler and cleaner code.

JavaScript Leap Year check

I've just needed to fix a calendar that didn't implement leap years, and thus was missing 29th Feb this year.

Unfortunately, Google was bringing up various functions that rely on how browsers handle oddities in the built-in date functions, which isn't a sensible approach.


So, here is how to do it relying on the leap year formula:

function isLeapYear(year)
{return ((year%4 == 0) && (year%100 != 0 || year%400 == 0));}

And to implement that:

function readDaysInMonth(month,year)
{
	if (month == 1 && isLeapYear(year) == true) return 29;
	else return [31,28,31,30,31,30,31,31,30,31,30,31][month];
}

(Remember, in JS months are 0-indexed, hence 1 = Feb)

cfDevCon 2006

Okay, so I've arrived back from the UK's first* ColdFusion developers' conference (*if you ignore the previous two UK-based CF conferences), and decided I would give my thoughts about it.