Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi fauria,

I've used both for developing websites, though I'm no expert at either.

I started with Perl in around 2001 and I'm still using it for web stuff. I explored recently with using PHP.

I find that my experience with PHP is rather like my experience with Perl at the beginning, when I tended to freely mix code and html. I only know PHP superficially, so maybe that's why I haven't found a more elegant way to separate the logic from the presentation.

For small sites (a couple of static pages with limited interactive features), I would go with PHP. PHP is rather like Javascript, so it makes adding logic to the html page much easier.

For a larger web project, Perl will still be my choice of programming language. I find that I'm more organised when coding in Perl. Besides, I'm familiar with using a number of very useful modules such as EncryptForm, DBI and HTML::Template, so it makes sense to tap on that knowledge.


In reply to Re: "Perl is the Cobol of the WWW" by kiat
in thread "Perl is the Cobol of the WWW" by fauria

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found