Tuesday, November 30, 2004

systemwebmail.com
good site to introduce the webmail in .net framework

Sunday, November 28, 2004

Some delphi guys complain that there are no class reference in java and .net, such as

type
BaseClass = class
constructor Create; virtual;
...
end;

BaseClassRef = class of BaseClass

DerivedClass1 = class (BaseClass )

DerivedClass2 = class (BaseClass )

RegisterClass(DerivedClass1);
RegisterClass(DerivedClass2);
...
var
AClassRef : BaseClassRef ;
begin

//the class name can be stored in a configuration profile
AClassRef := BaseClassRef(FindClass('DerivedClass1'));
...
end;


Now, we could do the similar thing with a java IOC framework PicoContainer.

Interface BaseIntf

class DerivedClass1 implements BaseIntf

class DerivedClass2 implements BaseIntf

public void () {
MutablePicoContainer pico = createPicoContainer(null);
pico.registerComponentImplementation("DerivedClass1",DerivedClass1.class);
pico.registerComponentImplementation("DerivedClass2",DerivedClass2.class);
...

//the class name can be stored in a configuration profile
BaseIntf t = (BaseIntf) pico.getComponentInstance("DerivedClass2");
assertNotNull(t);
}


PicoContainer has .net portion too.

Tuesday, November 16, 2004

Spring.NET - Application Framework

http://www.springframework.net/doc/reference/index.html

This release contains a lightweight container with IoC / Dependency Injection functionality comparable to that found in the Java based Spring framework. Highlights include

  1. Constructor and Setter based Dependency Injection
  2. Factory method creation
  3. Inheritance of object definitions
  4. Support for .NET application configuration files
  5. Event wiring
  6. Autowiring of collaborators
  7. Singleton/Prototype creation modes

Friday, November 12, 2004

pinvoke.net: the interop wiki!
It is a site that attempts to address the difficulty of calling Win32 or other unmanaged APIs in managed code

Thursday, November 11, 2004

use IOCP in thread

use IOCP in socket

IOCP is most efficient method in Win32 thread and Socket programming, but it requires much more work.
Contexts in .NET: Decouple Components by Injecting Custom Services into Your Object's Interception Chain -- MSDN Magazine, March 2003

Aspect-Oriented Programming Enables Better Code Encapsulation and Reuse

ContextBoundObject is a nice way to implement AOP in DotNet, but it is a little expensive.
DHTML Menu 4 (WebFX)
version 3 allowed menus to cover windowed controls,
version 4 can be displayed outside the physical boundaries of the browser window.
MyXaml - Home
a Open source XAML framework, it is based on Winform.

Monday, November 08, 2004

URLDownloadToCacheFile

A very useful Windows platform API, it Downloads data into the Internet cache and returns the file name of the cache location for retrieving the bits. it is widely used by auto-upgrade of rich client application.
Manageability - Open Source Workflow Engines Written in Java

Sunday, November 07, 2004

ActiveWidgets :: dhtml grid, javascript tables, .net datagrid, asp controls, php widgets
This controls set includes a scrollable javascript grid that looks like win 32 grid, it could be used in open source project for free, but not in commercial project.

Thursday, November 04, 2004

Open-Source ADO.NET XML Provider -- WilsonXmlDbClient v1.0
Although the regular ADO.net DataSet has some methods such as ReadXml, WriteXml, but they are not good enough to handle complex XML document


SOA Editor from capescience.com
a tools to edit WSDL file, but it seems as if this tools doesn't support asp.net web service