Author Topic: Programing C++/Java for linux?  (Read 2189 times)

savet

  • Member
  • **
  • Posts: 52
  • Kudos: 228
Programing C++/Java for linux?
« on: 29 June 2004, 12:01 »
First, my background.  I'm pretty proficient with PHP/MySQL, ASP, Perl, and Visual Basic.  But the extent of my object oriented programming with a GUI is with Visual Basic.

I wrote a program for Windows in VB6, and wish to rewrite it for Linux with additional functionality.  The program will store contact information for potential customers in a database.  The database will also contain certain demographic/financial information such as mortgage balance, # of credit cards, home value, income level, etc.  The program will allow the user to query the database and export a list of individuals matching certain criteria, suppressing against people previously identified as being on the state/federal do not call lists or as having innacurate contact information.  I guess my question is actually multi-part.

1.  Which would you recommend as a first language to learn to write a program with a GUI in Linux?

2.  What books or web resources would you recommend?

3.  Are there any prerequisites you recommend I read up on first?

4.  I'm leaning towards a MySQL database because I am already familiar with it.  Would another database be more appropriate for either of these two languages?  Or would another programming language such as Python be more appropriate for a  MySQL database?

Thanks in advance for your opinions and help.
You're just jealous cause the voices only talk to me...

Laukev7

  • VIP
  • Member
  • ***
  • Posts: 2,834
  • Kudos: 495
Programing C++/Java for linux?
« Reply #1 on: 29 June 2004, 16:01 »
Moving this to the programming section.

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
Programing C++/Java for linux?
« Reply #2 on: 29 June 2004, 20:27 »
If it's just a database frontend why not do it in PHP?

Otherwise, does the language you use have to be object-oriented? If you use GTK you could do it in C/C++ or Python; possibly others. If you do it in java then it's irrelevant what platform you're developing it for/on.
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


insomnia

  • Member
  • **
  • Posts: 587
  • Kudos: 0
Programing C++/Java for linux?
« Reply #3 on: 2 July 2004, 07:04 »
You could indeed write it entirely in PHP.

This mostly depends on how big it is.
If it's big, PHP can be rather slow and cause a very long upload time for your users.  

In that case you could split it in a client(C/C++) and a server(PHP) part.

For the sever part, you can easily mix it with Java ,perl and others (I don't recommend ASP on SQL.).
Those who can make you believe absurdities can make you commit atrocities.
    Voltaire

Injustice is happening now; suffering is happening now. We have choices to make now. To insist on absolute certainty before starting to apply ethics to life decisions is a way of choosing to be amoral.
R. Stallman

http://www.pvda.be/


WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Programing C++/Java for linux?
« Reply #4 on: 30 January 2005, 12:21 »
New idea for if Rio comes back:

GAMBAS.  http://gambas.sourceforge.net
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

skyman8081

  • VIP
  • Member
  • ***
  • Posts: 910
  • Kudos: 187
    • http://sauron.game-host.org/
Programing C++/Java for linux?
« Reply #5 on: 30 January 2005, 21:27 »
Java does have built-in sql libraries in it.

And this sounds like a custom application meant for merchants, to handle inventory.

Java would be a good choice, seeing as not EVERYTHING should be done in a web browser.

If you need to read up on Java, I reccomend Head First Java from O'Rilley Books. ISBN: 0596004656

[ January 30, 2005: Message edited by: sauron.game-host.org ]

2 motherfuckers have sigged me so far.  Fuck yeah!


mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: Programing C++/Java for linux?
« Reply #6 on: 2 February 2005, 03:31 »
If he wants a visual interface builder for a language, he could use C++ with Glade.
In brightest day, in darkest night, no evil shall escape my sight....

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Re: Programing C++/Java for linux?
« Reply #7 on: 2 February 2005, 04:36 »
I've looked at Glade...all it seems to be is an interface generator.  You can't generate the actual program code with it.  Is there an entire IDE for GTK/Gnome?
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: Programing C++/Java for linux?
« Reply #8 on: 7 February 2005, 06:55 »
Quote from: WMD
I've looked at Glade...all it seems to be is an interface generator.  You can't generate the actual program code with it.  Is there an entire IDE for GTK/Gnome?


Well.... I thought that that was what he was looking for.  

Anyhow, maybe GNUStep is more what you had in mind.  
Slashdot Article
Flash Demo of GNUstep Development Tools.
In brightest day, in darkest night, no evil shall escape my sight....