DataHead Posted December 7, 2014 Share Posted December 7, 2014 (edited) this is aimed more toward the rather active infusion developers, because as it stands there is a lot of repeated code being used and taking up space. so my idea is to have a gathered framework, for all the repeated code gathered in one spot in an infusion to minimize the space used. i see whistle master has a base of code used for a lot of his bigger infusions, and would be useful if he had just made one infusion for the base of the framework he uses. instead of having it included in each infusion, maybe he can just have one infusion or other developers do the same for the framework used. and have the infusions that need the frameworks, auto download it if it not already present. and would also help with updating the infusions all at once, instead of updating each separately. the "core" of them could just be updated in one place instead of each ones " core " being updated individually. i hope i've made this easy enough to understand, as i am running on minimal sleep lol Edited December 7, 2014 by datahead Quote Link to comment Share on other sites More sharing options...
newbi3 Posted December 7, 2014 Share Posted December 7, 2014 If developers are using the provided pineapple API then this is not an issue at all http://wiki.wifipineapple.com/index.php/Webinterface_API A lot of the infusions in the Pineapple Bar were created way back in the days of the MK IV days (before firmware version 3.0) and all of the developers then got a preview version of the 3.0 firmware and we were tasked with migrating our infusions over to it. This was when the first version of the Pineapple API was introduced and didn't have a large amount of functionality so every infusion had to have lots of code to do the same tasks (like drawing tabs). After that the MK V was introduced and not all of the infusions worked as they were so they had to be migrated over to the MK V. The infusions in a lot of cases were never re-written to take advantage of new API functions so if you look at the code for some of them you see a lot of old code. Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted December 17, 2014 Share Posted December 17, 2014 As newbi3 said. This is something I have on my todo: rewriting my infusions to use the provided API. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.