Archive

Archive for the ‘.net’ Category

CMS Update – Preparing for BETA!

February 4th, 2010 2 comments

It’s been a bit quite round here recently! Don’t be fooled! The CMS is more or less finished. Just refactoring and preparing bits and bobs.

The actual core itself hasn’t really changed in 6 months and is independent from the CMS, it handles all the page, content and control creation with a single base class that you can implement to create page renderers for any page type. Current renderers are the LiveEdit renderer, Content Block, File Include and Rss (Mobile next).

Read more…

Categories: Asp.Net, cms Tags:

Working with vague dates (90′s, Sept 2000 etc.)

December 16th, 2009 No comments

On a recent project I had to allow users to upload their memories. Memories are vague things and I had to enable users to upload and assign incomplete dates. They needed to be able to enter ‘The 90′s’ or ‘September 2000′ as well as complete dates ’1st Feb 2009′.

Read more…

Categories: c# Tags:

Get Rendered Html From a Control

November 16th, 2009 No comments

Whilst working on the CMS I needed to be able to pass back the html a control will render when the user first adds it. The control doesn’t exist on the page yet as the sections are added via javascript. It was very easy to pass in StringWriter to the render function to get the html :)

Read more…

Categories: Asp.Net, c#, cms Tags:

CMS Framework – Update

August 16th, 2009 No comments

Been a bit quiet round here lately but not because I’ve not been working on it ;) I’ve been using it for a project at work and converting a lot of my stuff to be compatible with it.  It’s running  a site atm and doing well.

Alpha State

Mainly in alpha because things may yet change but the following all work
Read more…

Categories: .net, Asp.Net, c#, cms Tags:

Simple Asp.net StringBuilder Literal Control

August 13th, 2009 No comments

It always annoys me that Literal controls only have a text property. This means you have to do:

Literal.Text += "Add me";

Whereas a StringBuilder would make much more sense when building lists etc. Heres a stupidly simple control that just supplies a string builder as the text property. Not exactly a good code example(shouldn’t override the text property etc)  but ideal for this situation. I will write a proper control later ;) Read more…

Categories: Asp.Net Tags:

Creating a CMS Framework – The Plan

May 18th, 2009 No comments

I’ve now written 4 cms’ and have decided as a personal project to create a core system that can easily be adapted to many tasks.  Over the past 4 cms’ I’ve used the same code a lot and created a central core of utils (imaginatively called Gist!) but I want to go a step further and have a central system I can use straight off.

Read more…

Categories: Asp.Net, cms Tags: