337 reputation
312
bio website dicasdotnet.blogspot.com
location
age
visits member for 3 years, 8 months
seen 2 days ago

Dec
5
comment How to organize methods that check username/email availability in a REST API?
Yes, that is true, but we have the email, which is used to login and a username is used to the user's open open (just like facebook, your profile page is /username). I would like to be able to check both individually, only the email or only the displayname. This can still be achieved with one method only, but it looks confusing to me
Dec
4
comment How to organize methods that check username/email availability in a REST API?
ok, thanks a lot! :D
Dec
4
comment How to organize methods that check username/email availability in a REST API?
We are creating the API that is meant to be open to the public, so we do not know how it is going to be used. would you have any reason why the only one endpoint?
Dec
4
comment How to organize methods that check username/email availability in a REST API?
No, I would like to provide a way to verify the availability of the email without creating the user. Creating the user is an independent call and not necessarily atomic. I just would like to know the best practice in providing this kind of method
Dec
4
comment How to organize methods that check username/email availability in a REST API?
that is a great catch! Thanks! How would you check if the email inserted by the user is already taken? (we can't accept two or more users with the same email in our system)
Dec
3
asked How to organize methods that check username/email availability in a REST API?
Apr
1
awarded  Notable Question
Nov
16
awarded  Yearling
Sep
21
awarded  Custodian
Jul
30
awarded  Popular Question
Nov
24
comment How do you avoid name similarities between your classes and the native ones?
For the computer it is not a problem, but for the developer it might be, since you've got EmailMessage and MailMessage, for instance.
Nov
24
revised How do you avoid name similarities between your classes and the native ones?
added 180 characters in body
Nov
24
comment How do you avoid name similarities between your classes and the native ones?
Yes, I thought about it, but it gets verbose. I would like something "cleaner", but the solution you proposed is my current one. I will add this to the explanation
Nov
24
asked How do you avoid name similarities between your classes and the native ones?
Nov
16
awarded  Yearling
Apr
7
comment How Can I Make My Programming Class More Interesting?
That is exactly the subject he presented :). When I give some lectures I try to do the same approach, even if it is programming language or something like that I often ask questions like: "How would you do? Why can't it be that way? What is the advantages/disadvantage?" and so on :)
Mar
23
awarded  Scholar
Mar
23
accepted How do I create a mature SW design before the implementation itself? And how do I cope with changes?
Mar
23
accepted And if I ask the job interviewer for reasons to join the company?
Mar
23
accepted What do you do to get your software design robust, flexible and clear?