This topic is locked

FEATURE REQUEST.

3/15/2008 9:44:10 AM
ASPRunnerPro General questions
W
Wazup author

It would be nice if ASPrunner would offer an Option (with listings) of files to Overwrite/Generate BEFORE generating.
I used CodeCharge and ASPmaker for years and they offer this feature.
The reason being is that last night I was working on a project and it overwrote some files that I had modified with calls to some COM components. Had to re-edit.
Nice feature to have.

G
goomba 3/16/2008

What a great idea. Would these guys do something with Requests?
I didn't see any place to post them.

A
agruspe 3/16/2008

The forum section is called SUGGESTIONS for ideas/requests to be incorporated on future versions.
Here's the link http://www.asprunner.com/forums/index.php?showforum=10
Hope this helps.

W
Wazup author 3/17/2008

Arnel, thanks.
I looked the other day, but I guess these old eyes missed.
Cheers.

Sergey Kornilov admin 3/17/2008

We have had this feature planned for years. Every time there is something that stops us from implementing it.
There are some considerations that can help.

  1. If you modify some files manually you have to manually exclude them from being rebuilt every time.

    You forget it once you lose your changes.
  2. Every project change affects several files. If you prevent of them from being re-generated your application may not work properly. It makes extremly hard to troubleshoot errors as well.
  3. If you modify generated files you have no way to upgrade your project when new version is released.
    That's why we recommend to use the following whenever it's possible

  • events
  • headers/footers
  • visual modifications to be made in Visual Editor
  • as a last resort you can save your project as a template and customize it according to your needs

W
Wazup author 3/18/2008

We have had this feature planned for years. Every time there is something that stops us from implementing it.

There are some considerations that can help.

  1. If you modify some files manually you have to manually exclude them from being rebuilt every time.

    You forget it once you lose your changes. Yeah found this out real quick!
  2. Every project change affects several files. If you prevent of them from being re-generated your application may not work properly. It makes extremely hard to troubleshoot errors as well.
  3. If you modify generated files you have no way to upgrade your project when new version is released. Yup, major pain.
    That's why we recommend to use the following whenever it's possible

  • events
  • headers/footers
  • visual modifications to be made in Visual Editor
  • as a last resort you can save your project as a template and customize it according to your needs


Gotcha.
So, we're using Headers and footers.
It's just a bit of a pain having to remember to do so. Ah well, onward and upward.
I have another post regarding "Re-usable Code", so I think that one pretty much sums this one up as well.
One question however, in the Events (say before edit), can I put a #include directive in the editor to load my page? I've tried a couple of times and get ASP runtime errors (i.e. Firefox and IE bark at me). That would save a lot of editing.
Thanks.

Sergey Kornilov admin 3/19/2008

You can not use include directive in events.
I recommend to add includes to header.asp file.