Show HN: NatUIve 2.0 – lightweight, rich, open web
natuive.net
natuive.net
https://natuive.net/demos/hasselblad/ uses natUIve, but https://www.hasselblad.com/ doesn't.
https://natuive.net/demos/postbank/ uses natUIve, but https://www.postbank.bg/ doesn't.
https://natuive.net/demos/tutsplus/ uses natUIve, but https://tutsplus.com/ doesn't.
https://natuive.net/demos/cnn-travel/ uses natUIve, but https://www.cnn.com/travel doesn't.
etc.
I've never seen this practice before. Is this common? Sites like https://threejs.org/ only list projects that actually use the library.
Original: 15,000 Classes, 2mb Reimplemented: 1,200 Classes, 20kb
All those are fake numbers, it would have shown the "lightweight" concept.
You are using their brands to boost yours even though they are unrelated.
So I'd either build sites that look similar but don't have real logos / names which should be enough to show what kind of things are possible with the framework or if you want to stick to the re-implementations of real sites add something like:
"Reimplemented real world examples"
Also, likely copyright infringement on multiple counts. (Not a lawyer, though.)
On mobile the demo site does feel weird (a taller-than-wide screen and a vertical tab bar don't exactly mix), but it's still plenty usable and snappy on Firefox for Android. The sample sites are much more normal in terms of mobile site UX.
A lot of people here seem to be bagging on it for silly reasons (like "I have to press the back button multiple times after clicking on multiple things!"; gee, turns out clicking on links adds entries to your browser history, who'da thunk?). Don't listen to them. You've done a fantastic job with this framework, and I look forward to using it for my own projects.
I will say that one thing I'd change is to provide the option of making it a little more opinionated/invasive. I shouldn't have to say <table class="n-table"> everywhere; I'd rather just say <table> and be done with it. I'm sure I could figure out how to customize this to add that opinionation/invasiveness, but it'd be nice if it was an (opt-in!) out-of-the-box option.
EDIT: In the spirit of "let's really break this thing", I fired up the Haiku Nightly VM I've got laying around and tried loading the homepage and some of the demo pages in both WebPositive (WebKit-based) and NetSurf (uses its own rendering engine). WebPositive handled everything like a champ (albeit with some severe loading lag on the homepage; the demo pages all loaded fine). NetSurf failed entirely on the homepage (shows the nav and nothing else, even after clicking on nav entries), but the demo pages work reasonably well (they're at least viewable, even if the proportions are wonky in a lot of places).
Either way, the fact that the framework itself works okay even on an obscure operating system running in a virtual machine with only 1024MB of RAM is delightfully impressive.
A major principle is CSS-only functionality, accessibility and stability (it probably has the only proper modal window on iPhone Safari).
Happy to see you found it useful and I hope at least people will be inspired to give the open web a chance. Thanks.
Also, the current implementation means I can't use the arrow keys to scroll through the list of tabs; even by navigating to the lower tabs, the scroll doesn't follow. I'd say if you're going to do that, the scroll position for the tab list should follow the selected tab.
I'm assuming this can be turned off if we don't want this particular feature?
I'd like to see a paragraph somewhere explaining what exactly this framework is all about tho, not just a long list of features. It's a CSS framework like Bootstrap? What does it do differently than Bootstrap?
One thing NatUIve does appear to get wrong is that (at least with JS enabled) if you use the forward button too rapidly it'll get confused and renavigate to the page/tab you're on, thus preventing you from going further forward (because it adds an extra entry to the history). This doesn't happen when you turn off JS, so I'm pretty sure it has to do with the scroll effect.
Which sucks.
But that is the world we live in. The more tools we give the designers, the more they will abuse everything they can.
CSS was a mistake, the web should have stayed in HTML 3.2.
There are readable references: https://getbootstrap.com/docs/3.4/css/ https://vuejs.org/v2/api/ https://docs.python.org/3.7/reference/index.html
Even just saying in the page that it's not supposed to work well on my device would be better.
It doesn't inspire confidence considering it the first touch for developer (who else is this for?)