Since the SmartFox javascript library is rather big I think it would be useful to have a minimal version with just the core features in addition to the full package.
Currently the library is about 350kB minified.
Larger javascript libraries often have multiple versions available, usually a "min" version with the core feature set and a full version. Sometimes there are more than those two options as well.
The minimal version could strip out features such as debug logging and the MMO-, Game- & Buddylist- API.
It's already structured in a way that might make this split easier, having the getBuddyApi() & getGameApi() calls for API subsets.
Suggestion: Minimal API library version
Re: Suggestion: Minimal API library version
Thank you for the suggestion.
It is not that easy to split the API into multiple files, and it can be harder to maintain everything.
We may look into it in the future, but no guarantees we can do it.
It is not that easy to split the API into multiple files, and it can be harder to maintain everything.
We may look into it in the future, but no guarantees we can do it.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 39 guests