Design of Birthday reminder.

0 views
Skip to first unread message

Manoj Tharayil

unread,
Aug 1, 2006, 6:47:41 AM8/1/06
to uit_tvm

It is that time of the year, dudes..when it is time to start a new
thread!
Thanks for the overwhelming response for the first thread--This thread
is the
continuation of the first one.


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!!!!

Justin

unread,
Aug 1, 2006, 11:02:07 AM8/1/06
to uit_tvm

Manoj Tharayil wrote:
> It is that time of the year, dudes..when it is time to start a new
> thread! Thanks for the overwhelming response for the first thread

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

Manoj Tharayil

unread,
Aug 2, 2006, 4:49:34 AM8/2/06
to uit_tvm
Justin wrote:

> 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!!!!
:)
:) :)

Justin

unread,
Aug 2, 2006, 5:35:20 AM8/2/06
to uit_tvm
So whats the next step ? Like, what we need to do in the following 2 -
3 days.
To be more specific, what should i do in the next 2 / 3 days

with regards
justin

Manoj Tharayil

unread,
Aug 3, 2006, 12:48:52 AM8/3/06
to uit_tvm
http://gameprogramming.110mb.com/BirthRem.html
This is justin's code. (THE PROTOTYPE)
>From the requirements and the prototype, we will create the use cases.
Can you read some good books on "Use cases"?
Can anybody suggest some good sites on use cases. Also web sites
telling us how to go from requirements to Design would be helpful.
I like pdf files very much. If you have pdf content , send it to me at
"manoj dot tharayil " at "gmail dot com".

yahoooooooooooooo! Let the use cases begin!!!

Manoj Tharayil

unread,
Aug 3, 2006, 1:06:15 AM8/3/06
to uit_tvm
Jokes about models and prototypes

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!!

Justin

unread,
Aug 3, 2006, 10:40:11 AM8/3/06
to uit_tvm

> >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

Manoj Tharayil

unread,
Aug 3, 2006, 11:55:15 PM8/3/06
to uit_tvm

Justin wrote:

> 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.

nandu

unread,
Aug 4, 2006, 2:44:54 PM8/4/06
to uit_tvm


NOW THATS WEIRD !!!! COULD YOU PLEASE EXPLAIN HOW YOU TESTERS WERE
FORCED OR INFACT HOW YOU PEOPLE GET INTO SUCH A SITUATION ?????

Manoj Tharayil

unread,
Aug 10, 2006, 3:17:48 AM8/10/06
to uit_tvm
> 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!!

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

unread,
Aug 10, 2006, 7:45:05 AM8/10/06
to uit_tvm
So could you briefly explain ....ok never mind..could you give us a
pretty good explanation on the processes involved in Compatability
testing.

Nandu

Justin

unread,
Aug 11, 2006, 2:25:37 PM8/11/06
to uit_tvm

nandu

unread,
Aug 11, 2006, 2:38:05 PM8/11/06
to uit_tvm
nice work.

Manoj Tharayil

unread,
Aug 14, 2006, 4:38:43 AM8/14/06
to uit_tvm
YES DUDES!!
The requirement spec is COMPLETE!!

http://gameprogramming.110mb.com/BR-req.htm

Go through it when you get time. Comments would be helpful. Thanks
:)
:) :)

Justin

unread,
Aug 14, 2006, 3:22:56 PM8/14/06
to uit_tvm
I checked out the requirements page and i was wonderstruck by its
sheer design. I was wondering how our project would look after its
completion. :)

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 !
:) :) )

Manoj Tharayil

unread,
Aug 16, 2006, 6:54:26 AM8/16/06
to uit_tvm
You know what that means?
lt's Latin.
Means, "Know thyself. l'll let you in on a little secret.
Being the One is just like being in love.

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!!

nandu

unread,
Aug 16, 2006, 7:12:22 AM8/16/06
to uit_tvm

Justin wrote:
> I checked out the requirements page and i was wonderstruck by its
> sheer design. I was wondering how our project would look after its
> completion. :)


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

Justin

unread,
Aug 16, 2006, 1:43:19 PM8/16/06
to uit_tvm
>I would like to inform you that I am ready to take up the
>programmer post and i extend my full support.

Excellent Nandu , i suppose we are in for something that we can be
proud of - for a very long time.

:)

with regards
justin

Manoj Tharayil

unread,
Aug 17, 2006, 4:59:46 AM8/17/06
to uit_tvm

nandu wrote:

> 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

Manoj Tharayil

unread,
Aug 17, 2006, 6:40:41 AM8/17/06
to uit_tvm

Justin wrote:

> 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.

Reply all
Reply to author
Forward
0 new messages