473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

ASP and 'webpage/site milling'

Si
Hi there.

Apologies in advance for the long post. and possible repetitions.

Is there a way in ASP to process the output from an access database to
generate html files using file system object.

I found a link that goes some way there with .net
(http://www.asp101.com/articles/matte...ng/default.asp)

The reason I ask is this. I have a database that is starting to grow
(possibly) beyond the performance limits of access and I don't know
enough about (or can afford) a copy of MS SQL. Also to keep server load
down and improve on search engine performance with quite a few sites
hosted on my server now, I feel it would be good to mill a static site
everytime the database is modified, this would be 2 or 3 times a week.
Perhaps I would have a button to mill the site within the admin area so
this could be done late at night.

What I would like to achieve is to produce the following as static
files, they are currently built on the fly.

A navigation 'include' file. Standard for of left nav to populated
categories in the database.

Category listing pages, split into 10 results per page with a link to
next and previous pages.

Single product webpages.

I would leave the main search page as a dynamic ASP page.

Any advice or links would be greatly appreciated. I can find plenty of
information for PHP, but not ASP.

TIA

Si

Jul 22 '05 #1
11 1084
Si,

How big are your Access table(s)? record counts?

How many simultaneous users do you have? - ave and max

Are these users updating the database or just reading?

Brian

Jul 22 '05 #2
On Thu, 13 Jan 2005 19:00:01 +0000, Si
<simonATthedigitalvisionDOTcoDOTuk> wrote:
Is there a way in ASP to process the output from an access database to
generate html files using file system object.
No. But you could do it with VBScript... :)

