From owner-freebsd-isp Mon Oct 23 15:46:14 2000 Delivered-To: freebsd-isp@freebsd.org Received: from workhorse.iMach.com (workhorse.iMach.com [206.127.77.89]) by hub.freebsd.org (Postfix) with ESMTP id AD55A37B479 for ; Mon, 23 Oct 2000 15:46:10 -0700 (PDT) Received: from localhost (forrestc@localhost) by workhorse.iMach.com (8.9.3/8.9.3) with ESMTP id PAA22986; Mon, 23 Oct 2000 15:49:27 -0600 (MDT) Date: Mon, 23 Oct 2000 15:49:27 -0600 (MDT) From: "Forrest W. Christian" To: Jim Weeks Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Best alternative to asp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: <% for ($size=0;$size<5;$size++) { %> This is a sample of size <%=$size%>
<% } %> "Traditional ASP": <% for size=0 to 5 %> This is a sample of size <%=count%>
<% next %> 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