PGrad-zz / Java-Final-Project

A repo of my final project in CS990, Object-Oriented Programming in Java
0 stars 0 forks source link

The student info system #1

Open westLAstudent opened 7 years ago

westLAstudent commented 7 years ago

I realized the studentinfosystem doesn't generate reports. how can that be fixed? Also, I don't think the book uses all those API.

PGrad-zz commented 7 years ago

Hello, You are free to use code outside of the book, as long as it compiles within Eclipse. I am not going to directly help you with my code because you really need to learn how to code the project yourself. Even if you copy-paste all my code you're probably going to run into bugs I haven't encountered and then get lost trying to understand my architecture. Talking about the architecture, I used a lot of inheritance to avoid code duplication, but the drawback is that I wind up with many strongly coupled components. If you code the project yourself you'll probably find a better way of composing it. Seriously, code it yourself, please. Thanks.

On Mar 10, 2017 5:59 AM, "westLAstudent" notifications@github.com wrote:

I realized the studentinfosystem doesn't generate reports. how can that be fixed? Also, I don't think the book uses all those API.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PGrad/Java-Final-Project/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AK1cXK9EToAy4_PvP1y7X9QJZzBNEWvjks5rkVc-gaJpZM4MZahM .

westLAstudent commented 7 years ago

Hey man, I just asked you a simple question, because I'm struggling with it. I really appreciate your project and I'm using some of ur codes that's why I asked you how can i get the reports up, because u can see it run, but u can't see the whole thing... may you just help me with the report? I am changing the layout anyway.

PGrad-zz commented 7 years ago

I'm sorry if I sound like a jerk, but it's really better for you to work on the project yourself. I'm a student at UCI and live in Irvine now and I don't have the time to try and wrap my head around what I wrote again and help you. You're free to use it as a reference, although the only really valuable part I think is in how I set up communication with the database. The main reason why reports are not generating (or probably the fields too) is due to the fact that all of the metadata about the tables backing the records was extracted from my database, and without a database you're not going to see anything. The reports are created by a SQL query, so again if you don't have a DB you're not going to see anything. In fact, I'm surprised you're not just getting a million errors. If you don't understand what I'm saying, this is again an indication that you should write the code yourself. You have everything you need. Thanks.

On Mar 10, 2017 1:02 PM, "westLAstudent" notifications@github.com wrote:

Hey man, I just asked you a simple question, because I'm struggling with it. I really appreciate your project and I'm using some of ur codes that's why I asked you how can i get the reports up, because u can see it run, but u can't see the whole thing... may you just help me with the report? I am changing the layout anyway.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PGrad/Java-Final-Project/issues/1#issuecomment-285783700, or mute the thread https://github.com/notifications/unsubscribe-auth/AK1cXAxDRFOAU1vkNaZTQklgXSlSRMEcks5rkbpbgaJpZM4MZahM .

westLAstudent commented 7 years ago

Thank you so much, man. I was able to figure it out. I only have a question some of the import libraries sound unfamiliar, did you get it them from Starting out with Java from Control Structures through Data Structure book?