SMF Community Helpers > Mod Development
[WIP] Breeze
Suki:
--- Quote from: distante on March 12, 2012, 07:05:02 PM ---Looks really great. How's the server load when you use the mod?
--- End quote ---
Currently it does not loads the status/comments via Ajax every X seconds/minutes, thus there isn't a server load because of it.
It can be done without too much trouble, but I prefer not to do it unless there is enough people interested on it.
The mod uses the SMF cache system whenever possible, keeping the queries on a low number, I haven't test it on a medium to large forum yet so I cannot say how well the mod will behave.
The notification system I had planned doesn't refresh automatically either.
Suki:
With that being said, this mod isn't intended as a shoutbox or a real-time message system, that's why I do not plan to implement the auto-refresh feature, perhaps the only feature that will include ajax reloads will be the notification system.
distante:
Great Suki, I wish I could say that I can help but, really I don't know all the things that you do :-[
Suki:
All the changes and commits are on github:
https://github.com/MissAllSunday/Breeze/commits/master/
The architecture is pretty simple and straight forward, the main file and center of the whole code is Breeze_Query.php which handles all the queries made by the different classes.
Apart from that, the rest is a mix up of procedural and OOP, I used a singleton pattern for things like the settings and text strings (Breeze_Settings).
But yeah, anyone other than me would find it difficult to understand the whole thing (Breeze is definitely not a role model on software architecture), sometimes even I have to re-read some classes just to know how exactly am I going to use them or to understand why did I wrote them like that :P
Suki:
OK a new beta for Breeze: http://missallsunday.com/index.php?topic=114.msg405#msg405
-Buddy system
-Notification system
-UI improvements
-JavaScript improvements
It's a lot more stable, there are some issues, specially with the permissions, on install please be sure to give all user groups the proper permissions.
Download: http://missallsunday.com/Downloads/Breeze.zip
Please give it a shot and tell me what you think about it so far, feedback is more than welcome :)
About the Buddy system.
Currently it only does send a pm back the the user who requested when the user confirm the buddy request, if the user decline the buddy request then there is no PM.
Should I include a PM for declining too?
As always, a live demo can be found on my site.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version