[wsf-c-dev] [PHP] Few suggestions to the PHP Calendar Solution..

Dinishika Weerarathna dinishika at wso2.com
Sun Jan 6 08:55:24 PST 2008


On Mon, 2008-01-07 at 17:19 +0530, Dimuthu Gamage wrote:
> Here are some quick suggestions.
> 
> 1. I think user_id should not be asked from the user, rather it should
> be an auto incrementing field. We can put the username field in the
> logging page. An average client who uses the calendar may not feel
> familiar with this kind of fields.
> 
> 2. Currently user_id is transfered in every soap request to authenticate
> the user after login. I propose it s better we generate a session id for
> the user at the login time and use that to authenticate the user in the
> subsequent calls.
> 
> 3. As we discussed, we should re-arrange all the wsservice request in a
> class inherited from WSClient. I just posted a blog regarding this
> subject[1].
> 
> 
> In addition to that there need to some improvements in the GUI which I
> think not much critical
> 
> 1. It would have been better if we can create an event, after pointing
> the mouse in to a particular date, like it is in the Google Calendar.

+1
I know we have to improve all the GUI parts as the Google calendar.
Basically I did not much concentrate about GUI parts because tried to
finish the web services part very first. And now I'm trying to improve
the interfaces using some javascript capabilities. 

The thing is if we put the username in the login page that field has to
be unique. Then we have to asked to the user to enter the unique
username when he register with the system. That's why I thought to put a
userId field because users can have different userIds even though they
have same usernames.

For the sessions we can generate a session id for the user at the login 
time. 

Thanks,
Dinishika

 




More information about the Wsf-c-dev mailing list