[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>2017 >the best desktop crossplatofrm gui toolkit is embeding

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 30
Thread images: 4

File: maxresdefault (1).jpg (79KB, 1280x720px) Image search: [Google]
maxresdefault (1).jpg
79KB, 1280x720px
>2017
>the best desktop crossplatofrm gui toolkit is embeding a browser into your application

JUST
>>
>>60274788
Is there something like that but to mobile phones?
>>
>>60274788
>the best desktop crossplatofrm gui toolkit
>>
>>60274818
Apache Cordova
>>
>>60274818
https://ionicframework.com/

also but a bit different (rendering to native components)

https://facebook.github.io/react-native/

the second one kinda works, the first one my company tried and failed miserably and just rewrote it to native.
>>
>>60274849
>and just rewrote it to native.
something electron users should consider
>>
>1 browser isn't enough
>lest run many!!1
>efficiency? bloat? what's that?
>open app
>laptop runs out of RAM 5 seconds in
>fffffff
>b-but le everything including portable shit has over 9000 niggabytes of RAM these days amirite? why care about RAM usage lmao
You may not like it but this is my experience with those Web-pretending-to-be-native shit. I didn't even hate the entire idea.
>>
>>60274842
>>60274849
Thanks.

I hope it's not so bad for simple stuff, I might use it later.
>>
>>60274788
>embeding a browser into your application
whats wrong with that? you get to use css to make fully sick UI's, and has built in media player etc.

it's no more bloated then whatever other library you're using.
>>
>>60275769
>it's no more bloated then whatever other library you're using.
is there even such thing as a more bloated library than chromium?
>>
File: 1487034139675.jpg (63KB, 750x499px)
1487034139675.jpg
63KB, 750x499px
>>60274788
>>
the future is now
>>
>>60274788
Sadly yes,

It's incredibly bloated but it's the only way to retain multi device designs in one place. html + css + js is nice for frontend as long as its not plugged up the ass with jquery
>>
>>60275769
>it's no more bloated then whatever other library you're using.
>>
>>60275769

this. only programmers care about this shit anyway. end users only see a nice UI.
>>
>>60277229
end users see a laggy AF ui and they also notice their fans going at 120% and their battery draining super fast.
Electron devs are working on high powered workstations and pretend these problems don't exist. Not everyone has 16gb ram.
>>
Electron is nice because it allows you make 1 GUI (in HTML/CSS) and have it look and behave exactly the same across all platforms.
The only problem is that they picked Chrome to embed it.
>>
>>60277748
>The only problem is that they picked Chrome to embed it.

Hopefully Servo will be able to solve that.
>>
>>60277442
>Not everyone has 16gb ram

But more than half of everyone use Chrome
>>
File: zzzzz.png (52KB, 741x255px)
zzzzz.png
52KB, 741x255px
>>60277442
>le bloat meme

here's what an electron app actually looks like.
>>
>>60277933
>>le bloat meme

this triggers me so hard
sertiousoly, FUCK YOU nigger
>>
>>60277933
oh, only 300mb for something that is a glorified mp3-player
that seems reasonable
>>
File: hmmm.gif (947KB, 874x544px)
hmmm.gif
947KB, 874x544px
>>60274788
>>
>>60277748
>tfw you need to include a web browser with your web app to ensure it behaves the same on every device.
And this my friend is the failure of the web. We can keep up spending millions of dollars on this legacy markup shit with bloated js and suboptimal css only to realize that you can't use JS in slow devices, HTML is useless and css is the only part that works but then you need less.
>>
I don'r see a gui there.
>>
>>60278925
>HTML is useless
Speaks a stupid webdev. HTML fallbacks should be made mandatory so whenever javashit code breaks the users can still receive the service. Webdev time spent is insignificant to overall time spent by the users trying to figure out steaming pile of broken javashit.
>>
The best crossplatform gui toolkit is a massive framework for C++ called Qt. Electron is garbage.
>>
>>60278006
i hate react and electron BUT i have to admit vscode is pretty sweet..

after years of sblime usage i've migrated to vscode.

my only concern with it is how much time it takes to load, about 1-2 seconds where vom and sublime are instant.

but everything else is fast and the plugins are awesome. still so far is the only decent electron program i've ever seen.
>>
>>60279355
from PyQt4 import QtCore, QtGui


from gun import commitSuicide
>>
>>60279355
Seriously, Qt is the best. Looks and performance natively on any platform.

The one thing the web has going for it is how easy it is to make and render custom widgets, though. Want a filterable listbox/select on native?
Well, you better paint everything yourself...
Thread posts: 30
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.