FrontPage: Simple Is This Possible Question?

M

MalvernBry

Hi,
FrontPage is not my area but I'm thinking of using FrontPage (or any
other HTML editor) as a tool in a bigger project. At this stage I just
want to know if what I have in mind is allowed/possible.

I want to use FrontPage (or simular) to write a number of HTML pages.
Most of these will be very simple - a few lines of text and a button.
Others may have a few check boxes, a text input box and a choice of
buttons. Nothing I'm sure a '101' user can't do on day one! Thus
creating a large 'document' but made of individually very simple pages.

But I also want them to be able add pre and post processing 'code'.
This code I will (later, at 'run-time') remove, modifing the HTML
according to it and then display the 'pure html' in a browser window of
my own application.

I guess ideally this code should be outside the <HTML></HTML> area -
just to make identifing it easy for me. So something like....

@@Assign DOB = SCREEN2.DOB
@@Assign SURNAME = SCREEN1.SURNAME
<HTML>
etc etc

(I'm using '@@' just to identify the code to myself - could be
anthing.)
Is this possible? What will the user see within FrontPage? Will
FrontPage ignore the 'code' or display it?

If the above is not possible, what about 'User Defined Tags'. Are these
allowed? Are they easy to insert? Again, what does the user see. So...
<HTML>
<@@Assign DOB = SCREEN2.DOB>
<@@Assign SURNAME = SCREEN1.SURNAME>
etc,

The idea of pre/post processing a html page I thought up. But on the
grounds nothing is new.... Do other packages do this? Is there a
standard way to do so? Is there a name for this??

And while I have the ear of a FrontPage Guru...
Are there tools in FrontPage to keep track of pages and links? To
ensure all links are valid and all pages referered to? If a page is
deleted, will it warn me of (and find) broken links?

Many thanks
Bryan
 
K

Kevin Spencer

But I also want them to be able add pre and post processing 'code'.
This code I will (later, at 'run-time') remove, modifing the HTML
according to it and then display the 'pure html' in a browser window of
my own application.

What you're talking about has been around for many years in many flavors.
Microsoft has ASP (Active Server Pages) and ASP.Net (for the .Net platform).
There are also CGI, PHP, JSP, and any number of other technologies
available.
And while I have the ear of a FrontPage Guru...
Are there tools in FrontPage to keep track of pages and links? To
ensure all links are valid and all pages referered to? If a page is
deleted, will it warn me of (and find) broken links?

Yes, there are.

--
HTH,

Kevin Spencer
Microsoft MVP
Bit Player
http://unclechutney.blogspot.com

Expect the unaccepted.
 
M

MalvernBry

Thanks for your quick response.

Yes, know (and use) ASP and aware of the others.

Guess I'm thinking of something very much more tailored to a specific
job. (And if I'm honest, to tie my customers into my product.)

Ok, lets make the question general. Is it possible (is it easy!) to
include preprocessing code (for ASP or for a unknown product) into
FrontPage? Is this code displayed (as text) in FrontPage, ignored, or
does it generate an error?

Bryan
 
M

Murray

Any "pre-processing" would be done by some client-side code. As far as I
know only Java or javascript fill that bill with any degree of reliability
for general use, and Java is not nearly as reliable as javascript.

So, it's possible to do something like that. But devising a system where
the pre-processing would be able to communicate with any post-processing
(like ASP, PHP, etc.) would be right tricky.

I think the practical answer to your question is "no".
 
J

Jens Peter Karlsen [FP-MVP]

Yes, Frontpage will show the code. However the question should be if
the browser will see the code and there the answer is no.
Browsers don't see serverside code but only the html that is
generated.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top