Can i run Ecere+Gui to Html5???

Forum for talking about anything else Ecere/eC related.
Post Reply
fasasoftware
Posts: 13
Joined: Wed Sep 30, 2015 1:08 pm

Can i run Ecere+Gui to Html5???

Post by fasasoftware »

Can i run Ecere+Gui to Html5???

In other words....can i build my app with a gui....(windows+buttons ...etc) and convert it to javascript???(html5??)

Thanks a lot jerome,

Best regads, lestroso... :oops:
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can i run Ecere+Gui to Html5???

Post by jerome »

You can do this with Emscripten.
At the moment this requires that the browser supports WebGL.
fasasoftware
Posts: 13
Joined: Wed Sep 30, 2015 1:08 pm

Re: Can i run Ecere+Gui to Html5???

Post by fasasoftware »

AS i ask you before.....dear jerome...could you kindly develop a little converter...from eceres files to html5?? with a click of button?? without emscripten logo and full screeen ,.. i'm sorry jerome ....i'm not a real good, best programmer like you!!!! yes...you have solved my annoying problems of installer of a year in 60 seconds!!!!!

So for this reason i ask you this....please..... :oops:

Best regards,

Lestroso :D
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can i run Ecere+Gui to Html5???

Post by jerome »

Hi Lestroso,

Like I said we are working on a way to simplify building apps for the web, and once this is ready we will publish some clear instructions on how to do so. I will be happy to help you then if you still find the task difficult. It would be nice indeed if the IDE made it as simple as possible and we will definitely keep that suggestion in mind and try to find them to make it as easy as pushing a button.

Cheers,

-Jerome
fasasoftware
Posts: 13
Joined: Wed Sep 30, 2015 1:08 pm

Re: Can i run Ecere+Gui to Html5???

Post by fasasoftware »

dear Jerome.....You're very kind and professional....Now i'll try to work seriously with your sdk and i'll wait as soon as possible to your new system steps to deploy to html5.....

There're no words to how to thank you!!!!

Best regards,

Lestroso

www.fasasoftware.com :D
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can i run Ecere+Gui to Html5???

Post by jerome »

Dear Lestroso,

It took a while to get everything working smoothly, but we now officially support deploying to the web through Emscripten and WebGL with version 0.44.15. Sorry for taking so long.

I've put together detailed instructions for targeting the web at this address: http://ecere.org/web/.

You can find here a few interesting demo web apps:

http://ecere.com/apps/materials/
http://ecere.com/apps/chess/
http://ecere.com/apps/mandelbrot/
http://ecere.com/apps/spheres/
http://ecere.com/apps/mekano/

Best regards,

-Jerome
fasasoftware
Posts: 13
Joined: Wed Sep 30, 2015 1:08 pm

Re: Can i run Ecere+Gui to Html5???

Post by fasasoftware »

Thanks a lot!!! this is a good news!!! thank you very much again... i will try it..thanks again dear Jerome..

i notice only this on examples.....the loading of them are very slow.....only this...

Best regards,

lestroso :D :D :D
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can i run Ecere+Gui to Html5???

Post by jerome »

Yes, they do take a little while to load, as the entire Ecere library in JavaScript is being downloaded.

WebAssembly will make this faster. It might already be possible to generate WebAssembly instead of JavaScript with Binaryem.

Another thing that might speed things up a great deal is having the Ecere library in a separate module, which means it would only have to be downloaded once for all these examples. We haven't managed to get that working yet.

Let me know how your attempts to build and run web apps go.

Best regards,

-Jerome
Post Reply