Date: Mon, 23 Oct 2000 15:49:27 -0600 (MDT) From: "Forrest W. Christian" <forrestc@imach.com> To: Jim Weeks <jim@siteplus.net> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Best alternative to asp Message-ID: <Pine.BSF.4.21.0010231538001.22944-100000@workhorse.iMach.com> In-Reply-To: <Pine.BSF.4.21.0010231813230.6874-100000@veager.siteplus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Oct 2000, Jim Weeks wrote:
> >Chilisoft's solution is a unix implementation of what I
> >call (visual?)basic/ASP. This is what most people consider asp.
>
> I understand the difference in what drives these two different
> approaches. What I don't understand is what differences it makes in the
> application code. I am afraid that my reluctance to use M$ products is to
> blame for my ignorance on the subject.
(The following code is not tested and I realize it is also not as small as
it could be) And I'm not a vbasic programmer...
Apache::ASP Show all font sizes from 1 through 5:
<html>
<body>
<% for ($size=0;$size<5;$size++) { %>
<font size="<%=$size%>">This is a sample of size <%=$size%>
</font><br>
<% } %>
</body>
</html>
"Traditional ASP":
<html>
<body>
<% for size=0 to 5 %>
<font size="<%=count %>">This is a sample of size <%=count%>
</font><br>
<% next %>
</body>
</html>
Note the "code" in the first example is perl -- the code in the second
example is basic.
They are not interchangable. Thus, you cannot just load Perl::ASP and
expect to use a development tool like Macromedia UltraDev and have it work
- as ultradev (in asp mode) spits out VBasic stuff.
- Forrest W. Christian (forrestc@imach.com) AC7DE
----------------------------------------------------------------------
iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com
Solutions for your high-tech problems. (406)-442-6648
----------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010231538001.22944-100000>
