DarkPark / stb

STB single page application framework
GNU General Public License v3.0
14 stars 9 forks source link

Platform question #6

Closed DChinin closed 6 years ago

DChinin commented 9 years ago

Is it only for MAG? Or you plan to support other STB, such as Dune, Humax, Albis etc When you plan to support platform-specific functionality (mac/ip/player) ?

DarkPark commented 9 years ago

At the moment it is linked to STB but in general there is very little specific code. The main purpose is to easily create SPA with remote/keyboard control. Support other STB and platform-specific functionality is not implemented at the moment but due to the architecture (release build is compiled without any dev functionality (or any not target platforms in future) - the most compact form) it shouldn't be difficult.

DChinin commented 9 years ago

Ok, i will wait for platform functions.

One more question: why you start a new project instead of fork/improve inio project? STB framework is very similar to them

DarkPark commented 9 years ago

I haven't seen this project before. Will take a closer look. But in general main idea of this project was performance. No jquery, react or similar. People who believe these libraries are lightweight and quick probably never tried to use them on regular very hardware-modest devices like mag250 and take a look at profiling results - 50 and more levels of stack, 150 ms just to move focus from button to button and so on. So this framework uses only native JS with a lot of low-level optimizations and approaches.

DChinin commented 9 years ago

Yes, perfomance is a huge problem on STB. And there many ways to increase perfomance on different devices. And that the reason why i asked you about frameworks platforms.

DarkPark commented 9 years ago

I'm not familiar with other platforms so there should be some interest from experienced people to add these platforms to the framework.