Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
P is for Practical
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

From your description, I'd say that using PHP would actually make things more complicated than they needed to be.

Although PHP can be used from the command line, that isn't really what it was designed for. In other words, you'd have to set up a Web server on your machine as well as PHP (and possibly MySQL).

Perl, on the other hand, is equally at home being called directly, or via a browser.

1000 recipes shouldn't be a problem using flat text files to hold the data, so you could keep things simple while you're learning, and then transition to a dedicated database system when you were more confident about doing so.

If installing and setting up Web server software doesn't worry you, I'd recommend using Apache (even on Windows) regardless of whether you choose Perl or PHP.

You might also want to look at Gossamer Threads' DBMan which is a Perl based database manager that uses flat text files and a browser interface. It is also available in a MySQL version, although that isn't particularly cheap.

It would give you a head start when designing your own system either way.

Oh, one last point. The PHP dev team seem to enjoy changing built in functions and/or default settings on a regular basis, thus breaking existing programs when the version is upgraded.

__________
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." -- (Author Unknown)


In reply to Re: "cook-ebook" - Should I use Perl or PHP/MySQL? by Wysardry
in thread "cook-ebook" - Should I use Perl or PHP/MySQL? by rozallin

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (5)
    As of 2014-04-20 09:58 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      April first is:







      Results (485 votes), past polls