Write my own protocol

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

maimonoded
Posts: 26
Joined: 14 Jul 2010, 13:44

Write my own protocol

Postby maimonoded » 25 Aug 2010, 08:49

Hi,
Is there a way for me to write my own protocol instead of XML?

if i understand correctly, all smartfox messages are sent over the net as XML or delimited STRING to the client... is there a way for me to overwrite it and send the messages as binary or some other proprietary protocol and also overwriting the parsing in the client side?

if it can be done, can you just give me the steps (which events should i overwrite in the server, how to get the message in the client..) ?

I know that i can overwrite the two internal events pubMsg and privMsg, but can it be used to write my own protocol?

if i'll do it, what will be the overhead of the smartfox client trying to do the first parsing and me doing the second? can i also overwrite the client side parsing?

Thanks a lot.

Oded.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 25 Aug 2010, 10:18

It's not possible, sorry. The protocol is already provided to hide all the complexity of it, including serialization and message decoding.
If it was possible to create a new protocol then you would also need to implement those things, which in turn it would mean rewriting 30% of the platform (and the API too!) :)
Lapo
--
gotoAndPlay()
...addicted to flash games
maimonoded
Posts: 26
Joined: 14 Jul 2010, 13:44

Postby maimonoded » 25 Aug 2010, 10:41

do you have a final date for smartfox 2x release? is it going to be released as public beta or final release?

thanks,
oded
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 25 Aug 2010, 19:49

Smartfox's forum is my daily newspaper.
maimonoded
Posts: 26
Joined: 14 Jul 2010, 13:44

Postby maimonoded » 26 Aug 2010, 09:04

nothing is this post give a release date...
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 27 Aug 2010, 12:07

A public release will be out in October 2010
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
mistermind
Posts: 131
Joined: 15 Sep 2007, 01:33
Contact:

Postby mistermind » 27 Aug 2010, 21:05

Sweet =)
But yea the best solution to this issue is disable as many default server events as possible and use extension calls with the JSON protocol. Its by far the best feature SFS has =)
SELECT * FROM users WHERE clue > 0
0 rows returned.
maimonoded
Posts: 26
Joined: 14 Jul 2010, 13:44

Postby maimonoded » 28 Aug 2010, 18:39

is it going to be a public beta or a final release?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 29 Aug 2010, 08:25

It will be a "Release Candidate", ready for production.
The product will stay in "RC" mode until all the features we want to include are complete. Take also in consideration that SFS2X, just like its predecessor, is an ever-evolving product. We are now heading to the first 2.0 release, and after that we'll continue adding components and new ideas that we have gathered in a pretty long todo list.
Lapo

--

gotoAndPlay()

...addicted to flash games
maimonoded
Posts: 26
Joined: 14 Jul 2010, 13:44

Postby maimonoded » 03 Sep 2010, 09:29

Hi,
Thanks.
which feature wont be released in the RC?

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 19 guests