Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found