LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Need peoples opinions (https://www.linuxquestions.org/questions/programming-9/need-peoples-opinions-405118/)

mfrick 01-18-2006 06:26 PM

Need peoples opinions
 
I have to write a program that connects to a remote microsoft sql server and gathers some information. I need this program to be executable on client machine. Just wondering what language etc people would think is most appropriate for this? (it will be run on windows machines only aswell) Easy set up on the client machine is also a consideration.

chrism01 01-18-2006 07:15 PM

To be honest, most modern langs should be able to do that. What lang are you most comfortable with. Are you using Linux at all, you don't mention it?
If you mean you want a client prog that will run on MS & Linux clients, I'd go with Perl, as it runs fine on both and the code should be more or less identical.

xhi 01-18-2006 10:34 PM

I second the vote for Perl. Not only will it be portable, but IMO its perfect for processing db info.. CPAN gives you lots of convienent stuff for database processing.. for just about any DB known to man..

mfrick 01-18-2006 11:32 PM

Yeah guys thanks for the ideas. I feel like a tard as for some reason mentally I had thrown scripting languages out the window just because I was thinking along the lines of executable binaries but perl is definately a great idea.

graemef 01-19-2006 07:07 AM

lookign at the ease installation
 
I have not programmed in Perl so here is a question for the Perl supporters out there. Would the clients need to install Perl for the client program to work, or is there a way to bundle Perl with the client program. For example in Python it is possible to create frozen binaries where the byte code and the virtual machine are bundled into a single package.

If they end up as separate packages (even if an installer can combine it into a single install operation) then I would suggest that the suggested approach would lead to at leat one client removing Perl from their system (because what do I ned that for) and then wondering why the program doesn't work!

graeme.

mfrick 01-19-2006 06:39 PM

You do not need perl on the client machine in order to run the perl once it has been converted to an exe. perl2exe is a thirdparty program that will convert your perl scripts to an exe so may have more information for you but its home page states it creates stand alone perl executables.

http://www.indigostar.com/perl2exe.htm


All times are GMT -5. The time now is 06:58 PM.