Dev Log Date 16.08.06 - The Migrator - New Features

Right, here's the list of new features, that the migrator has gotten today:

  • AJAX
  • AJAX
  • and more AJAX
  • along with a splattering of Threading for the eventual processing and migrating to Community Server, lol.

As you can see, there's AJAX, alot of it, lol, well not really, there's one AJAX .net control on that page, although it's the main content, lol.

I've had to move The migrator form needing 3 DLL's and a web.config change, to needing 3 DLLs and a .aspx page, lol.  The aspx page looks like this:

<%@ Page Language="VB" %>
<%@ Register Assembly="csmvps.migrator.html" Namespace="csmvps.migrator.html" TagPrefix="mvps" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<mvps:PageTitle ID="PageTitle1" runat="server" />
<mvps:PageStyle ID="PageStyle1" runat="server" />
</head>
<body>
<form id="form1" runat="server">
<mvps:PageContent ID="PageContent1" runat="server" />
</form>
</body>
</html>

Nice and simple?? Lol, it's got 3 controls in it, all of which are the migrator stuff, lol.  The PageContent is the control that generates the AJAX, and the page content strangely enuf, lol Stick out tongue

 

Right, a bit on the interfaces that the migrator uses, well the provider DLL anyhow (csmvps.migrator.%program%.DLL), lol, here's a list:

  • Imainpage (implemented from: csmvps.migrator.core.Imainpage)

Public Interface Imainpage

            Sub renderapps(ByRef writer As System.Web.UI.HtmlTextWriter)
            Sub rendermodes(ByRef writer As System.Web.UI.HtmlTextWriter)

End Interface

  • Imigrations (implemented from: csmvps.migrator.core.Imigrations)

Public Interface Imigrations

           ReadOnly Property list() As List(Of migrationlist)

End Interface

This interface you put the code for generating the list, lol

  • Imigrationthread (implmented from: csmvps.migrator.core.Imigrationthread)

Public Interface ImigrationThread

           Sub setmigration(ByVal app As String, ByVal version As String, ByVal mode As core.common.Migrate, ByVal db As common.database, ByVal query As String)
           Function querythread() As String
           Sub worker()

End Interface

This class houses all of the worker code for migration. Very nice, lol.  The core DLL will eventually house the CS routines for creating users, that way there's in the 3rd DLL

Right, that's about it, nice and complex, lol.  I've still gotta get one of the other MVP's to explain to me how to make it into a provider based arrangement, lol

/* end of log */


Posted Aug 16 2006, 08:59 PM by Nick