Tag Info

New answers tagged

0

You need to build an XMPP compatible client or use/modify an existing one. Using the REST API will complicate things. Setup the ejabberd server and follow a normal client/server architecture. It has multiple modules for example for authenticating users through your normal database , saving messages in different databases etc.


0

check_if_username_is_in_use_in_db wouldnt be a smart nomenclature according to me. If you are comfortable with snake case than why not this instead : is_user_exist Short,simple and intutively explains what it will do. Try to make a rule of not exceeding 4 words.If there are some details to be added,it can be mentioned in comments. is_user_exist() -> ...



Top 50 recent answers are included