Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Perlshop-z Perl Shopping Cart

by gav^ (Curate)
on Apr 15, 2002 at 02:17 UTC ( [id://159065]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Perlshop-z Perl Shopping Cart
in thread Perlshop-z Perl Shopping Cart

With something like this, my thoughts are that starting from scratch with a set of requirements and building towards them would be a better use of time than refactoring.

That would also allow you to break things up into a set of achievable subgoals rather than having to work on a complex 3000 line (and in my opinion badly written) script.

Of course I'm not going to do either :) but if you wanted to learn perl well, I'd steer towards the former.

gav^

  • Comment on Re: Re: Re: Perlshop-z Perl Shopping Cart

Replies are listed 'Best First'.
Re: Re: Re: Re: Perlshop-z Perl Shopping Cart
by zentara (Archbishop) on Apr 15, 2002 at 16:21 UTC

    Thanks for all the comments. I used the Perlshop code as a vehicle to get me started. I really spent more time on my administrator ideas. I learned how to run the ptkdb debugger effectively tracing out the perlshop code. I learned what the problems are in setting up such a store from this script, which I never would have known if I started from scratch. When Perl6 gets released, I plan on rewriting the store to learn Perl6. The only part of the perlshop code which was difficult for me to grasp was the built-in html templating system. Thanks to all.

Re: Re: Re: Re: Perlshop-z Perl Shopping Cart
by zentara (Archbishop) on Apr 15, 2002 at 16:33 UTC
    Well thanks to everyone for the comments. I used the perlshop code as a vehicle to setup something so I could attempt an administrator. I never would have figured out a store from scratch. I needed one that worked like I expected a store to work. I learned how to effectively use the ptkdb debugger with this, which is probably it's biggest benefit for me. When Perl6 comes out, I will probably try to rewrite my own store, using the perlshop store as a general layout.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-26 03:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found