[wsf-c-dev] [PHP] Few suggestions to the PHP Calendar Solution..
Dimuthu Gamage
dimuthu at wso2.com
Mon Jan 7 07:56:51 PST 2008
Samisa Abeysinghe wrote:
> 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.
>>
>
> +1.
>
>> 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.
>>
>
> So you are suggesting transport sessions? I would also like to suggest
> to have a look into the way how flicker does it.
AFIK Flickr is using just the flickr key for the session management.
Please correct me If I'm wrong..
In my early suggestion I was describing a very minimum session key. That
is to generate a session key based on the time the user logged in, the
user name and password (something like md5(time+username+password) and
use that key in all subsequent requests.
BetFair public API[1] also uses simmilar schema on top of https.
(Although I'm not sure how they generate the session key). Can't we take
the same path here?
[1] http://bdp.betfair.com/
Thanks,
Dimuthu
>> 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].
>>
>
> +1.
> It is an excellent idea to blog about the bright ideas that you get
> while implementing solutions. That would have more user appeal.
>>
>> 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.
>
> Thanks,
> Samisa...
>
>>
>>
>> [1]
>> http://phpwebservices.blogspot.com/2008/01/best-practices-of-using-wsclient.html
>>
>>
>>
>> Thanks
>> Dimuthu
>>
>> _______________________________________________
>> Wsf-c-dev mailing list
>> Wsf-c-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>>
>>
>>
>
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
More information about the Wsf-c-dev
mailing list