Re: Perl - Web Development

2003-06-06 Thread Todd Wade

Paul Kraus [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 This may be asking for biased opinions but here goes anyways...

 Is perl still a good choice for the web. For instance I need to setup a
 couple sites that are going to be running on IIS. Is perl still a good
 choice for speed ect...

 Or should I look at the newer technologies such as vb.net on for that
 matter c#.

I really hate playing (mico)devils advocate, but ASP.NET combined with
Visual Studio.NET is really, really, REALLY nice. Mainily what I am talking
about is the debugging features. When you right click on the solution in the
solution explorer, you can choose a file to load in the solution, you can
type in a url to debug, or it has an option that says wait for external
process to connect. Then when you hit F10 the debugger will fire up in
whatever mode that was specified, and debug an enire browsing session, not
just a single request. For example, after the first debugging page loads the
debugger does not stop. If the next link you click or html form you submit
goes back to your server, the debugging session continues. So you can
thoretically step over every line of code in your app from log in to log out
in one debugging session.

And I havent even mentioned intellisense. If you thought VS6 intellisense
was even kind of okay, VS.NETs intellisense is absolutely amazing. Strong
typing is enforced, but it dosent really matter becase intellisense tells
you what data type each function/method returns, so you dont have to dig in
the docs to determine how to declare your object. There is even a XML based
documentation system so you (the class author) can tell your users what
datatypes your functions/methods reurn. The user adds a reference to your
assembly in thiers, and your assembly works just like a builtin .NET class
library.

*nix web development has absolutely nothing like this. The best I have found
is Apache -X and ptkdb for mod_perl, or activestate's CGI environment debugg
ing (that handles perl, python, and PHP) which are mediocre at best when
compared to VS.NET

And then there is the FOR XML clauses in Transact-SQL, a SQL superset
supported by SQL Server 2000. Its, well, really nice.

But I did prototype an app on a redhat mod_perl Apache httpd and it was
noticeably faster than the app I subsequently converted to ASP.NET.

 I know perl and the idea of being able to use the same language in
 everything I do would be great but am I going to take a hit on
 performance. Can it be embedded into html? What is mason does that run
 on IIS.

Embedding logic in markup is a maintanence nightmare. Learn, Live, Love the
model-view-controller pattern. Vive XML.

 I use perl now for admin task and reports(yes perl is good for reporting
 ;) ). I can use the same tools I design on my Linux, UNIX, and window$
 machines. But is it wise to do so for the web. CGI has been around for a
 long time and there are a lot of new emerging technologies.


I learned ASP.NET because I had to for a job. All my freelance work was and
is still developed in mod_perl, if that says anything. I would just like a
nice IDE. VS.NET has spoiled me.

I guess we could make one, Mozilla has alot of the work done already. Group?

Todd W.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Perl - Web Development

2003-06-05 Thread Paul Kraus
This may be asking for biased opinions but here goes anyways...

Is perl still a good choice for the web. For instance I need to setup a
couple sites that are going to be running on IIS. Is perl still a good
choice for speed ect...

Or should I look at the newer technologies such as vb.net on for that
matter c#.

I know perl and the idea of being able to use the same language in
everything I do would be great but am I going to take a hit on
performance. Can it be embedded into html? What is mason does that run
on IIS. 

I use perl now for admin task and reports(yes perl is good for reporting
;) ). I can use the same tools I design on my Linux, UNIX, and window$
machines. But is it wise to do so for the web. CGI has been around for a
long time and there are a lot of new emerging technologies.

Rule of thumb is choose the best tool for the job. So all input is
appreciated.

PK  


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Perl - Web Development

2003-06-05 Thread Gabor Urban
From: Paul Kraus [EMAIL PROTECTED]
Subject: Perl - Web Development
Date: Wed, 4 Jun 2003 09:49:10 -0400

 This may be asking for biased opinions but here goes anyways...
 
 Is perl still a good choice for the web. For instance I need to setup a
 couple sites that are going to be running on IIS. Is perl still a good
 choice for speed ect...
 
 Or should I look at the newer technologies such as vb.net on for that
 matter c#.

Be alert if you choose new technologies they may be not so
mature. (For example whisky is the best at 12 years :-) ) C# and .net
are Microsoft stuff, so you'll lose the platform independence.

 I know perl and the idea of being able to use the same language in
 everything I do would be great but am I going to take a hit on
 performance. Can it be embedded into html? What is mason does that run
 on IIS. 
 
 I use perl now for admin task and reports(yes perl is good for reporting
 ;) ). I can use the same tools I design on my Linux, UNIX, and window$
 machines. But is it wise to do so for the web. CGI has been around for a
 long time and there are a lot of new emerging technologies.

