Feb 14

ICommentable It's been over a month since my last project update and we are due to give out another update.

First, we are slightly behind on the release. We have been trying to coordinating with the core BlogEngine.NET team regarding some changes we would like to see in the core, so we could release the Photo Gallery Project as more of an extension rather than a whole new project. Unfortunately, due to circumstances beyond our control, this has been slower than what we had originally anticipated.

Some of the design challenges of implementing a Photo Gallery within BlogEngine.NET is re-using the existing code base as much as possible. The good thing is BlogEngine.NET is very well written and can easily be extended and re-factored to fit other, similar purposes, like re-using the Comments implementation for Albums and Photos. The bad thing is if we extend or re-factor code within any of the core classes, the core BlogEngine.NET teams needs to incorporate and merge them into main source code tree.

And sometimes even a small re-factoring change can have a large impact on the code base in terms of the number of files affected. This leads to increased dependency and communications with the core team, and they have their own priorities and vet process prior to incorporating it. All this, unfortunately, slows down the overall process.

In the mean time, we have not stopped working. In fact, we have been looking ahead and trying to determine how we want to installation and deploy the Photo Gallery Extension.  We would like to make this as simple as possible. So we have decided to go ahead and add one additional item to our to-do list prior to our first release - we are going to separate Photo Gallery business logic into it's own .NET assembly. Basically from an end user perspective that means we will wrap up most of the core functionality (excluding web pages) into a dedicated DLL. Then end-users would have the option to download and deploy just the DLL and not the full source code, similar to how BlogEngine.NET is distributed today.

Since the PhotoGallery project adds several new web pages for the Photos, Albums, and the Gallery, and associated administration pages, the process would involve copying those files to their appropriate directories within the BlogEngine.NET virtual directory. We are still working on a way to makes this as easy and seamless. We are very open to guidance and suggestions in this area.

Related posts

Comments

Dan Atkinson

Posted on Saturday, 16 February 2008 11:11

Hey there!

I would start by simply offering a 'root level' download which is simply a zip file with the files in the relevant folders that they're intended to be in, starting from the root where the App_Code, App_Data etc folders for DotNetBlogEngine are contiained.

This way, people can simply copy/paste into their root, and won't have to worry too much about moving files as the structure is there in the zip file.

Nigel

Posted on Tuesday, 26 February 2008 06:55

Really looking forward to this project being part of BE.Net. Will really make BE.Net a cut above the rest. Good Luck

Justin Wendlandt

Posted on Saturday, 1 March 2008 05:08

I would say the best bet on this is to put everything in a DLL and allow people to add it to a page through Custom Control Injection (which already works through BlogEngine).

So the idea is that you create your custom controls by inheriting the Control object:

public AlbumControl : Control {
...
}

and override the controls OnInit method.

This way when I would want to put a control I can insert this into a page :

[Control:AlbumControl DirectoryID="..."] etc.

I don't remember the exact syntax for Control Injection, but you can look it up at Mads website. The idea here would be that there would be no aspx files and everything would be built into the .dll file and referenced from a page item.

If that doesn't allow the functionality that you need then you could do the interfacing through an extension and still allow people to put it into a page through the normal administration methods.

Just my 2 Cents.

Brian Kim

Posted on Tuesday, 15 April 2008 09:32

I am also looking forward to the release of this project.
I wish this was a part of BlogEngine.NET instead of being an extension though...
Only then I could say BlogEngine.NET is 'better' than dasBlog.
SubText has built-in photo galleries and multiple blog support, but it lacks in customization and other features.
BlogEngine.NET with built-in photo gallery will definitely be the best out of the three.

Codes Web

Posted on Wednesday, 23 April 2008 03:02

thanks you

tuning car

Posted on Wednesday, 30 April 2008 13:00

Goog blog, thanks for the information is really good.

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Posted on Thursday, 24 July 2008 18:18