I'm just learning how to create ActiveX DLL's for use in ASP pages.
My question is:
Is it better to create all of my functions in a DLL
vs. using Include statements to load a page of functions.
I understand it's much easier to change the ASP page if my code needs
to change, but I am more interested in speed and performance.
For example, is it a bad idea to put a simple function such as:
Public Function GetDomain(strEmailAddr As String) As String
Dim sFnd() As String
sFnd = Split(strEmailAddr, "@")
GetDomain = sFnd(1)
in the DLL or should I just leave it as ASP?
What about text that is never changed (but required in the application), I had the idea of using a public property get to return the text?