Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Perl 6 and Web Development

by jdrago_999 (Hermit)
on Jun 18, 2009 at 04:22 UTC ( [id://772632]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl 6 and Web Development
in thread Perl 6 and Web Development

Perrin you definitely get my ++ here.

mod_perl

Maybe FastCGI is the way to go. Did I miss the bus on that? Is it the way of the future with regards to running Perl6 on the web?

And it's not about the price (for me anyways). It's about the widespread, default install base and availability. Perl6 might be the greatest thing since sliced bread but if you have to get root privileges to even get started, it will never catch on. At least not until Perl6 is installed by default on the most popular Linux distributions - which might not happen for at least another couple of years.

Perl Web Pages

The current crop of web dev systems are still in the stone ages. All of them without exception. Some may have moved ahead of the pack into the New Stone Age (with pottery and stick-figure paintings) but that's about it.

Not to worry. I feel the same way about Ruby on Rails, PHP and ASP.Net (Vanilla, MVC and AJAX).

I suppose the good news is that there is plenty of room for improvement. A Catalyst + Perl6 setup could be really slick. Add to that a Perl6 ORM layer and we're talking.

I'd like to get hacking on something - mostly just for the sake of learning Perl6 while doing something that interests me.

Perl6 Web Server

Do you know how hard it is to write a decent HTTP server?

It's been done in C at least a couple times. I'm sure it's possible in Perl. Just think of all the cool stuff you'll get:

  1. INSTANT street cred
  2. ????
  3. Profit!!!!!!!

Seriously - yes writing a secure, high-performance http server is not something to be taken lightly. At least part of the security problems in the http servers written in C were simply because they were written in C. Assuming that "somebody else" who knows what they're doing has already made sure that Parrot is secure (or *will* make it secure), writing an http server in Perl6 means that we instantly can run it on anything Parrot is ported to.

WSDL

I was hoping 5 years ago that it would just *go away* but unfortunately we're stuck with it for the foreseeable future. Anything to make this a non-issue when integrating Perl systems with .Net or Java systems would be great.

Replies are listed 'Best First'.
Re^3: Perl 6 and Web Development
by perrin (Chancellor) on Jun 18, 2009 at 15:06 UTC

    FastCGI is about as old as mod_perl, but it works and you can use it today on the majority of ISPs. This is something we can thank Ruby and PHP for pushing. The bigger issue for you is going to be getting Perl6 onto ISPs. That will probably not happen until vendors start bundling it.

    The thing about those C web servers is that most of them got going by cannibalizing an existing server, like Apache. Otherwise, the job would have been pretty daunting. It's not that people can't create a big new thing -- just look at Linux -- but they can't do it quickly from scratch with few people working on it. I think you'd be better off spending your energy elsewhere, since I don't see any real problem with the existing web server solutions. In fact, the only reason to write an HTTP server these days is if you have a real game-changing idea for it, e.g. the non-blocking I/O architecture that spawned the last crop of new servers.

      FastCGI is about as old as mod_perl, but it works and you can use it today on the majority of ISPs.

      Which would you recommend, FastCGI or mod_perl?

        Funny you should ask. I'm giving a talk about that at YAPC::NA and OSCON this summer. Both work well, and the reasons to choose one over the other can be subtle. I've had great experiences using mod_perl on large sites, but if you need super-cheap hosting or don't want to admin your own server, you should look at FastCGI.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://772632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-29 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found