Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Thanks for posting this, even though it made me shudder. I'm part of a team approaching the end of rewriting a major part of the infrastrucure of our search engine, and it's gone remarkably well but reading this I see how we could have fallen down dramatically.

The majority of the team here are Java programmers, and our front-end is all J2EE stuff. I have my own views on this, but the fact is it's here and it's not going to change any time soon. The starting code for the section we were rewriting was out-of-house Perl though, horrendously mangled in my opinion and desperately in need of either a rewrite, or at least a major tidy.

To start with we knew what we didn't want to do, we didn't want to just clone the system with it's annoying quirks and all. We wanted to tie parts more closely in with the front-end business objects to avoid having the same code concepts duplicated in two places in two different languages, with the attendant maintenance nightmare.

The result is remarkably clean considering the amount of detail and 'special cases' we had to deal with. The initial pre-parsing is all Perl, which then hands over to Java to do it's bit of the work, and finally back to Perl to merge the Java programs results and replicate them to all of the servers.

The difference here was we had a team leader who knew what he was doing, we had a team who despite having very different core competencies managed to hold together, we had people who knew what the old system should do despite being unable to read the language it was in, and me who knew the language but didn't know 'what it did'. We even ended up leaving small parts of the old code on the basis no one knew them well enough, and if they collapsed so did the search engine.

We went out there with a view to make this work, in-house, and don't get hung up on language terrotorialism and buzzwords.

Thank you, Stephen. It's nice to see how lucky I am at times, just hope you have the luck to soon get a job where you'll have your own success stories once more.

In reply to Re: A Porting Horror Story by Molt
in thread A Porting Horror Story by stephen

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (8)
    As of 2018-05-24 18:45 GMT
    Find Nodes?
      Voting Booth?