Author |
Topic |
|
ericfont
Starting Member
7 Posts |
Posted - 26 September 2003 : 11:27:35
|
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
|
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" |
|
|
ericfont
Starting Member
7 Posts |
Posted - 26 September 2003 : 14:00:56
|
Good point.. |
|
|
davemaxwell
Access 2000 Support Moderator
USA
3020 Posts |
Posted - 26 September 2003 : 14:15:55
|
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 |
|
|
|
Topic |
|