Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 A better MOD Architecture?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ericfont
Starting Member

7 Posts

Posted - 26 September 2003 :  11:27:35  Show Profile  Visit ericfont's Homepage  Send ericfont an AOL message
I'm pretty new to Snitz, but I'm an old .ASP programmer. I was looking for some mods for my site and discovered the way to add mods
is to edit and copy/paste .ASP code. I don't like this technique.
What happens when I upgrade to a new version? it overwrites things, that is not nice.

I realize (like other who write .asp files) that the basic limitation with .ASP files is that you cannot dynamically include .ASP files. You can do this:

<include "foo.asp"> but you cannot do it within script code like this:

<%
for i=1 to 100
%>
<include "foo<%=i%>.asp">
<%
next
%>

This prevents us from creating sub-folders underneath the site
like:

mods

and then having general purpose code "dynamically" load the new
mod.

However,

We could build a server based COM Component which is createable
like this:

Set ModManager=CreateObject("Snitz.ModManager")

From the ModManager server, you could iterate over the "mods".

For Each Mod In ModManager
...
Next

Each "MOD" developer could then implement a basic script interface
using scriptlets which could then fill out the required properties and methods such as "Title", "AdminOptions", etc.

Am I making sense here?

Anyone else want to pitch in?

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 26 September 2003 :  11:46:59  Show Profile  Visit D3mon's Homepage
Server-based is the problem.
Most users of Snitz use hosted servers which may not allow 3rd Party COM objects, myself included.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

ericfont
Starting Member

7 Posts

Posted - 26 September 2003 :  14:00:56  Show Profile  Visit ericfont's Homepage  Send ericfont an AOL message
Good point..
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 26 September 2003 :  14:15:55  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
There have been a number of items that we've (collective we as developers/admins/community) talked about adding/changing/etc, but the basic philosophy of this product has always been to run on as many different platforms as humanly possible with as little effort on the users part to implement it.

That's why things have worked as they have (and pretty well, I might add)

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07