Developer changenotes #26

Open
opened 2016-09-11 18:00:42 +02:00 by PhilipTrauner · 0 comments
PhilipTrauner commented 2016-09-11 18:00:42 +02:00 (Migrated from github.com)
  • All routes that are going to be used server-side have to be known before-hand.
    Reason: Instead of sending the route name with every message, an exchange map containing all routes is sent on connect (format: {"meta" : -1, "route0" : 0}).
    Advantages: Reduced bandwidth and shorter struct encoding times.
    Disadvantages: Telnet debugging becomes even harder than it already is.
  • ESock and AsyncServer will be removed from the soon to be created WebSocket branch.
    Reason: All high-level networking will now take place in the actual handler.
    Advantages: Reduced complexity (~200 lines).
    Disadvantages: Length encoding is also dropped because fl0w itself is not going to be sending big files anymore, behem0th will have to use a different stack.
  • Config.py will be replaced with Meh
    Reason: Meh is an updated version of Config.py.
    Advantages: Meh is just a better version of Config.py.
    Disadvantages: Should be embedded as a submodule. Because it uses the typical pip architecture this will cause import problems. Hacks incoming™.
  • Sync.py will finally be removed.
    Reason: behem0th will save the day.
    Advantages: Sync.py was shit.
    Disadvantages: None, period.
- All routes that are going to be used server-side have to be known before-hand. **Reason:** Instead of sending the route name with every message, an exchange map containing all routes is sent on connect (format: `{"meta" : -1, "route0" : 0}`). **Advantages:** Reduced bandwidth and shorter struct encoding times. **Disadvantages:** Telnet debugging becomes even harder than it already is. - ESock and AsyncServer will be removed from the soon to be created WebSocket branch. **Reason:** All high-level networking will now take place in the actual handler. **Advantages:** Reduced complexity (~200 lines). **Disadvantages:** Length encoding is also dropped because fl0w itself is not going to be sending big files anymore, behem0th will have to use a different stack. - Config.py will be replaced with Meh **Reason:** Meh is an updated version of Config.py. **Advantages:** Meh is just a better version of Config.py. **Disadvantages:** Should be embedded as a submodule. Because it uses the typical pip architecture this will cause import problems. Hacks incoming™. - Sync.py will finally be removed. **Reason:** behem0th will save the day. **Advantages:** Sync.py was shit. **Disadvantages:** None, period.
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: robot0nfire/fl0w-old#26
No description provided.