Embedded application with Javascript and Angularjs

Asked

Viewed 172 times

3

all good? I am in need of a light. I will describe a brief scenario:

Imagine a FLASH application (for viewing videos, streaming, dynamic media, etc.) and C (memory control, internal http server for communication between flash and C, Storage management, etc.) running on top of a very limited hardware. Does it work? Yes, it is what we have so far and it is going very well, however, the FLASH is "finished" and very limited, besides an absurd consumption of memory.

My idea is: Migrate from FLASH to HTML5 and JS. However, I am not very knowledgeable about these technologies and I have some doubts, which are they:

• Javascript is a language that does not have strong typing, just like flash, so the memory consumption (any little consume inside a hardware with little memory is too much) becomes equivalent or smaller than FLASH (this based on general form, and not how the code is programmed) ?

• Javascript is not multithread, but, I saw that there are libraries that can "do this". What is the most recommended in this situation? Basically I need to make a state machine, however, I wanted to be able to separate the tasks in different threads.

• Angularjs: I am thinking of using this framework due to the fact that it is possible to implement tests, it is a MVC framework (today the code that runs is very structured), easy calls to HTTP servers, and also because it does not depend on our C library (I think it gives Mokar a lot of development right? ). This is the best for this type of situation I described (has the detail also of the databind that will be a little useful, because the application has some 6 configuration screens and such)?

• HTML5: Is it recommended for streaming videos? It has native support for this or it is necessary to use third party libraries?

Well, that was it. A big hug to all!

  • Many questions in one :) As for running the embedded application, it might be a good idea, I suggest seeing the Web2executable to generate an executable of the site (instead of opening a traditional full-screen browser for example).

  • It is interesting to note that weak typing has nothing to do with high memory consumption. C is a weak typing language, for example. In addition, weak Javascript typing can be solved using Typescript (it is similar to Actionscript 3’s Strict mode type Guards)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.