Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 11-11-2003, 11:02 AM   #1
Registered: Nov 2003
Distribution: SuSE 9.0! and loving it!
Posts: 86

Rep: Reputation: 15
looking for an open source program that can...

I'm looking for an open source program that can do this small thing.
User DB on server that you can login into with it.

Certain users can upload files to server, and make changes with it.

Say there is a file called: "instructions.txt" on a dir' on the server.
A user that is allowed too, can change some options and the program will upload an "instructions.txt" file with some commands.

A regular user when he logins the program checks the "instructions.txt" file and does what the commands tell it to.

I want to start out small. like this:


1) Teacher logins from home via the program.
2) Teacher updates the exam list...
2b) The program uploads a .doc file to a location on the server.
2c) the program changes the "instructions.txt" file.

3) Student logins from home via the program.
4) Student checks the exam list for changes.
4b) The program checks the "instructions.txt" file.
4c) The program shows the .doc file.

Its quite simple but I rather not start from scratch. (I'm a newbie)
So if there is an open source project that works along the lines please post a link...

Old 11-11-2003, 12:35 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Old 11-12-2003, 08:02 AM   #3
Registered: Nov 2003
Distribution: SuSE 9.0! and loving it!
Posts: 86

Original Poster
Rep: Reputation: 15
Nope, not CVS...

Its a program for schools. for Teachers, Parents, and Students.

Instead of the school having a lousy problimatic website its software...

I won't get into details of my idea, I just want to start small.

I basicly want to find an open source program that "talks" to a server.
Has a user DB (on the server) and diffrent types of users...

So if a teacher logins from home she can do things that a student can't... like update the test list.

see what I mean?

any suggestions?
Old 11-12-2003, 09:18 AM   #4
Registered: Nov 2003
Distribution: SuSE 9.0! and loving it!
Posts: 86

Original Poster
Rep: Reputation: 15
This is very simple.

You start the program and login. (like in ICQ...)
After you login you have a big tab with "update" on it.

You click it, and the program looks for instructions on what to do in the "instructions.txt" file on a specific server.

Admin users, like teachers can change things and their program changes the "instructions.txt"

So when the regular user hits "update" the program does what the teacher wants it to do. (whatever options he selected)

For instace, if the teacher updates the exam list then the program displays a message "Exam Update" and shows the exam list.

This program needs a server, a DB... that's it.


Is there something like this that is open-source?
Old 11-12-2003, 11:19 AM   #5
Registered: Nov 2003
Distribution: SuSE 9.0! and loving it!
Posts: 86

Original Poster
Rep: Reputation: 15
no one?
no one knows of an open source program that does this?


I guess I'll have to write from scratch... arrgh..
Old 11-12-2003, 11:29 AM   #6
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I still am not clear on what you're asking. What kind of instructions are in "instructions.txt"? You say you need a way for teachers and students to login to a server... well, any kind of remote-shell or remote-login server will do that; stuff like that generally comes with any Linux distribution. ssh (secure shell), for example.

What kind of a database are you talking about? What does the database store, exactly? There are plenty of databases available for Linux. MySql and PostGreSql are two of the major ones; there are many smaller, specific-task database packages too.

Teachers need to be able to modify files that the students can't modify. Linux's file permissions can handle that pretty easily. Teacher has write access, students have read-only access. Make the file owned by 'teacher', in group 'students' or whatever, and then make it writable for 'teacher', and read-only for 'students'.

Probably most importantly, what is this program supposed to do? Let teachers give instructions to students online? What's the problem you're trying to tackle, in terms of what teachers and students want to do, not what technical capabilities you think it will require. If teachers need to give instructions to students, why not just let the teacher have a website, where s/he can post stuff onto the website, and students can go to the website and look at it?
Old 11-13-2003, 02:53 AM   #7
Registered: Nov 2003
Distribution: SuSE 9.0! and loving it!
Posts: 86

Original Poster
Rep: Reputation: 15

A Teacher logins from HOME (say... like ICQ 'etc) and has certain options that she can do. (I'll program them later)

For example:

When the teacher logins she can modify a quiz/test date list, and move the math test 2 days forward. and save.

When the student logins from his HOME he has a massge saying: "Exam list updated" and the program shows inside its window the list.

Lets say that the school has a server. (windows server, not a linux server.*)
Well, all that will be needed is to run the server-side install of the program on it.

That will create a DB's on the server.

What kind of DB's?
MySQL, or DB2 I'm not really sure. what ever a windows server supports.

What will be in the DB's?

Simply the user pool.
When a teacher registers his details will be in one table, and when a student registers his details will be in another.

When somebody enters his details (username, pass) and logins with the program. it goes to the DB's and verifys that the person is really him.

For now the DB's is a storge of user info that tells the program what permissions to give to the user.

Whats the program meant to do?

INSTEAD of the school having a website...
This is an easy-to-install easy-to-use software that has a nice GUI and makes it easy for both teacher and stundest to do some things.

Future feat' I have in mind:

Quiz/Exam list
Grade list

are a few.

I hope I'm clear?
I can't really make it any clearer.

*Is there a DB that both windows and linux servers support?

All I want is a program that allowes registering, and loging in.
With 3 types of users: parents, students, and teachers.

For a start, that's it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Open Source program that will handle MSS access 2k databases? rwhunt SUSE / openSUSE 3 12-02-2005 09:58 AM
[most secure, open source, client/server file transfer program] Synesthesia Linux - Software 5 11-28-2005 08:20 PM
an open source program that only gives the user a certain amount of time to input? dr_zayus69 Programming 4 05-22-2005 10:56 PM
Open Source Stock Charting Program?? nny0000 Linux - Software 1 05-06-2005 06:30 PM
I'm looking for an open source program similar to Microsoft Publisher HGeneAnthony Linux - General 1 03-26-2005 10:15 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:59 PM.

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