August 31, 2011

Dallas TechFest Slide Deck Available

I forgot to post this earlier, but a slightly-edited version of the slide deck for my talk at Dallas TechFest on Sitefinity is available for download now.

Making Sitefinity 4 Control Templates Easier


One of the great things about Sitefinity 3 was that you could add a couple of attributes to your controls and have a great design experience with little to no additional effort. The steps you have to go through to get the same thing in Sitefinity 4 are, well, insane. Take a look at this...six files for what you used to be able to do in one. There had to be a better way.

What I'm sharing today is pre-alpha, but is a large step towards bringing back attribute-based design experiences.

First, download the ZIP file with the code. It contains four files: DesignerScript.ashx, DesignerScript.ashx.cs, EmptyLayout.ascx, and GenericDesigner.cs. Drop all four files in the root of your Sitefinity 4.2 or higher project and ensure they're included in the project.

Second, add the following attribute to your UserControl's class:
[ControlDesigner(typeof(GenericDesigner))]

If you get a red squiggly on that class, add "using Telerik.Sitefinity.Web.UI.ControlDesign;" to your using clauses.

That's it. The new system respects the Browsable and DisplayName attributes, gives you checkboxes for booleans, basic validation for integer types, and if your property is a string type with "Html" in the property name, it will spit out a text area for you instead.

Lots of work still to do as you can see from the comments in the code, but this is a step in the right direction for the product.

August 25, 2011

Infections Suck...

Sorry about the slow progress on RomTerraria lately.

I'm recovering from a (fortunately mild) kidney infection.

Hopefully I'll be able to do some more work this weekend.

August 20, 2011

RomTerraria 2.0 RC5 Available

In this build...

- Infinite Goblin Invasion returns.
- Spawn Eye A Day returns.
- Infinite Blood Moon returns.
- Profanity Filter returns.
- Version number for publish and title bar fixed.

Tooltips and texture pack fixes will be in the next build.

Usual install location applies.

August 11, 2011

RomTerraria 2.0 RC4 Available

In this build...

- Readded real-time clock, but moved it to the lower-right corner.
- Properly wired up 1.0.6 critical attack font to texture pack and internal fonts.
- Made NPC room labels appear in the room and appear slightly translucent.
- Made folder in Terraria save game area for plugins (coming soon).

Check it out.

August 9, 2011

August 6, 2011

RomTerraria Update After 1.0.6

I plan on doing a new version of the RomTerraria launcher shortly after 1.0.6 launches.

I'm expecting major changes, and don't want to waste my time going down a dead-end path in the meantime.

RomTerraria Update After 1.0.6

I plan on doing a new version of the RomTerraria launcher shortly after 1.0.6 launches.

I'm expecting major changes, and don't want to waste my time going down a dead-end path in the meantime.