Design of Birthday reminder.
1.We have a front end (written in java swing). Ain't it really cool?
Congrats to justin on bringing the photo on the tool tip. (for non
computer
users, tool tip is the message box that appears when we keep the mouse
pointer
over a friend's name)
2.There will be a database, of course! Right now, we are using flat
files..text
files. ie we will keep the text files with us always. Later versions of
birthday reminder will write data in both text files and the database.
The
databse will give us the necessary speed. Text files will give us
compatibility
with virtually any database in the universe.
3.A connection network. This connects our swing application with the
database.
The earlier versions will have database in the same computer. Later
versions
will have database residing on other servers.
The challenges we face immediately are
1.Figuring out which linux system to use. We will be compiling and
developing
our project in none other than... yes!! you have got it..linux!
2.Seperating the different parts of the source program (Birthday
reminder) into
manageable chunks.. I will be discussing it at the end.
3.Figuring out who is going to do what. We need persons for
a.Getting snazzy images from the internet.
b.Designing the GUI- for that, the first person's name that comes to
mind is Justin. Maybe he would like to share this great work with some
of his friends? Dudes, u better ask him!
c.Dividing the source program into manageable chunks.
What this means practically -
1.Instead of a single program containing thousands of lines of code, we
will have small units - class files to be exact, each doing a specific
job.
so we will have classes for writing to a file, reading from a file,
Managing the gui, managing the flow of control, managing memory ( I
know java does it, but we can too, from our side!), finding the
configuration of the computer in which the program is run (no: of bits,
height and width of the screen etc).
To test these small units, we will need a class "Control class"
-Control.java
This will have the main function.
Whenever we need to test a class, we woould instantiate an object and
test it. This would prevent us from writing a main method in every
class.
It would look somewhat like this.
class Control{
public static void main(String args[]){
MainScreen a = new MainScreen();
a.show();
//code should be written below which processes the keyboard events.
When the "Esc" key is pressed, the program must terminate.
}//end of main
}//end of class.
MainScreen is a class which will display the gui and nothing else. When
we press the "Esc" key, the program terminates.
In the second phase of the project, all these units (MainScreen,
FileWriter, DatabaseWriter etc) will be integrated to make a stunning
program!!Cheeriooooo!!!!
Expect more , i mean as the project progresses i fell we can expect
responses in hundreds or even in thousands ! ! : ) : ) : )
> Congrats to justin on bringing the photo on the tool tip.
Thanks so much for the compliments. I dont know why so many people keep
on congratulating me everyday ? Do you know why ? enthu cheyyana ?
Just joking :)
BTW (By the way) nandu was with with me all through the development of
the prototype. The feeling that somone else is with you is a real help
, esp during when i didn't know how the prototype should look.
> Text files will give us compatibility with virtually any database in the universe.
I didn't actually get this point. But i feel this may become clear for
me with more experience with JDBC.
> Later versions will have database residing on other servers.
That cool . Really cool
> The challenges we face immediately are
> 1.Figuring out which linux system to use.
Forgive my ignorance, but i feel since the kernel remains same, using
different linux flavours MAY NOT have any effect on the architecture of
the system, or the programs that run on it.
BTW i dint quite well understand the connection between using a
specific version of linux and the development of our project.
>We will be compiling and developing our project in none other than... yes!! you have >got it..linux!
Yeah , i know this may seem like another stupid question, but still i
felt like asking .
What difference does it take if we do our project (develop and compile)
in windows or in linux - as long as the code is based on Java( since
java is architetecture neutral)
>We need persons for
> a.Getting snazzy images from the internet.
I have a hude collection of clip art images ( app 7 thousand) and some
cool wallpapers too.
Even melvin could help out on this. He has broad band net connection.
> b.Designing the GUI- for that, the first person's name that comes to
> mind is Justin. Maybe he would like to share this great work with some
> of his friends? Dudes, u better ask him!
Thanks for the compliments. I feel nandu too will have some thing to
share with us all. Both of us are developing a notepad like program.
Cool huh ?
> 1.Instead of a single program containing thousands of lines of code, we
> will have small units -
Is this related to JUnits ?
> When the "Esc" key is pressed, the program must terminate.
I have one more doubt. i feel our program must reside in the memory.
So while it does so how will it determine whether the Esc key was for
its termination. ?
> In the second phase of the project, all these units (MainScreen,
> FileWriter, DatabaseWriter etc) will be integrated to make a stunning
> program!!Cheeriooooo!!!!
Yahoooooooooooo , i am dreaming for that beautiful day. Hope it comes
soon , really soon.
with regards
justin
> Thanks so much for the compliments. I dont know why so many people keep
> on congratulating me everyday ? Do you know why ? enthu cheyyana ?
> Just joking :)
Good works gets complimented, dude! Bad work gets nothing. Accept it!
It is a fact of life!!
> BTW (By the way) nandu was with with me all through the development of
> the prototype. The feeling that somone else is with you is a real help
> , esp during when i didn't know how the prototype should look.
Three cheers for Nandu!!
> > Text files will give us compatibility with virtually any database in the universe.
>
> I didn't actually get this point. But i feel this may become clear for
> me with more experience with JDBC.
It is simple dude! Text files dont add any special characters to the
data you store in it. But any proprietory database does. So data in
text files can be modified in any way we want. But databases have their
own rules and regulations, including rules specifying what type of data
and size of data that can be entered into the database.
So text files give us compataiblity. Another option is xml. Storing
data in xml is also a great way to become compatible anywhere.
>
> > The challenges we face immediately are
> > 1.Figuring out which linux system to use.
>
>
> Forgive my ignorance, but i feel since the kernel remains same, using
> different linux flavours MAY NOT have any effect on the architecture of
> the system, or the programs that run on it.
> BTW i dint quite well understand the connection between using a
> specific version of linux and the development of our project.
The creators of java wrote "Write once". Yeah! we wrote. Then they said
"Run anywhere, anytime". That has become the greatest joke of the
century. With all due respects to the creators of that wonderful
language, I have to say we cannot run it anywhere in the same form.
Having tested java on different platforms, Win98, Winxp, Macintosh , I
have seen java performing differently.
Even with the same operating system, the java program crashed due to..
can you gues it.. different sound card drivers!!
In some machines, it crashed because the driver version was different!
The discipline called "Configuration management" addresses this issue.
>From the testing side, we have "Compatibility testing" to make sure it
works on every platform as intended.
Coming to our development, differnt versions can indeed cause crashes
or freezes in our program. It is quite possible that programs which
crash or freeze in one "FLAVOUR" wont do so in another.
In short, the program should be DEVELOPED in the same platform, same
hardware etc.. but TESTED on as many DIFFERENT configurations as
possible.
> >We will be compiling and developing our project in none other than... yes!! you have >got it..linux!
>
> Yeah , i know this may seem like another stupid question, but still i
> felt like asking .
>
SAME ANSWER AS ABOVE.
>
>
> >We need persons for
> > a.Getting snazzy images from the internet.
>
> I have a hude collection of clip art images ( app 7 thousand) and some
> cool wallpapers too.
> Even melvin could help out on this. He has broad band net connection.
Cool, dude! You have exceeded my expectations!!
>
> > b.Designing the GUI- for that, the first person's name that comes to
> > mind is Justin. Maybe he would like to share this great work with some
> > of his friends? Dudes, u better ask him!
>
> Thanks for the compliments. I feel nandu too will have some thing to
> share with us all. Both of us are developing a notepad like program.
> Cool huh ?
Very cool! Wish you the best!!
> > 1.Instead of a single program containing thousands of lines of code, we
> > will have small units -
> Is this related to JUnits ?
>
>
>
>
> > When the "Esc" key is pressed, the program must terminate.
>
> I have one more doubt. i feel our program must reside in the memory.
> So while it does so how will it determine whether the Esc key was for
> its termination. ?
When the application window is in focus, pressing the "Esc" key will be
cause it to exit.
Otherwise it will be handled by Windows. That is how "WINDOWS" works.
> > In the second phase of the project, all these units (MainScreen,
> > FileWriter, DatabaseWriter etc) will be integrated to make a stunning
> > program!!Cheeriooooo!!!!
>
> Yahoooooooooooo , i am dreaming for that beautiful day. Hope it comes
> soon , really soon.
>
> with regards
> justin
>From the Matrix: "I do not believe it to be a matter of hope,
councilor. It is simply, a matter of time"
Cheeriooooooooooo!!!!
:)
:) :)
with regards
justin
yahoooooooooooooo! Let the use cases begin!!!
Once a wife told her husband "You are my model husband!". The husband
went and looked in the dictionary and this is what he found.
Model: A small replica of the real thing
he heh!!
> >From the requirements and the prototype, we will create the use cases.
> Can you read some good books on "Use cases"?
Is this related to the use case diagram and class diagram and stuff
like that :) ?
We had to study all these for out software engineering exam. during our
3 rd semester
> yahoooooooooooooo! Let the use cases begin!!!
Right on. As soon as this becomes clear
:)
:)
with regards
justin
> Is this related to the use case diagram and class diagram and stuff
> like that :) ?
> We had to study all these for out software engineering exam. during our
> 3 rd semester
It is the same thing. Avan than Evan! he heh!
To all UIT coders:
Can anybody send me pdf books of the same?
If anybody about use cases and class diagrams, can u make them?
The order is
1.Requirements specification (this will be made first)
2.High level design specification (this will come from the requirements
specification)?
Thanks in advance.
NOW THATS WEIRD !!!! COULD YOU PLEASE EXPLAIN HOW YOU TESTERS WERE
FORCED OR INFACT HOW YOU PEOPLE GET INTO SUCH A SITUATION ?????
Nandu : "NOW THATS WEIRD !!!! COULD YOU PLEASE EXPLAIN HOW YOU
TESTERS WERE
FORCED OR INFACT HOW YOU PEOPLE GET INTO SUCH A SITUATION ????? "
There is nothing "weird" in it. Compatibility testing is one aspect of
testing.
Nandu
http://www.aptest.com/compatibility.html
The Java Compatibility Test Tools
http://www.google.co.in/url?sa=t&ct=res&cd=5&url=http%3A%2F%2Fjava.sun.com%2Fdeveloper%2FtechnicalArticles%2FJCPtools%2F&ei=BMvcRM-VJ53K2wKgnJG5DQ&sig2=6uueck_L1PkkujzzrhOtWQ
Free Compatibility Testing info
straight from bloggers.
http://www.google.co.in/url?sa=L&ai=BiaYYdcvcRIrEJo-q2wKK_fSuDr2C5hDJ2fz4Afmcgd4KoJwBEAQYBCgEOABAtBJInzlQxLGv7wKQAQLIAQGVAhTOVgo&num=4&q=http://www.bloghogg.biz/signup/add.aspx%3Fsource%3D1%26keyword%3Dcompatibility%2520testing&sig=__f07N-5OJXKtzmM_OrBP2iApNljE=
http://gameprogramming.110mb.com/BR-req.htm
Go through it when you get time. Comments would be helpful. Thanks
:)
:) :)
The logo B.R was literally on fire. When first the photos showed up , i
thought it was some crap ad , but when it was fully loaded up , it was
really amazing - how that whole things fits into the context.
Did you design all that by yourself ? ( the logo, design, layout
everything) if yes, a 1000 claps for you . :)
Coming back to the requirements, i will surely go through it thoroughly
and post my comments as soon as possible.
with regards
jusitn
---------------------------------------------------------
>
>Justin Joseph ( Design -Swing UI and programmer)
By the way , it was the first time in my life some one was assigining
me a post, and i really did like my designation. Thanks a lot and i
bet i will do my best to uphold its dignity
(the above mentioned words are borrowed from "Lord of the Rings trilogy
" movie - which i just finsihed seeing in H.B.O , so please dont mind !
:) :) )
No one can tell you you're in love.
You just know it. . .
.. . .through and through.
Balls to bones.
Well. . ... . .l'd better have a look at you.
Open your mouth. Say, "Ah. "
Okay. . . .
You are the GUI designer and programmer..
he heh!!
Yes I do have the same opinion.Did you do that using Flash?Anyway that
was excellent.After going through the Risk Analysis ,i realized the
importance of the role,each and every perosn involved in a project
plays.I would like to inform you that I am ready to take up the
programmer post and i extend my full support.
With regards
Nandu
Excellent Nandu , i suppose we are in for something that we can be
proud of - for a very long time.
:)
with regards
justin
> Yes I do have the same opinion.Did you do that using Flash?Anyway that
> was excellent.
Thanks!! (It was not flash, but done using professional tools like
dreamweaver and guess what?????..............OPEN OFFICE WEB WRITER!!
YEAH!!
yela la le, le le lo...yela le la lo.........!!!
Everything is as great as can be! yeah!!!
>After going through the Risk Analysis ,i realized the
> importance of the role,each and every perosn involved in a project
> plays.I would like to inform you that I am ready to take up the
> programmer post and i extend my full support.
Yes sir! I agree! You would fit the programmer role very well. You can
closely interact with justin too, as the GUI needs to be closely
connected with the underlying code.
Regards,
Manoj
> Excellent Nandu , i suppose we are in for something that we can be
> proud of - for a very long time.
>
"Once upon a time......
In a place far far away...
This is going to be good! I can tell!" -- from the Moive " Finding
Nemo"!!
Cheerio!!!!
Regards,
Manoj.