2013年9月15日星期日

[Android] Developed using QT instant messaging IM emotion ......


first on a basic interface , the interface can be some amendments worse !
IM in the development process, encountered many problems , but fortunately there are more than a year learning QT , or do not know how to solve a lot of problems !
In the course of the development process , the greatest feeling is sometimes a problem , often Baidu google long time have not found the answer thing !
QT still a lot of users , at least you can find answers to many questions , plus there are documents and books, it is still relatively easy to learn a lot !
But the asio boost not so studious , of course, asio is not hard ! asio also have documentation , but for people who are not very good at English , really too painful !
Now I'm back in the development of IM in the communication network the card for a long time ! Beginning, would like to use ACE, learn to learn to learn the results obtained have a big head ,
then turned libevent, later found under boost asio network library , so they choose asiob, asio is still relatively good, but there is a lot to learn the details ! ( Currently the most worried about is out of the question , I fear I have not the ability to solve ! )
relatively speaking , the other stuff is much simpler , and that is Zeromq, but this stuff is not compatible tcp / udp protocol , it is really a pity !
Now I practice is client : QT development interface , asio make communication layer , sqlite do local database , cryptopp used for encryption and decryption of data !
service side : asio make communication layer , mysql as database , cryptopp used for encryption and decryption of data due to the back-end distribution + clusters do , so you can consider using zeromq look !
If you are interested in the relevant technology or are engaged in related work friends, welcomed the exchange with the next !
If you have QT -related problems, you can Huitie question, I can be solved , and I try to answer .......
of course, welcome to add my QQ group together under the exchange !
cloud QQ group: 194268309
Network Programming QQ group : 49184341
QT / C / C + + QQ group: 232311477
these groups have a lot of people, and welcome to the additive group together under the exchange !
------ Solution ---------------------------------------- ----
previously had called Linq to do QT -based xmpp client style similar to the old version of MSN
zeromq never used is zero message queue?

------ Solution ------------------------------------ --------
PS
libevent is still very strong
asio advantage of document details
------ Solution ------------------------------ --------------
ICE how to ?
------ Solution ---------------------------------------- ----
say something extra I think c + + is not suitable for distributed development
Or use C / C + + to do distributed development costs are relatively low
cloud looks like a lot to do now is to use python to manage the underlying business performance of some of the places related to using c + +
do IM may erLang so oriented concurrent programming is more appropriate
------ Solution ----------------------- ---------------------
support the landlord , very good , it is worth learning .
------ eference --------------------------------------- < br> wrong
is to use C + + development costs are relatively high

------ eference ------------------------------------ ---

client development not that difficult , but take the time to look at other people's code , there can develop your own one up !
zeromq.org landlord have time to understand the next , really good




I very much agree , the late time , it is possible to change down asio with libevent ......
------ eference ------------- --------------------------

ICE never used , do not know how, but I learned ACE, really quite well, learning can, but with the actual project , for me, a restive .....


strongly agree , C / C + + development costs a little high , python is really a lot of people doing business practice , but how should I say, on the python is not cold ah !
with the potential to use these scripting language, but I still have not used, not for the moment ...... Oh ...
------ eference ------- --------------------------------
now see this post , which means that the client and say lz service side mainly involves almost like I do now , but limit performance parts such as : data copying , memory management , data synchronization, context switching. This four part doing a good job , leaving the specific business logic , the other database design should also be very important right , which means that the database is also designed wood ,

没有评论:

发表评论