LinuxQuestions.org
Help answer threads with 0 replies.
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 04-05-2008, 07:52 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Simple Cross-Platform programming language?


I want to create a program for teaching Latin grammar, one that will allow the student to easily run this at home with one script or executable. I don't want them to have to install this program and then that program, and then finally install the main script. Preferably something that can act as a stand-alone program, they download one file, click it, and it runs in any operating system.

My current goals for this program
- Input fields for the student to type in answers
- The ability to save the scores of the individual exercises
- The ability to graph these scores
- Optional: The ability to email these scores to the student's teacher
- MANADATORY: The ability for any student to easily install this software on his or her computer, whether it be Linux, Mac, or Windows
- Optional: The ability to run it from the internet on a website? (Wishful thinking)
I know bash probably isn't too realistic for my goals, but I'm very comfortable with it. Would gtk do the trick?

Last edited by Romanus81; 04-05-2008 at 07:58 PM.
 
Old 04-05-2008, 08:05 PM   #2
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
I suggest RealBasic.
 
Old 04-05-2008, 08:22 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Python....
 
Old 04-05-2008, 08:23 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I had the same problem for a completely different application. The goals were no installation and it had to run on every platform.

I ended up with writing a LAMP application (Linux, Apache, MySQL, PHP). Your students would have to connect to your server though. The additional advantage is that if you update your program, your students will automatically use the new one from the web site. No updating on clients needed.

jlinkels
 
Old 04-05-2008, 08:47 PM   #5
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
Well, I'm a high school senior, so they wouldn't be my students, and I'm thinking that this would be something for general distribution on the internet.
I'm thinking something like Java or flash would be good, as then it could be easily used on the internet, without any downloading, however it would need a way for the student's to log in and have their scores saved so that the teacher can see a chart and compare how his or her class and individual student is doing.
I suppose it would be up to the individual teacher to upload it to his website, but would the scores be available on his computer?
How about this:
I suppose I could develop a website that asks for the student's name and the teacher's email address, the website sends an email to the teacher with a file that contains the student's score, which a standalone program on the teacher's PC takes and saves.
 
Old 04-05-2008, 09:10 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Have you had a look at Silverlight:

http://www.microsoft.com/silverlight/

Just a thought .. PSM
 
Old 04-05-2008, 09:20 PM   #7
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
Yeah, I know about silverlight, but it really isn't a widely used program yet. Maybe later I can try and get it run in silverlight, but right now I'm keeping it simple.
 
Old 04-05-2008, 09:38 PM   #8
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by Romanus81 View Post
Preferably something that can act as a stand-alone program, they download one file, click it, and it runs in any operating system.
1) JAVA
2) Flash
3) server-side application available through web-interface.
4) Python.

I'd suggest to try java. Python is nice, but IMHO, Java betters fit "they download one file" request, and there are good chanches (not 100%, though) that it is already installed.

I use C++ for writting my own programs, but C++ doesn't automatically mean portability, and will most likely turn into "deployment hell" (supporting many platform) or "installation hell" (it is possible to run into completely unexpected problem on rare system/compiler). That's why I recommend JAVA. I don't recommend Python in the first place, because if application is GUI, chances are that something like wxWidgets will be used, and wxWidgets for Python requires additional installation, so user might run into trouble here. Because of this I think java is better here.

But if you need access to student's scores
Quote:
Originally Posted by Romanus81
I suppose it would be up to the individual teacher to upload it to his website, but would the scores be available on his computer?
, then it might mean client-server application, and I think in this case writing interactive php/mysql based website might be better, than even using java. With interactive website no one will have to download anything, so any platform that can interact with webpage will be supported automatically.
 
Old 04-06-2008, 12:03 AM   #9
Dan04
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu
Posts: 207

Rep: Reputation: 37
Quote:
Originally Posted by Romanus81 View Post
Preferably something that can act as a stand-alone program,
Are you sure you don't want to make it a web app?
 
Old 04-06-2008, 02:37 PM   #10
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
if you need to keep track of scores/etc on a central server, you might as well do the entire thing online. if you make a program they have to download (and this includes java applets/flash), you'd have to invent some protocol for sending and receiving scores over the net. so it sounds like a job for a server, a database, and really any language that can handle cgi/generating html forms.
 
Old 04-06-2008, 02:39 PM   #11
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
xml - character data

WRONG thread, soory
 
Old 04-06-2008, 06:58 PM   #12
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Java with JSP for the network part. But you'll have a bit of learning to do if you are starting from scratch...
 
Old 04-07-2008, 02:46 PM   #13
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
This sounds like something begging to run as a web application. The centralized storage of scores or other data was the giveaway. Keeping it simple for the end user is also a strong indicator.
--- rod.
 
Old 04-07-2008, 07:57 PM   #14
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
Alright, thank you, everyone, I suppose since we're getting this moved into servers I'll find the appropriate forum.
Thanks for you help!
 
  


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
Cross-platform programming drbongo Programming 3 07-28-2007 10:09 PM
Cross-Platform Programming JMJ_coder Programming 7 03-11-2007 12:59 PM
LXer: Book Review: Cross platform GUI programming with wxWidgets LXer Syndicated Linux News 2 12-21-2005 12:52 PM
Good resources for cross-platform Qt/ KDevelop programming TemplaraPheonix Programming 1 12-19-2005 09:03 PM
Cross Platform c++ gui programming djadhav Programming 8 05-25-2004 02:15 AM

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

All times are GMT -5. The time now is 08:25 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