One perl-specific thing I find with big jobs is that because perl coding styles can vary, it can be very useful to have a general style guide for the project. Here is an example to get you started that I've been accumulating over several years specifically for very large perl code trees.

In general, comment more and use simpler code than you might if it's a small application.

Some big projects take a while before enough pieces come together to show a snazzy demo system. If you go with CVS, perhaps something ( blatant promo :) to keep management comfortable work is actually moving forwards.

Test lots, and test first if you can, but if you get REALLY stuck, and can't think of a good way to test something, don't let it stop you or divert weeks rigging complicated emulation systems, at least not at first. Consider a small example or demo script which, while not testing formally, will allow you to run some tests runs on a particular subsystem, and just debug it using the perl debugger.

If you go the mod_perl route, make as many pieces testable WITHOUT having to run it inside mod_perl as possible. perl -d test_script.pl is an easy way to find bugs. Doing the same on a mod_perl module is often harder without spending large amounts of time writing complicated emulation code.

Also, write down and write up. By this I mean, write a sufficiently thorough framework to handle the entire system early, and if you find some task or subsystem that can be completely seperated from the rest of the system, stop and get that written and completed first.

You'll have a nice big framework for everything to fit at the top, and a toolkit of standalone modules/widgets at the bottom, and work your way towards the centre.

In reply to Re: Developing larger applications. by adamk
in thread Developing larger applications. by karmacide

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.