Re: PHP tag coloring

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 03/19/04


Date: Fri, 19 Mar 2004 10:52:23 -0500

I don't think the book is wrong, just that is a very very bad idea, since it will cause the page to
have to processed twice (once by the ASP engine and then the PHP engine) before it is render in the
browser, and then if you have errors, well it should be fun trying to fix them. Also both use
sessions which could cause problems.

I don't know of any conversions applications, but I have never looked for any. What I have done is
to look at what the PHP script was doing, and then re-write the same functionality using VBScript.

Also when you look a various sites on the web, you will not see a site using more than one
server-side scripting technology. At least I haven't.

Even with ASP and ASP.net it is not a good idea to mix the two, but can be done.

I prefer to learn one technology and to learn it as well as possible, then to learn a bunch of
technologies and not know any them very well.

-- 
 ==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"chris leeds" <chris@nedp.net> wrote in message news:eW47oScDEHA.3392@TK2MSFTNGP11.phx.gbl...
> so do you think the book is wrong about being able to run php on an asp
> page?
>
> do you know of an easy way to "convert" php scripting to one of the more
> common asp scripting languages?
>
> --
> The email address on this posting is a "black hole".  I got tired of all the
> spam.
> Please feel free to contact me here:
> http://nedp.net/contact/
> --
>
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:##VFzAcDEHA.1744@TK2MSFTNGP09.phx.gbl...
> > ASP coding can be written in VBScript (the most common, and the one you
> will find the most support
> > for), JScript or Perl (as I have read).
> >
> > PHP is a competing technology, and you wouldn't mixed the two, as it can
> basically do everything
> > that ASP can do.
> >
> > --
> >  ==============================================
> > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > WEBMASTER Resources(tm)
> > http://www.ycoln-resources.com
> > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> > ==============================================
> > To assist you in getting the best answers for FrontPage support see:
> > http://www.net-sites.com/sitebuilder/newsgroups.asp
> >
> > "chris leeds" <chris@nedp.net> wrote in message
> news:eonJfhbDEHA.1456@TK2MSFTNGP09.phx.gbl...
> > > which brings me to pose this question to your qualified brain:
> > > when I was reading an .asp book it went on and on about .asp isn't a
> > > language but a platform.  that lots of different languages could be used
> in
> > > an asp page, even PHP!
> > > I'm assuming that the language call atop the page would be like php
> instead
> > > of vbscript.
> > > have you ever seen anything like that?
> > >
> > > --
> > > The email address on this posting is a "black hole".  I got tired of all
> the
> > > spam.
> > > Please feel free to contact me here:
> > > http://nedp.net/contact/
> > > --
> > >
> > >
> > > "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> > > news:uDZ5MwZDEHA.3256@TK2MSFTNGP09.phx.gbl...
> > > > If you learn, say ASP well enough, then you can look at scripts
> written in
> > > PHP, CGI-Perl, etc., and
> > > > then create the same functionality with ASP/VBScript.
> > > >
> > > > Personally I think it is a bad idea and will lead to problem down the
> road
> > > it you use multiple
> > > > server-side technologies in a web site, unless you know you will be
> the
> > > only one always working on
> > > > it.
> > > >
> > > > --
> > > >  ==============================================
> > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > > > WEBMASTER Resources(tm)
> > > > http://www.ycoln-resources.com
> > > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> > > > ==============================================
> > > > To assist you in getting the best answers for FrontPage support see:
> > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
> > > >
> > > > "chris leeds" <chris@nedp.net> wrote in message
> > > news:e3x7zuUDEHA.580@TK2MSFTNGP11.phx.gbl...
> > > > > I think as a web developer you should be able to use virtually
> anything.
> > > > > Luckily I'm not very proficient at any particular language so I can
> get
> > > by
> > > > > in all without big prejudice.
> > > > > I will say this: <imho> asp/ vbscript is about as easy to look at
> and
> > > > > understand as it gets.  FrontPage tends to leave it alone and it's
> > > pretty
> > > > > easy to modify preexisting applications written in it.</imho>
> > > > > on the other hand there is sooooo much free php stuff out there that
> > > you're
> > > > > probably going to wind up using some of it at some time or another.
> > > Lets
> > > > > say you've got a client with a car lot and not a ton of money to
> spend.
> > > you
> > > > > hunt through hotscripts to look for a place to start, etc. and there
> is
> > > a
> > > > > php app that looks like it's pretty close.  you're going to use it,
> or
> > > at
> > > > > least you should at least consider it.
> > > > > If you can get a big headstart on a project because there is some
> free
> > > open
> > > > > source script package out there.......
> > > > >
> > > > >
> > > > > --
> > > > > The email address on this posting is a "black hole".  I got tired of
> all
> > > the
> > > > > spam.
> > > > > Please feel free to contact me here:
> > > > > http://nedp.net/contact/
> > > > > --
> > > > >
> > > > >
> > > > > "Eliezer Kanal" <anonymous@discussions.microsoft.com> wrote in
> message
> > > > > news:521B29DB-9D9E-41C6-A0B8-9A5A97E563DB@microsoft.com...
> > > > > > This deviates from the original question a bit, but I'm interested
> in
> > > > > hearing what you folks have to say... as a web developer, why should
> I
> > > use
> > > > > .asp over .php?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: PHP tag coloring
    ... > have to processed twice (once by the ASP engine and then the PHP engine) ... > server-side scripting technology. ... > Even with ASP and ASP.net it is not a good idea to mix the two, ... > FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.client)
  • Re: PHP/HTML/FP question
    ... I found a real nice .asp editor that's got a way cheaper license ... than the php one im using. ... I'm actually thinking of making an asp version. ... Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.client)
  • Re: Slightly OT; Opinions on Forum type software
    ... you tawked me into it...and so far i like the webwiz one. ... | asp to an access db is the easiest with FrontPage since you won't have to ... asp is just easier on my brain than php and FrontPage gets ...
    (microsoft.public.frontpage.client)
  • Re: PHP vs. ASP
    ... Malbolge is light years beyond VBScript. ... > ASP. ... > programming languages existing today. ... protocol, not a language, so when people say something like "ASP vs PHP" ...
    (comp.lang.php)
  • Re: PHP tag coloring
    ... so do you think the book is wrong about being able to run php on an asp ... do you know of an easy way to "convert" php scripting to one of the more ... > FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... that lots of different languages could be used ...
    (microsoft.public.frontpage.client)