Dave Burke : Freelance .NET Web Developer specializing in Online Communities

Sueetie Now a WebApplication Project and Here’s Why

Sueetie has been converted from a Website Project to a WebApplication. I wanted to do it right so I went file-by-file and it’s super clean. Love it!  I hope you will, too.

I converted Sueetie to a WebApplication because I’m laying the groundwork for Gummy Bear v1.4 which will be focused on custom development, and for custom development we needed a WebApplication. The project type hasn’t been an issue to date because I do all Sueetie development on Windows 2008 Server.  I actually like Website projects. It’s good enough for both BlogEngine.NET and YetAnotherForum.NET so it’s good enough for Gummy Bear!  But to fire-up a Sueetie .SLN with multiple WebApplication and Website projects for development in, say, Windows 7 Premium, we need a WebApplication at the top leading the way. More on that when we get there.

Some guys will love this news, others will hate it, and still others couldn’t care less, but it's clear the upgrade from Gummy Bear 1.2 to 1.3 will be a bit more interesting now. Sorry about that. I converted Sueetie.com with the new project files and it wasn’t painful at all.  DBVT.com conversion is up next. I promise to provide good upgrade instructions in the Gummy Bear 1.2 to 1.3 Upgrade Guide.

If converting to a WebApplication wasn’t enough, it also seemed a good time to restructure Sueetie Theming logic to what it should have been all along, a single THEMES directory per theme (like BlogEngine.NET and YetAnotherForum.NET, coincidentally) rather than being distributed in /styles/[theme], /images/[theme] and /masters/[theme].  I’ll discuss theming details later, but for now here’s a quick screenshot of the new theming structure. You’ll notice we’re breaking out content like menus and list view controls to support more theme separation.

Image

Oh, and while I was at it, I completely revamped the Administration area, with folders by area and each administrative area having its own default page (screenshot below.)  The new WebApplication Overview Wiki Document follows with additional info and screenshots.

____________________ 


A Quick History, or...Why a WebApplication Project

First a definition of the Sueetie Web. Sueetie Web is the top-level area of a Sueetie site which is not a part of one of the Sueetie applications: BlogEngine.NET blog, Gallery Server Pro media gallery, YetAnotherForum.NET forum, or ScrewTurn wiki library.

Also by way of definition, Sueetie started out as a Website Project but was converted to a WebApplication Project to better support custom development. A Website project processes and stores files differently than a WebApplication Project. In the most simple terms, Website projects require all code files to exist on the website server and are compiled when needed. Code files in a WebApplication project, on the other hand, are compiled as a single binary DLL file once when the site is loaded into server memory.

Website format verses WebApplication format

Below left was the website view of Gummy Bear, at right the webapplication view containing far fewer files and folders.

Image

Admin Area Restructured

Sueetie Administration has been restructured in breaking out the administration files by function. Below left is an excerpt of the website administration area format, at right the new webapplication format by category.

Image

The Administrative area's default page now displays links to the various administrative areas, whereas previously the default Administration page was the registered members report page.

Image

Consolidated Theme Contents

In the Website version a theme's contents were distributed with its images in /images/THEME, Master files in /masters/THEME and stylesheets in /style/THEME. Now a single /themes directory has been added with all theme content consolidated in /themes/THEME.

Image

The Rise of the Util Directory Area

A /util directory was added to the WebApplication layout to hold various utility and support materials. Examples of content in /util include the Sueetie Search index, Language Resource files, Editors, Email Templates, and so on.

Image

Comments (4) | Post RSS RSS comment feed

Posted on 5/9/2010 5:46:08 PM by Dave Burke
Categories: Sueetie
Tags: |

Related posts

Comments (4) -

5/20/2010 5:45:52 AM Permalink

My lips are sealed.  Smile

WilliamBosacker United States |

5/20/2010 7:02:02 AM Permalink

WGB,

You bastard! Smile  I swear to God, I was going to add a section in the post saying, "Bill, you were right and I was wrong.  SORRY!" But I didn't think you were still "watching."  In any case, YOU WERE RIGHT AND I WAS WRONG!

Great to hear from you...and thanks for the laugh.

-Dave

daveburke United States |

5/20/2010 11:42:02 AM Permalink

LOL!

I knew you would figure it out sooner or later.  The people who promote Website Projects never take into account what they are missing or the amount of work that is required to maintain them if you want to manually add them to your project.  Microsoft evangelists have some really nice ideas, Microsoft's Patterns & Practices are pretty much a programmer's Bible, but you really need to think about your bigger picture when reading the blog posts of their employees.

BTW, I'm getting really close to releasing my framework library.  One of its core features is data/persistence tier abstraction based on a concept by a Microsoft employee.  Microsoft's Enterprise Library is way too large and very bloated, so I took the very simple concept or database abstraction and turned it into a Plug & Play reality.  The most difficult part will be writing all the blog posts on what, why, and how I did what I did.  Smile

P.S. It doesn't look like these comments are picking up my display name by default.

Bill Bosacker United States |

5/20/2010 11:47:55 AM Permalink

Bill,

Good to hear you're still working on that framework.  

I realized only the other day the shortcomings of my comment system, both here and sueetie.com.  If I'm going to require registration then I can certainly get rid of the usual comment fields. Thanks for the reminder.

Talk to you later,
Dave

daveburke United States |

Pingbacks and trackbacks (3)+


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke