legacy

MSTest for huge legacy codebase

Hello, we have a huge codebase with about 1000k lines of native/unmanaged legacy c++ - code and we are going to provide the code with unit tests and MSTest would fit perfectly in our current development environment (TFS, VS 2010, ...). I know that MSTest is orginally meant to test managed code but its also possible to write unit tests ...

How can I integrate parts of Catalyst into a legacy webapp?

I'm struggling with a classic legacy project: manual URL parsing and composition, manual routing etc. Knowing a bit of Catalyst I long for at least some of the concepts, for example proper (a.k.a. transparent) URL routing and parameter parsing for example. Ideally, I'd just use Catalyst and be done with it, but given it's a legacy projec...

Nhibernate union load for legacy app

Hi! Our legacy app there is this interesting feature that Order master table is splitted into two tables Order_Master and Order_Master_History. In Order_Master table there are all today orders and Order_Master_History table will have all historical info. The new integration app I write would need to benefit on those two tables as unio...

What database technology to use for legacy application?

I am looking for advice. I know stackoverflow likes "answerable" questions, I hope this is. I have a large legacy (Windows) application, using a proprietary (ISAM) database. I wish to investigate moving it over to using a SQL database: primarily MS SQL Server, I wouldn't mind Oracle flexibility but that is only a "would be nice", and ...

Refactoring nasty legacy systems via AOP or other automated means?

I've recently been playing around with PostSharp, and it brought to mind a problem I faced a few years back: A client's developer had produced a web application, but they had not given a lot of thought to how they managed state information - storing it (don't ask me why) statically on the Application instance in IIS. Needless to say the ...

what language was cybersyn/cyberstride implemented in?

I am aware that it was implemented on the IBM 360 mainframe architecture but does anyone know what language(s) were used in particular? Supposedly the bulk of it was programmed and deployed in 3-4 months - that is a pretty rapid turn-around for any project let alone one which had the capability to monitor an entire economy. I am partiall...

DOS legacy application with USB printer.

I have the unfortunate task of doing (minimal) maintenance work on two legacy applications developed in DBIII+/Clipper '87. I have full access to source and a minimal toolchain to recompile the application when needed, but I am not allowed to reimplement it from scratch due to various (mostly psychological) reasons from the main user. ...

What are the best practices when shifting old legacy web applications to new ones (specially about broken links problem)?

Suppose you have an old legacy website, with an in-house php CMS. http://mysite.com/index.php?page=3&c=7 Now, for some reason, you re-structured your website in Wordpress, with SEO friendly URL's, registered a Google Analytics account, and needs to update your system, so when http://mysite.com/ is set on the browser, now it poi...

Load a .NET assembly from a COM ProgID without creating a COM object

A bit of an odd question and probably backwards from what most people want to do, but I'm trying to work around a legacy COM issue. I have two components, both of which are actually .NET assemblies, but for historical reasons one is loading the other as a COM object (the assembly is registered for COM Interop). It's a plug-in architectu...

How to configure format of Python 2.3 logging messages?

In Python 2.4 and later, configuring the logging module to have a more basic formatting is easy: logging.basicConfig(level=opts.LOGLEVEL, format="%(message)s") but for applications which need to support Python 2.3 it seems more difficult, because the logging API was overhauled in Py2.4. In particular, basicConfig doesn't take any argum...

How to make ActiveRecord work with legacy partitioned/sharded databases/tables?

Hi all, thanks for your time first...after all the searching on google, github and here, and got more confused about the big words(partition/shard/fedorate),I figure that I have to describe the specific problem I met and ask around. My company's databases deals with massive users and orders, so we split databases and tables in various ...

Who should learn the "old" system?

I've been involved in several projects which basically involved replacing an "old" system with a "new" system. Invariably, the pattern has been that practically no one on the team building the "new" system has any real knowledge of the "old" system. Whenever I questioned this, I've been told that this is purposeful... by not knowing th...

VB6 and Crystal Reports 7, setting "Record Style" export options programatically

I'm making a change to some legacy software to dump the contents of a CR7 report in the "Record Style" format, which basically dumps each visible data field into a fixed-length text file. This is all well and good, with one exception. All of my numbers are being rounded to the nearest whole number when I need some of the numbers to sho...

COBOL Migrations Strategies?

Has anyone here been involved in any projects designed to eliminate COBOL or mitigate the risk of COBOL (for example, writing in-house compilers or using COBOL to generate NetBeans, etc.)? If so, what tools/strategies were adopted? Were you successful? What would you do differently? Anecdotal stories welcome. Just trying to understa...

What problems should I expect when moving legacy Perl code to UTF-8?

Until now, the project I work in used ASCII only in the source code. Due to several upcoming changes in I18N area and also because we need some Unicode strings in our tests, we are thinking about biting the bullet and move the source code to UTF-8, while using the utf8 pragma (use utf8;) Since the code is in ASCII now, I don't expect to...

Using legacy COM component in C# multithreaded Environment

Hi I have legacy COM component, and my mission is to write web service that wrap the COM and enable concurrent non-blocking calls. First of all, because the COM object itself is stateless, i decided to use the [ThreadStatic] attribute so each thread will have its own instance of the COM object to prevent the use of lock { } statement a...

Best practices for legacy compatibility

From my experience, commitments to backwards/forwards compatibility are the gilded cage of the software engineering industry. I have particularly observed this to be the case for document file formats and programming languages/APIs. Customers and partners hate it when their existing data or code breaks; however, if you never break compat...

How do I Maintain Multiple Lines of Development Between Customers In Mecurial?

I work on maintaining the same e-commerce web-app for multiple customers. Originally there was a standard set of pages from which all the rest of the customers customizations were derived in the past. Recently the place where I work decided to use Mercurial for version control. They've also decided to re-work the standard set of pages...

Sharing transactions with EF and other technologies?

We have an application with a lot of legacy code, with many different technologies: COM+ Objects written in Delphi 5 COM+ Objects written in .NET OCX controls written in Delphi 5 ASP pages ASPX pages In our data access layer, we are working with old ADO (not .NET ADO) because we need compatibility against legacy code, and now we are at...

How to map this legacy table with NHibernate (Fluent)?

New to NHibernate. Having trouble wrapping my head around how to map this legacy table. CREATE TABLE [dbo].[CmnAddress]( [addressId] [int] NOT NULL, [objectType] [varchar](63) NULL, [objectId] [int] NULL, [addressType] [varchar](7) NULL, [recordStatus] [char](1) NULL, [fromDate] [int] NULL, [toDate] [int] NULL, [onStreet] [varchar](254...