|
|
|
|
|
by thomasfl
4233 days ago
|
|
Mobile app is most most certainly going to be made using html and javascript in the time to come. Ionic and angular is great for building mobile apps with standard mobile UI elements like headers with back buttons and chevrons, pages that slides in from the side, modals and tab bars at the bottom of the screen. Everything is meticulously created in html, css and javascript. Scrolling is good enough for most usecases, but if your pages contains long list views with graphic elements the page starts to lag. However if you use famo.us' list view scrolling is nearly as fast and smooth as native code on iPhone 4. On newer phones to difference between hybrid apps and native is unnoticeable. At the moment famo.us only has low level components, like boxes with html content. Standard back buttons, chevrons, tabs, action sheets and icons has to be imported from elsewhere. Famo.us only does fast bouncy animations, touch events and 3d effects. Besides famo.us is working on their phonegap/cordova alternative wrapper. A combination of Ionics ease of use and famo.us' impressive speed would have been great. There's lot of promising little open source projects on github that either extends famo.us or integrates it with javascript MVC libraries. I believe Brendan Eich was right when he said "Always bet on JS!". I bet mobile app development is going to be dominated by JavaScript and HTML. |
|
That I call traditional frontend web tech ancient and out of place today isn't even really an opinion - the deluge of Javascript/CSS frameworks, compile-to languages,and lists of best practices would suggest that something is wrong there. Web stuff is just way easier to get into so there are a huge amount of developers available, especially the types who spend more time yapping on their blogs about the latest overhyped software trend than actually writing software.
I don't know about animations and whatnot, but for games and image processing i.e. 2 enormous chunks of all mobile software, Javascript isn't replacing anything anytime soon.
I don't understand why someone would want to spend hours trying to optimize languages which weren't designed to run native software on a platform to be as effective as the ones that were when you could just write the software in the native language, to me this just seems like an exercise in futility. Even moreso considering the fact that Javascript and HTML are horribly unproductive languages, though I suppose since so many people know them well they can be more productive in them than in a language they don't know.