Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)

by Anonymous Monk
on Feb 04, 2013 at 09:01 UTC ( [id://1016913]=note: print w/replies, xml ) Need Help??


in reply to The most powerful CMS developed in Perl (not spam, sounds that way)

I LOVE feedback, it makes my day to read comments and suggestions, so if you try it out please let me know what you think.

Throw it away and start over :/

For example forums_section_threads.function and index.pl show everything that is wrong with your code :)

You forgot the ballad of bobby-tables.com: A guide to preventing SQL injection

You're rolling your own CGI.pm, use CGI or die;

You don't have enough functions  ## load parent settings if avail should be a function,  ## load pre plugins should be a function ... everything you repeat should be a function, ... skimmable code is the idea

Also  no strict "refs"; and .function? see Simple Module Tutorial, Module::Pluggable, AutoLoader/AutoSplit...

Speaking of red flags, see
Mark Jason Dominus - Perl Program Repair Shop and Red Flags - YouTube,
Program Repair Shop and Red Flags - Perl.com,
Return of Program Repair Shop and Red Flags - Perl.com
http://perl.plover.com/flagbook/yak/Chi/TABLE_OF_CONTENTS.html

Replies are listed 'Best First'.
Re^2: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)
by snoopy20 (Novice) on Feb 04, 2013 at 10:54 UTC
    I forgot to add, the reason Module::Pluggable etc are not used is because igaro is functional not object/module orientated.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-28 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found