School Database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xionhack
Forum Contributor
Posts: 100
Joined: Mon Nov 10, 2008 9:22 pm

School Database

Post by xionhack »

Hello. I am trying to make a web application for something that works as a school. The points are:

The students can become teachers later on. There are only 20 subjects that the teacher should teach. I want to record, which of those subjects can the teacher teach, and for the students, which subjects have they studied, with who, and which other subjects they have to study.

I am new at object oriented programming, so I was trying to do it with classes so I could learn more, but I think Im not doing it correctly. Can somebody explain to me which approach should I take? Thanks!
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: School Database

Post by requinix »

Do you have the database set up? Having that makes object-oriented design a bit easier.
(Same could be said for the reverse.)
xionhack
Forum Contributor
Posts: 100
Joined: Mon Nov 10, 2008 9:22 pm

Re: School Database

Post by xionhack »

I made them, but im not sure if they are done the best way
Post Reply