Connecting Tech Pros Worldwide Help | Site Map

comments needed

  #1  
Old July 22nd, 2005, 07:48 AM
Rajat Chadda
Guest
 
Posts: n/a
We are asked to write a library (component) that will manage a list of
users. The library will contain the following user information:
userid, first
name, last name, and password. The users information has to be
persistent.
Our library will allow a user of the library to create accounts. Then
a
query can be made to get the user's first name or last name. To verify
password, a userid and password is given. The password is stored in a
way that others will not be able to decipher what the password is by
visually inspecting the storage.

How should we go about implementing this library? What are your design
thoughts?
  #2  
Old July 22nd, 2005, 07:48 AM
Gianni Mariani
Guest
 
Posts: n/a

re: comments needed


Rajat Chadda wrote:[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:
> userid, first
> name, last name, and password. The users information has to be
> persistent.
> Our library will allow a user of the library to create accounts. Then
> a
> query can be made to get the user's first name or last name. To verify
> password, a userid and password is given. The password is stored in a
> way that others will not be able to decipher what the password is by
> visually inspecting the storage.
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]


class User;
class ListOfUsers;


  #3  
Old July 22nd, 2005, 07:49 AM
Chris Theis
Guest
 
Posts: n/a

re: comments needed



"Rajat Chadda" <rajat.chadda@wipro.com> wrote in message
news:8480cb53.0402231436.20bfb5ad@posting.google.c om...[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:
> userid, first
> name, last name, and password. The users information has to be
> persistent.
> Our library will allow a user of the library to create accounts. Then
> a
> query can be made to get the user's first name or last name. To verify
> password, a userid and password is given. The password is stored in a
> way that others will not be able to decipher what the password is by
> visually inspecting the storage.
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]

Well, how would you go on implementing this library? Here's the deal, give
some ideas of yourself and I (and most probably others) will give you my
thoughts about it.

Cheers
Chris


  #4  
Old July 22nd, 2005, 07:55 AM
Jorge Rivera
Guest
 
Posts: n/a

re: comments needed


Rajat Chadda wrote:[color=blue]
> We are asked to write a library (component) that will manage a list of
> users. The library will contain the following user information:[/color]
....[color=blue]
> query can be made to get the user's first name or last name. To verify[/color]
....[color=blue]
>
> How should we go about implementing this library? What are your design
> thoughts?[/color]

All this suggests that you are well served by the zillions of databases
on the universe. Why would you want to implement something that exists
so abundantly is beyond my understanding....

If you really this to be really small, then maybe... Still, your post
just points to serializing data into a file, read it back, create a map
of entries in which the userid is the key. How to securely store your
data you have to come up with yourself...
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repetitive XML comments -- what's the point? tjb answers 98 October 12th, 2006 12:05 AM
DB2 physical layout - comments needed Nobody answers 12 November 12th, 2005 06:49 AM
opinions comments needed for improving a simple template engine. Wensheng answers 1 July 18th, 2005 07:29 PM