Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: "cook-ebook" - Should I use Perl or PHP/MySQL?

by Wysardry (Pilgrim)
on Feb 05, 2003 at 18:36 UTC ( #232883=note: print w/ replies, xml ) Need Help??


in reply to "cook-ebook" - Should I use Perl or PHP/MySQL?

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)


Comment on Re: "cook-ebook" - Should I use Perl or PHP/MySQL?
Re: Re: "cook-ebook" - Should I use Perl or PHP/MySQL?
by castaway (Parson) on Feb 07, 2003 at 07:50 UTC
    Why would she need a Web Server at all?
    Just a lot of hype, is that ;)

    C.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-09-15 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls