Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,
could someone recommend some simple and convenient perl web store application(no other server side scripting), the goal is just display item with description, and give the user an opportunity to choose the item and send inquiry. No online order transactions is required, just information purpose.

Replies are listed 'Best First'.
Re: perl web store
by chromatic (Archbishop) on Sep 29, 2004 at 20:26 UTC
Re: perl web store
by zentara (Cardinal) on Sep 30, 2004 at 16:41 UTC
    Well as my first foray into Perl, I setup a sample web store based on the old Perlshop store script. I added a ton of features, cleaned out all the javascript, made an Administrator, and an easy setup program to generate the catalog. All you do is put the photos in directories named for their store-catagories, and run the update_catalog script.

    Now it is very much like Perl4, but it runs good, and dosn't need many modules, especially if you don't want CC transactions. In that case, you can remove alot of the code. The original Perlshop used the old cgi parser, but I switched it to the CGI module. It uses a CSV database.

    You can run the store at Zentara's Store

    Download it Here

    And play with the Administrator Administrator (The password is 'z-store', and it was designed for only one login at a time, so if you can't log in, someone else is testing it. If you try it, on the left frame, select your function from the Drop-down-Box, and click DO_IT

    Now before the smarter monks critisize this Perl4 style code, I admit it is old style, but you don't need many modules, or Mysql, etc, and would be good in this situation. Plus I'll help you set it up if you need help.


    I'm not really a human, but I play one on earth. flash japh
      Hi,
      yes, it looks close to that I searched for.
      thanks
Re: perl web store
by TedPride (Priest) on Sep 30, 2004 at 00:01 UTC
    What level of abstraction are you looking for? Can you set up each item as a web page and just use the Perl script to mail inquiries? Or do you want something that generates a page on the fly from a text file of item data and also sends inquiries? Or do you need a whole database and forms that let you add / edit / remove items?

    Both of the first two are easy, though you're not likely to find canned scripts that do exactly what you want. Better in my opinion to pay someone $50-$100 and let them set things up for you.

      It will be enough second(something that generates a page on the fly from a text file of item data and also sends inquiries). Though there is a great number of various perl scripts, its not so easy define what will be suitable. I meant to hear some opinions concerning some good existing codes.