LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2006, 06:26 PM   #1
mfrick
Member
 
Registered: Sep 2004
Location: Perth
Posts: 51

Rep: Reputation: 15
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.
 
Old 01-18-2006, 07:15 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 01-18-2006, 10:34 PM   #3
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
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..
 
Old 01-18-2006, 11:32 PM   #4
mfrick
Member
 
Registered: Sep 2004
Location: Perth
Posts: 51

Original Poster
Rep: Reputation: 15
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.
 
Old 01-19-2006, 07:07 AM   #5
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
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.
 
Old 01-19-2006, 06:39 PM   #6
mfrick
Member
 
Registered: Sep 2004
Location: Perth
Posts: 51

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are peoples still using Redhat 9.0? Mega Man X General 4 07-23-2005 05:59 AM
hello peoples utanja LinuxQuestions.org Member Intro 5 04-05-2004 04:27 PM
how do I change other peoples hwaddr? Rhys Linux - Newbie 3 12-17-2003 08:17 AM
Reading Other Peoples Comments! sxa LQ Suggestions & Feedback 8 09-04-2003 05:03 PM
G'day Peoples him2003 LinuxQuestions.org Member Intro 2 05-19-2003 09:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration