I'm going to preface my abysmal lack of knowledge in this arena by flat out stating I have an abysmal lack of knowledge with this part of the Lc feature set, aside from (as you did) some very simple testing run locally.
Code: Select all
1. the size is HUGE, I got a 40Mb installation which takes 5 seconds to download on local host (!!!)
The size is huge, but then, I think that about most parts of the engine / standalone sizes. As I understand it, the bulk of the size in this case comes from including not only Lc's engine, but also emsripten's bits and pieces. I'm not in full understanding of how all *that* was put together.
Code: Select all
2. I am getting even for this no brainer web app errors in my console (see image below)
No clue there, I received no such error warnings the last time I played with it, however, that was at least a couple of years ago.
Code: Select all
3. actually loading a more complex app doesn't work at all.
Then I would have to guess that something is going wrong, the question is where.
Code: Select all
am I going the wrong way ?
is deploying to web really an idea that's not useful ?
has anyone deployed a real world app in web ?
I grouped the above 3 because the real answer is "It depends".
Deploying to the web could have a LOT of different ways to be accomplished, outside of the HTML feature in Lc. Richard had a fascinating take on it that actually works out shockingly well, you create a basic standalone, the guts are stored online. There is also Lc server.
Whether or not someone has deployed a real world app in web would depend on your take on a real world app.
-hh has probably pushed the HTML thing about as far as it could possibly go. He has made (among other things) an
IDE based on it. That would be (to me) probably about the most complicated idea I'd ever think about putting on the web. Is it the fastest web based IDE I've ever seen? No, but I find it an amazing feat none the less. IMHO, it certainly would qualify as a "Real world app", and far exceeds the simple "Hello world" status.
I'd look through the thread I linked too, some of the stuff he has in there is jaw dropping.