Earlier quoted context omitted.
JSON is same as XML.
Text is the same as JSON.
Hyperview – Native mobile apps, as easy as creating a website
141–150 of 150 posts
Re: Hyperview – Native mobile apps, as easy as creating a website
#142Re: Hyperview – Native mobile apps, as easy as creating a website
#143Earlier quoted context omitted.
React Native constructs only single UIView by default and draw actual UI using poorly man browser engine using JS. This UI does not "feel native" to user, because it has wrong animation timings, scroll speed, border elevation, missing "native" gestures, etc.
That is certainly true of Flutter, which has its own rendering pipeline. React native, if you create a Button then on iOS you'll get an actual UIButton instance constructed, etc.
Re: Hyperview – Native mobile apps, as easy as creating a website
#144Earlier quoted context omitted.
The service worker thing is a weird amount of boilerplate. Every time I go back to making a PWA, I skip through 10 search results explaining what a service worker is (idc) until I just find whatever .js code I have to copy. And it's not some trivial one-liner. I get that in theory a PWA can do offline stuff and whatever, but 99% of the time someone is only making a PWA to make the app installable on a phone home scre…
It is not a trivial one liner no, but you need 3 events implemented in your service-worker file, then in your main.js file you register it. Service workers are just JavaScript that runs in the background in their own process in a browser. Could think of them as separate threads. Anyway, all of that can be done in less than 20 lines of JS? I consider it simple compared to people building React apps and making the proc…
Re: Hyperview – Native mobile apps, as easy as creating a website
#145Earlier quoted context omitted.
You're making it sound as if the difference in choice between China and western countries is negligible. Surely that's not the case? If every VC company tries to pull you into their walled garden, I can still choose from among a variety of said walled gardens. I could be wrong of course, since I don't know how many AliPay and WeChat competitors there are.
> If every VC company tries to pull you into their walled garden, I can still choose from among a variety of said walled gardens. When they play it right, you're forced to choose all of them , or at least a significant subset of them, so that their partially overlapping offering add up to the actual thing you need.
Re: Hyperview – Native mobile apps, as easy as creating a website
#146"Serve your app as XML" As someone who started his professional career in 2005: All the old is new again.
The web is, was, and forever will be stuck reinventing shitty versions of things that they could have had decades earlier if they stuck with XML. Custom elements, client side templating, form validation against schemas, they had it all and threw it away.
Re: Hyperview – Native mobile apps, as easy as creating a website
#147"Serve your app as XML" As someone who started his professional career in 2005: All the old is new again.
I think webapps should be xml (with all the data to display) transformed into html on the client side with XSLT generated by framework templating system). There's a really nice binary XML format that browsers haven't implemented yet: https://en.m.wikipedia.org/wiki/Efficient_XML_Interchange
Re: Hyperview – Native mobile apps, as easy as creating a website
#148Earlier quoted context omitted.
React Native actually constructs a view hierarchy in the platform's UI toolkit, so I'm curious what you mean by "still a webpage"?
React Native constructs only single UIView by default and draw actual UI using poorly man browser engine using JS. This UI does not "feel native" to user, because it has wrong animation timings, scroll speed, border elevation, missing "native" gestures, etc.
Re: Hyperview – Native mobile apps, as easy as creating a website
#149Earlier quoted context omitted.
JSON is great in it's own regards but the features are not comparable.
At least with XML, you can have custom datatypes, not just strings and numbers and booleans. In all seriousness, everything in JSON can be expressed as XML; but not necessarily the other way around.
Like that time there were hundreds of forms to build, refused, held a silent protest until a reasonable way presented itself.
Enter "XML Form Template" or "XML Form Definition.", A form is generated from the XML in html, filled in, and on submit, the XML is filled back in.
Built one form renderer and done. Never got old watching it.
XForms (W3C standard)
Re: Hyperview – Native mobile apps, as easy as creating a website
#150Earlier quoted context omitted.
The service worker thing is a weird amount of boilerplate. Every time I go back to making a PWA, I skip through 10 search results explaining what a service worker is (idc) until I just find whatever .js code I have to copy. And it's not some trivial one-liner. I get that in theory a PWA can do offline stuff and whatever, but 99% of the time someone is only making a PWA to make the app installable on a phone home scre…
It is not a trivial one liner no, but you need 3 events implemented in your service-worker file, then in your main.js file you register it. Service workers are just JavaScript that runs in the background in their own process in a browser. Could think of them as separate threads. Anyway, all of that can be done in less than 20 lines of JS? I consider it simple compared to people building React apps and making the proc…