[thelist] ASP or DHTML - when to use?

Michael Pemberton mpember at phreaker.net
Fri Sep 7 08:26:08 CDT 2001


It can depend of how often the content changes.  If it changes often and
there is a common component that will remain the same, the ASP (or PHP,
JSP, etc) will allow you to use a single template to insert the content
into.

I personally use PHP to perform any of the "tweaking" that will control
WHAT the user recieves.  I use DHTML on the client side to control HOW
the content is displayed.

You can see this as part of my DHTML API site here:
http://members.evolt.org/mpember/afroapix/

The layout remains the same as the user browses through the page because
I use a client side method of downloading content.  This means that once
my PHP backend has generated the content, that is all that needs be sent
to the user.

"Flavia Silveira-Tarzwell (FayeC)" wrote:
> 
> Hi Joel,
> 
> But how do you choose to develop a site in ASP or just HTML? If there is
> a project that could be  developed in DHTML as easy as in ASP, which one
> would you choose?
> I have a site that I could develop using DHTML or ASP and I wonder if
> there's any benefits in going with ASP. I also need to explain to the
> client why I chose to go with it....
> So is there any guideline for that?
> 
> Thanks again,
> 
> FayeC
> 
> Joel D Canfield wrote:
> >
> > On NT, if you use the asp filename extension, it parses the entire file,
> > looking for server side code to play with. It's supposedly quite a
> > performance hit. On Win2K, it checks for code delimiters first, and if it
> > doesn't find any, sends the page without further parsing. According to
> > Microsoft, a negligible performance hit. I have no empirical data to support
> > either supposition, just MS's word for it. No idea if the same concept holds
> > true for php, but while I've seen sites that mix asp and html extensions,
> > php sites always appear to be php only (but if anyone wants to educate me it
> > would be appreciated.)
> >
> > joel at spinhead.com
> >
> > -----Original Message-----
> > From: thelist-admin at lists.evolt.org
> > [mailto:thelist-admin at lists.evolt.org]On Behalf Of Flavia
> > Silveira-Tarzwell (FayeC)
> > Sent: Thursday, September 06, 2001 5:56 AM
> > To: Evolt
> > Subject: [thelist] ASP or DHTML - when to use?
> >
> > Hi,
> >
> > I was wondering about how you guys define when a site needs to be
> > developed in ASP/PHP or just to use plain DHTML.
> > I have a friend that uses the asp extension even when the page doesn't
> > have any asp code is it....
> > What are the guidelines to make that choice?
> >
> > Thanks in advance,
> >
> > FayeC
> >
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

-- 
Michael Pemberton
mpember at phreaker.net
ICQ: 12107010





More information about the thelist mailing list