(ASP is a technology, not a language)
I found a link that goes some way there with .net
(http://www.asp101.com/articles/matte...ng/default.asp)

The reason I ask is this. I have a database that is starting to grow
(possibly) beyond the performance limits of access and I don't know
enough about (or can afford) a copy of MS SQL.
You want MSDE then. See:

http://www.microsoft.com/sql/msde/
Also to keep server load
down and improve on search engine performance with quite a few sites
hosted on my server now, I feel it would be good to mill a static site
everytime the database is modified, this would be 2 or 3 times a week.
Perhaps I would have a button to mill the site within the admin area so
this could be done late at night.

What I would like to achieve is to produce the following as static
files, they are currently built on the fly.

A navigation 'include' file. Standard for of left nav to populated
categories in the database.

Category listing pages, split into 10 results per page with a link to
next and previous pages.

Single product webpages.

I would leave the main search page as a dynamic ASP page.

Any advice or links would be greatly appreciated. I can find plenty of
information for PHP, but not ASP.


This is really all counter productive, and you should address the
database issues. If you must do this, you'll need to track changed
data, then iterate through a list of what's changed, create a string
with all the HTML code in it then write that string to a file using
FSMO. If you ask about the parts you're having trouble with, you'll
gte help in developing the code for it.

Jeff
Jul 22 '05 #3
Si
Brian Staff wrote:
How big are your Access table(s)? record counts?
The main table holding most of the product data is quite large even
though bridging tables are in use. Record count is not really that
great, averaging between 500 to 900 records at any time.
How many simultaneous users do you have? - ave and max
Simultaneous users average low is 10 to high 25, the max is usually when
the site is being indexed by google et el, then I have seen the user
count jump to sometimes 120 to 130. Although the count is actually
sessions, so these probably aren't simultaneous connections.
Are these users updating the database or just reading?


The main database is only updated infrequently by a couple of admin
users. Generally, the users changing the DB by way of the shopping carts
and profiles etc. These are not very frequent though.

Si
Jul 22 '05 #4
Si
Jeff Cochran wrote:
The reason I ask is this. I have a database that is starting to grow
(possibly) beyond the performance limits of access and I don't know
enough about (or can afford) a copy of MS SQL.

You want MSDE then. See:

http://www.microsoft.com/sql/msde/


Thanks for the link, I'll look into it. I assume I can run MSDE2000
locally, then use the SQl manager on my host server to build the
database and upload my ASP files and this will work? I am correct there?
This is really all counter productive, and you should address the
database issues.
I agree that if I can use MSDE that this may be the way forward.
If you must do this, you'll need to track changed
data, then iterate through a list of what's changed, create a string
with all the HTML code in it then write that string to a file using
FSMO.
I'm still thinking that after a site has been milled, it must surely be
faster and more efficient on the server than a database driven site. If
I do this for a number of sites that I have on my server, it must reduce
the load substantially?
If you ask about the parts you're having trouble with, you'll
gte help in developing the code for it.


Thanks

Jul 22 '05 #5
Si wrote:
Brian Staff wrote:
How big are your Access table(s)? record counts?


The main table holding most of the product data is quite large even
though bridging tables are in use. Record count is not really that
great, averaging between 500 to 900 records at any time.


So far no problem.
How many simultaneous users do you have? - ave and max


Simultaneous users average low is 10 to high 25, the max is usually
when the site is being indexed by google et el, then I have seen the
user count jump to sometimes 120 to 130. Although the count is
actually sessions, so these probably aren't simultaneous connections.


Still no problem, especially if good programming techniques are used
(minimal connection time).
Are these users updating the database or just reading?


The main database is only updated infrequently by a couple of admin
users. Generally, the users changing the DB by way of the shopping
carts and profiles etc. These are not very frequent though.


This is nowhere near the performance limits of Jet. Why do you think you
have a problem?

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #6
I'm with Bob on this one. I see no reason for performance issues based on the
size of the database or the number of users.

What performance problems are you or your clients seeing?

Brian

Jul 22 '05 #7
Si
Brian Staff wrote:
I'm with Bob on this one. I see no reason for performance issues based on the
size of the database or the number of users.

What performance problems are you or your clients seeing?

Brian

I'm replying to this thread and also in relation to Bob's above. Sorry
for the break in the thread!

I have been seeing more and more script time out errors with my host
(time was exceeded while trying to execute script if I remember
correctly, I'll post agin on a different thread next I get this error),
should I mention who they are? I not sure. At first, and until a while
ago I thought it may have been my coding. Although I have to say on my
local server and on 2 previous hosts no problem has occured. I have had
a word with the person who first pointed me towards the host, who has
now actually told me he is having the same messages being pruduced on
his server. For the record, his host server is not the same as mine, so
I am now assuming that it is an IIS set up issue!

Thank you for your help, perhaps it's my host that has not got something
set up correctly.

Si
Jul 22 '05 #8
On Thu, 13 Jan 2005 20:26:27 +0000, Si
<simonATthedigitalvisionDOTcoDOTuk> wrote:
Jeff Cochran wrote:
The reason I ask is this. I have a database that is starting to grow
(possibly) beyond the performance limits of access and I don't know
enough about (or can afford) a copy of MS SQL.

You want MSDE then. See:

http://www.microsoft.com/sql/msde/


Thanks for the link, I'll look into it. I assume I can run MSDE2000
locally, then use the SQl manager on my host server to build the
database and upload my ASP files and this will work? I am correct there?


Probably, though I don't know your host so I can't guarantee it.
This is really all counter productive, and you should address the
database issues.


I agree that if I can use MSDE that this may be the way forward.
If you must do this, you'll need to track changed
data, then iterate through a list of what's changed, create a string
with all the HTML code in it then write that string to a file using
FSMO.


I'm still thinking that after a site has been milled, it must surely be
faster and more efficient on the server than a database driven site. If
I do this for a number of sites that I have on my server, it must reduce
the load substantially?


It would reduce the load on the database. It would increase file
storage requirements, redduce manageability and flexibility and defeat
the purpose of a dynamic site. If you have performance issues with a
database requiring this action, you likely have other more pressing
issues.

Jeff
If you ask about the parts you're having trouble with, you'll
gte help in developing the code for it.


Thanks


Jul 22 '05 #9
On Fri, 14 Jan 2005 00:33:49 +0000, Si
<simonATthedigitalvisionDOTcoDOTuk> wrote:
Brian Staff wrote:
I'm with Bob on this one. I see no reason for performance issues based on the
size of the database or the number of users.

What performance problems are you or your clients seeing?

Brian
I'm replying to this thread and also in relation to Bob's above. Sorry
for the break in the thread!

I have been seeing more and more script time out errors with my host
(time was exceeded while trying to execute script if I remember
correctly, I'll post agin on a different thread next I get this error),
should I mention who they are? I not sure. At first, and until a while
ago I thought it may have been my coding. Although I have to say on my
local server and on 2 previous hosts no problem has occured. I have had
a word with the person who first pointed me towards the host, who has
now actually told me he is having the same messages being pruduced on
his server. For the record, his host server is not the same as mine, so
I am now assuming that it is an IIS set up issue!


That may be an incorrect assumptiion. Hardware issues, overselling
bandwidth or slowdowns caused by other sites on a shared server are
more likely. Best advice, since with two previous hosts you had no
problems, is to find a new hosying service.

Jeff
Thank you for your help, perhaps it's my host that has not got something
set up correctly.

Si


Jul 22 '05 #10
> Best advice, since with two previous hosts you had no
problems, is to find a new hosying service.
Are hosying services better than hosting services Jeff? <vbg>

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com... On Fri, 14 Jan 2005 00:33:49 +0000, Si
<simonATthedigitalvisionDOTcoDOTuk> wrote:
Brian Staff wrote:
I'm with Bob on this one. I see no reason for performance issues based on the size of the database or the number of users.

What performance problems are you or your clients seeing?

Brian

I'm replying to this thread and also in relation to Bob's above. Sorry
for the break in the thread!

I have been seeing more and more script time out errors with my host
(time was exceeded while trying to execute script if I remember
correctly, I'll post agin on a different thread next I get this error),
should I mention who they are? I not sure. At first, and until a while
ago I thought it may have been my coding. Although I have to say on my
local server and on 2 previous hosts no problem has occured. I have had
a word with the person who first pointed me towards the host, who has
now actually told me he is having the same messages being pruduced on
his server. For the record, his host server is not the same as mine, so
I am now assuming that it is an IIS set up issue!


That may be an incorrect assumptiion. Hardware issues, overselling
bandwidth or slowdowns caused by other sites on a shared server are
more likely. Best advice, since with two previous hosts you had no
problems, is to find a new hosying service.

Jeff
Thank you for your help, perhaps it's my host that has not got something
set up correctly.

Si

Jul 22 '05 #11
On Fri, 14 Jan 2005 14:48:51 -0000, "Steven Burn"
<so*******@in-time.invalid> wrote:
Best advice, since with two previous hosts you had no
problems, is to find a new hosying service.


Are hosying services better than hosting services Jeff? <vbg>


Oh, much better. Except the speell chekkers don't work as well... :)

Jeff
Jul 22 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ryan Kaskel | last post by:
Is it possible to get the source of a remote webpage (just the straight HTML) without anything too complicated (like COM, I just want to write a simple script if possible) and write it to a file?...
15
by: qwweeeit | last post by:
Hi all, Elliot Temple on the 1 June wrote: > How do I make Python press a button on a webpage? I looked at > urllib, but I only see how to open a URL with that. I searched > google but no...
3
by: Ole Hanson | last post by:
Hi I am trying to pass a credentials object to a webpage programmatically. I have a winApp (C#) that I want to be able to open a webpage (by starting IE), but the credentials required by IIS...
1
by: Lyners | last post by:
I am trying to figure out how to do this. I have created a form on a webpage that shows users that you can edit or delete. I have a hyperlink to another webpage that adds users. The "Add Users"...
4
by: Joey | last post by:
Does anyone know how to center this sample webpage in Firefox? If so, will you provide the example as it applies to this sample webpage? I have read numerous posts and articles on how to center...
3
by: =?Utf-8?B?Q2hha3JhdmFydGh5?= | last post by:
Hi All, We are working in a web application and we wanted to capture the full webpage into an image file. FULL WEBPAGE means, the page which is below the visibility of the screen and you need...
0
by: Silgd1 | last post by:
Hey everyone, I'm trying to automate a webpage using cPamie in conjection with python 2.4. I can get to the page and login. when I try to click the login button, I receive an out of index error....
2
by: KDawg44 | last post by:
Hi, Is there a way to essentially simulate populating a text box and calling a submit button on a webpage? I want to write an app that gets a users information from a website and then uses that...
3
by: ilija | last post by:
Hello, Can someone please explain me how to make redirection from: www.site.com to www.site.com/dir I have multilingual webpage and default language is english, which means that home page is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.