Cross platform client/server + web?
My company is about to embark on a long term development effort (2 years) to create a new client/server + web application. Since a few hundred clients are using our existing Microsoft VC++ front-end, we need to maintain a thick-client Microsoft GUI application. However, I'd like to develop much of the new business logic to be cross-platform. This way we could port the server side code to Linux when we rollout a web-based version of the software.
So here's my 2 questions (we're traditionally a Microsoft shop, but prefer to migrate all in-house servers to Linux, so excuse my ignorance):
1. Given that we must use Microsoft for our client, what language and middleware would best enable us to utilize the same server-side code on both Linux and Windows?
2. Can we get php/apache to interface with our database using the cross-platform server code we developed for our Microsoft application? Would we use CORBA/COM/OTHER?
Thanks in advance,