Jump to content

[Infusion Idea] 3rd Party Framework


DataHead

Recommended Posts

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 by datahead
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...