in the designing phase claint side architecture virtual word

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
shvilam
Posts: 118
Joined: 16 Mar 2008, 12:36
Location: Israel
Contact:

in the designing phase claint side architecture virtual word

Postby shvilam » 16 May 2008, 21:08

now i am scathing the class and there connection
i will do MVC patterns as expected
and now i am thinking on the Model part

i thuth that i will have three main class there
1) "RequestHandler" this will be level one that will only know about Data Class that i wrote my self
2) "SmartConvertor" it will know about Class that i wrote and he will know about SmartFoxClaint and SFSEvent and Class that in the Data NameSpace in
smartfoxserver he will convert Message from server
and to the server
3) "SmartFoxClaint" of SmartSmartFoxServer
that will not now any thing about my Classes

is it a good way to implement the Model in client side ??
is it to clumsy?
will it be better to user smartfoxserver.data.Room and smartfoxserver.data.User Object/Classes and extends them
and to pass them all the way to the View as part of the event that Model will throw when he changes
and not wrote my on classes ??


thanks
Shvilam

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 88 guests