cftopper.com

Prototype.js documentation?

This Prototype javascript library that everybody is talking about looks to be fantastic but where the hell is the documentation? I mean apart from the Sitepoint article and a few others theres no official documentation (or even a promise of documentation en-route)!

I've just done a big of digging and have just found that Sergio Pereira has just written "Developer Notes for Prototype.js" which is an excellent introduction to the prototype library. In his notes, I found a good overview of the main reason I am thinking about using prototype.js at the moment - it's easy-to-use but powerful Ajax framework.

I have to say I am very impressed with the Ajax.Updater class which will just shunt a bit of HTML returned from the server into place on your existing page with almost no developer effect:

var myAjax = new Ajax.Updater(
'placeholder',
url,
{
method: 'get',
parameters: pars
});

I like it!!

Tags: Javascript

cfTopper CMS

I think the site administration for cfTopper is pretty sweet. I should point out that the CMS for cfTopper is build on Digital Crew's InfinityCMS platform yada yada... we've been continually developing it for a number of years, slightly improving it for each new client site we develop. InfinityCMS makes is easy to knock out a custom CMS for just about anything.

Here is quick screen of what the CMS for cfTopper looks like:

cfTopper CMS

24hr bug strikes down Topper

I had a slight pain in my stomach yesterday afternoon and thought nothing of it. That escalated into what felt like my stomach was digesting itself with all sort of funny sounds emanating from by body - don't ask. I'm told that I probably have a 24 hours bug. Feeling a little better today but still not 100% better - using this as a great excuse to work from home (ie. stay in bed).
Tags: Musings

Idea: Simple Load Balancing

There I am lying in bed drifting off to sleep... my mind wanders... I start thinking about servers and bandwidth (yes I know I am extremely weird) and it occurs to me that it would be relatively easy to share a load across multiple web servers by having one the master server send a redirect header to another server to share the load.

Effectively we could have a number of different servers running distinct web sites. Then when one server is not busy it could help out another server by hoarding and serving the most-used simple (images, CSS etc.) content from a local cache.

A rough gist of how it might work:

  1. All servers in the cluster stay in touch informing each other when they are not too busy.
  2. A server that is busy will ask the other servers to help it share the load, the other servers will respond by saying OK, and then downloading and caching some simple content - CSS, images etc.
  3. The busy server can now send simple redirects headers back the web browser informing the browser to fetch the content from one of the other servers. Tada! -  -  the non-busy servers will help serve the content - simple load balancing.

OK, somebody's going to get back to me a say that there will be a slight delay caused by the redirect header but come on we're talking milliseconds and the end would certainly justify the means.

Is it feasable?... well it could be implemented by developing a simple ISAPI filter. I don't think the actual programming would be nearly as easy as the principle, there'd be loads of factors to take into consideration, cache management, cache size, most effective load-balancing algorithm (round robin etc), inter-server communication... but it'd be a pleasure to solve those problems.

The end result is that a company who own 10 servers serving completely different websites can force those servers to help each other out greatly reducing the strain on any one server... sure they can't all be busy at once! Messing

You thoughts would be appreciated. I may be crazy... I'll go away and program the comment part of this site now so you can have your say (check back if its not done).

Tags: Ideas | Musings

What a start!

What a start to my blogging... I just accidentally deleted my first blog post that I made last night. and no, I checked, there was no backup. How depressing. I'll go rewrite it this evening. Too much work to do now.

Update

Amazingly I did find a backup I made last night just before shutting down the laptop... the original post is back in place. All is well.

Tags: cfTopper.com

And so it begins

It was a long time coming but I've gone and jumped on the blogging bandwagon.

The purpose of this blog

I guess I should write about what the purpose of this blog is and set some goals... Well mainly this blog will be about ColdFusion Application Development interspersed with my crazy ramblings.

I'm going to also make an effort to contribute to the ColdFusion community by using this site to give out tips, tools and thoughts on all things ColdFusion.

I decided to program this blog from scratch instead of using an existing engine such as Ray Camden's BlogCFC. Why? Well, um, BlogCFC doesn't rock my boat is one reason, the other is that I wanted maximum flexibility. Or is that I just don't like using other peoples code. I don't know. Anyhow, it's done now. So far I've invested much more time developing the CMS for this site that actually creating the site. Already I'm feeling that the design is a bit old. I stumbled on a few great sites during the development of this site that impressed me lots... but I really did want to keep this site light and simple.

Some features I'll be adding

  • Right Hand Side Column - I haven't done this yet because I want to do something slick here - probably flash.
  • RSS Feeds
  • Comments Engine
  • Who am I blurb
  • Fixing the shadow effect on post titles - Sam reckons the shadows could be much better *shrugs*
  • Improving overall design - colours etc. Load of ideas, so little time. 
  • Actually add good content - I have a good few ColdFusion tools I've developed over the years, some of which I find invaluable. I'll be sharing them all. Check back!

If you have any ideas, let me know - topperATcftopper.com.

Tags: cfTopper.com

About Topper on ColdFusion

Peter Coppinger aka Topper is a neurotic web monster who spends most of his chaotic life developing ColdFusion web applications when not drinking himself into a stupor and scheming his plans for world dominance.

Peter founded Digital Crew way back in 1999. Digital Crew run CFTagStore.com and have also produced lots of powerful ColdFusion tools like ProFlashUpload and CFMyAdmin.

I made this site to share my thoughts, tips and tools with fellow ColdFusion developers.

If your a ColdFusion developer, go ahead and subscribe to this site and in exchange i'll try to provide quality content to make it worth your while.
RSS Feed for Topper on ColdFusion

I'm speaking at CF-United Europe!

CFDevCon I'm going to be speaking at CFDevCon08! It's my second time speaking in front of more than 10 people so please lend your support.

The topic is:
Introducting TeamworkCMS and Site Engine - Building better websites in half the time or something like that..

Digging

My Work - Just Finished

  • modules.cit.ie
    Web-=based modules/programmes designer tool and database system for Cork institute of technology.
  • Teamwork Project Manager
    The top secret project is finally released. The project management app will rock your world - give it a go.
  • PMG
    New website for Project Management Group website.
  • Digital Warehouse Wholesale
    Added wholesale products to existing client website.
  • New Digital Crew documentation website
    New version of documentation.digital-crew.com using new InfinityCMS site engine. It's done now. Just add content.
  • PFH Company Webite
    New website/CMS/Newsletter System for prestigious Irish IT company.
  • Module Manager for CIT
    CIT is switching to module based courses. We are making an application for managing/submitting these modules. Gettig there.
  • Bons Secours Cork Hospital Intranet
    New Intranet for Bons Secours hospital in Cork. Considering turning this Intranet system into stand-alone product.
  • Revamping InfinityCMS
    I'm making major improvements to our content management solution, InfinityCMS. Making it faster, more powerful and easier to check into/out-of source control. Done but it's always going to be evolving.
  • BPC Update
    Minor functionality update for internal Pfizer Best Process Chemistry project.