Old reliable tools. You may check PHP, too.
 
 Rule of thumb is choose the best tool for the job. So all input is
 appreciated.
 
Agreed, good luck.

Gabaux
Linux is like a wigwam: no gates, no windows, and an apache
inside!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Perl - Web Development

2003-06-05 Thread Shlomi Fish
On Wed, 4 Jun 2003, Paul Kraus wrote:

 This may be asking for biased opinions but here goes anyways...

 Is perl still a good choice for the web.

Yes. Perl is a very good choice from all aspects.

 For instance I need to setup a
 couple sites that are going to be running on IIS. Is perl still a good
 choice for speed ect...


If you're running it on IIS, you can try using ActiveState's PerlEx:

http://www.activestate.com/Products/PerlEx/

This will make Perl very fast, in a comparable speed to Apache's mod_perl.

 Or should I look at the newer technologies such as vb.net on for that
 matter c#.


I don't know too much about VB.Net C#, or ASP.Net so I cannot comment. I
know ASP.Net has a problem in which you need to explicitly deallocate all
the allocated resources, or else they'll leak.

 I know perl and the idea of being able to use the same language in
 everything I do would be great but am I going to take a hit on
 performance. Can it be embedded into html? What is mason does that run
 on IIS.


Mason can run on top of IIS by means of its CGI emulation. However,
there's also Perl ASP, which is a native IIS technology. They are similar
in spirit but Mason is more powerful.

 I use perl now for admin task and reports(yes perl is good for reporting
 ;) ). I can use the same tools I design on my Linux, UNIX, and window$
 machines. But is it wise to do so for the web. CGI has been around for a
 long time and there are a lot of new emerging technologies.


Perl can utilize other technologies besides CGI using much the same
interface. You can run Perl on top of mod_perl, or PerlEx, or something
similar. They are faster than CGI.

 Rule of thumb is choose the best tool for the job. So all input is
 appreciated.


I believe Perl is still the best tool for the job of web-publishing.

Regards,

Shlomi Fish

 PK






--
Shlomi Fish[EMAIL PROTECTED]
Home Page: http://t2.technion.ac.il/~shlomif/

An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.

Falk Fish

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Perl - Web Development

2003-06-05 Thread Jenda Krynicky
From: Shlomi Fish [EMAIL PROTECTED]
 On Wed, 4 Jun 2003, Paul Kraus wrote:
 
  This may be asking for biased opinions but here goes anyways...
 
  Is perl still a good choice for the web.
 
 Yes. Perl is a very good choice from all aspects.

Definitely. Wish the bosses would see that.
 
  Or should I look at the newer technologies such as vb.net on for
  that matter c#.
 
 
 I don't know too much about VB.Net C#, or ASP.Net so I cannot comment.
 I know ASP.Net has a problem in which you need to explicitly
 deallocate all the allocated resources, or else they'll leak.

Yeah I've been told some scary things about the garbage collector in 
.Net

On the other side, you may try Perl.NET ( 
http://www.activestate.com/Products/Perl_Dev_Kit/) and PerlASPX 
(http://www.activestate.com/Products/PerlASPX/)
 
  I know perl and the idea of being able to use the same language in
  everything I do would be great but am I going to take a hit on
  performance. Can it be embedded into html? What is mason does that
  run on IIS.
 
 Mason can run on top of IIS by means of its CGI emulation. However,
 there's also Perl ASP, which is a native IIS technology. They are
 similar in spirit but Mason is more powerful.

Last time I looked the performance of ASP+PerlScript wasn't great. It 
was much better to run perl via PerlIS.DLL (inprocess interpreter of 
Perl for IIS, part of the free ActivePerl) or even PerlEx.
 
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Perl - Web Development

2003-06-05 Thread Janek Schleicher
Paul Kraus wrote at Wed, 04 Jun 2003 09:49:10 -0400:

 This may be asking for biased opinions but here goes anyways...
 
 Is perl still a good choice for the web. For instance I need to setup a
 couple sites that are going to be running on IIS. Is perl still a good
 choice for speed ect...

In addition to the others,
Perl's greatest benifitit is perhaps the
choice for speed of the (expensive) programmers.

Everything that can be done with Perl, can also be done with C, C#,
VB.net, ... (and if you are good than also quicker), but a good Perl
programmer will be much quicker than good C, good C#, good VB.net, ...
programmers. (The only exception, I see, is PHP, but that's not such
powerful than Perl is - but powerful enough for web applications)

If you are already familiar with Perl but not with PHP, you should choose
Perl, IMHO, reducing the extra work.


Greetings,
Janek

PS: And for big, specialised applications (e.g. shopping websites), there
are expensive, but convenient tools (like the one of Intershop).

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]