Greetings, and welcome to my weblog, covering topics ranging from computing to photography; gadgets; gaming; and anything else I think I can make interesting.
For those that don't know me, I am Peter Boughton, a ColdFusion developer, amateur photographer, and a total utter genius.
(For those that do know me, please don't tell anyone the genius bit isn't true.)
If you'd like to contact me, please send an e-mail using a clear subject line to peter:blog.bpsite.net.
The more observant visitors to this blog may have noticed the badge floating in the corner, indicating that I will be speaking at the cfDevCon developer conference later this year.
CFDevCon 2008 is a UK-based ColdFusion and web development conference, being held this September down in Brighton.
Whilst ColdFusion and CFML are the focus of the conference, the organisers are keen to also cover complementary web development subjects, and there is a good variety of topics on the schedule.
read more...
Posted by Peter on 01-July-08 at 22:48 ~ ~ Category: cfml , web-dev , sql , accessibility
As promised previously, here is a more detailed entry on the announcement to Open Source the Railo CFML engine.
read more...
Posted by Peter on 08-June-08 at 17:59 ~ ~ Category: cfml , web-dev
Well the first day of Scotch '08 is now over, so here is a quick round-up of the sessions I attended.
Day two has ended, and I have updated the main entry with details on today's events.
Scotch on the Rocks 2008 is now unfortunately ended, as before please see the main entry for the final day's summaries.
read more...
Posted by Peter on 06-June-08 at 22:57 ~ ~ Category: cfml , web-dev , sql
Today at the midday Scotch keynote, Gert Franz and Luc Texier made an impressive announcement: Railo is going completely Open Source.
This is an exciting move both for Railo and for the CFML community as a whole, and I'll be writing more details about it later, but for now here some some quick key details...
There will be two editions of Railo, with the Community and Professional editions combining into one, and the Enterprise edition being the other.
The new Community+Professional edition will be Open Source and there will be no limit to the number of web contexts allowed.
The Enterprise edition will have added value features, including tools from Intergral.
The license will be LGPL2, which means you can distribute Railo along with commercial software.
The timeline for release of the source code is mid to late October, around the time that Railo 3.1 is due for release.
The announcement is online at the JBoss website at www.jboss.org/railo
More Information available: Railo goes Open Source with JBoss.org (Update)
Posted by Peter on 05-June-08 at 17:30 ~ ~ Category: cfml , web-dev
I have just published the CFML Engine Wiki, a website to compare and detail the features and differences of the top CFML engines.
There is still a lot of work to be done with it, but with it being a wiki I decided it better to release the URL and allow others to help with doing that.
www.cfml-engines.info
Posted by Peter on 02-June-08 at 09:07 ~ ~ Category: cfml , web-dev
Today, 1st June 2008, has been officially decreed as Regular Expressions Day.
And in honour of this event, there are a couple of regex-oriented competitions happening.
Ben Nadel, nominator of this great day, kicked things off with a handful of prizes for the best comments.
June 1st 2008 - National Regular Expression Day!
The deadline for Ben's competition is today - that is, you must post the comment on (or before) RegExp Day, and the winners will be selected tomorrow.
Don't despair if you miss that though, as Steve Levithan also has a regular expression competition running, and the deadline for that is Friday 13th, almost two weeks from now.
Regex Day Contest
Happy Reg Ex Day!
Posted by Peter on 01-June-08 at 14:48 ~ ~ Category: web-dev , misc
This weekend I uploaded my sister's updated website, designed to showcase her skills and abilities in the four gallery categories, Weddings & Events, Floral Art, Paintings and Floral Design.
You can access the website at siobhanboughton.com
From a technical perspective, it is a Fusebox-based application, with a small amount of CFML logic, but is mostly only HTML and CSS.
Posted by Peter on 18-May-08 at 12:47 ~ ~ Category: web-dev
The code for my QueryParam Scanner has been uploaded to RIAForge.
QueryParam Scanner is a simple tool which scans your code for queries and reports back about any variables that are not inside <cfqueryparam/> tags.
Download QueryParam Scanner from RIAForge.
Posted by Peter on 06-April-08 at 17:42 ~ ~ Category: cfml , projects
I have just released Java RegEx Utilities on RIAForge, which is a CFC enabling easy access to Java Regular Expression functionality, adding to what is available in the standard CFML functions.
read more...
Posted by Peter on 05-April-08 at 23:30 ~ ~ Category: cfml , projects
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)
Posted by Peter on 22-February-08 at 11:32 ~ ~ Category: web-dev