


百度小说推出专为平板电脑设计的 HTML5 web 应用,体验效果和原生应用类似,是否意味着随着 HTML5 技术的成熟,原生应用未来将输给 web app?
在微博上看到的,截图请见http://weibo.com/1873795663/xh1JRom4w
用ipad之类的平板电脑访问http://m.baidu.com/xs也可以看到,感觉上界面很炫,不输给native app。在桌面应用领域,原生应用已经输给了web app,如果html5未来更加成熟给力,是否在移动应用领域,native app也会输给web app?
回复内容:
此说为时过早,原因有几个1)html5标准正在完善中,虽然前景看好,但app也在不断的进化,进一步言之,app与硬件的融合度更高,能够更好地充分利用硬件的高性能。两者的角逐,就目前来说,趋势还是趋势,现实不能靠想象。
2)你举一个例子,且不说样本太小,样本也不典型,很难推导出你想要的结论。你看到的百度html5小样本,代表不了多少东西。
3)在桌面应用领域,原生应用已经输给了web app-----更是无从谈起!!这一断言不妥,web app 目前只能处理一些相对简单的工作,如同PS这类大型软件的效率,不是web app能够一蹴而就。 未来 native app和 web app 之间的界线会越来越模糊,会是一种相辅相成的关系,一个 app 是 native 的还是 html5 不会再引发太大的讨论。现在即使做 native app ,很多也会不可避免的使用到 html 技术 。
web app 相比 native app ,在系统级的操作上有些劣势。但目前还有一种趋势,就是将 web app 的技术和 native 技术结合在一起,诸如 PhoneGap 这些框架的兴起,直接使用 javascript 做一个中间层,让 web app 可以做到一些 html5 无法实现的系统级的功能。
这样的框架开发出的 app ,你说它是 web app 还是 native app 呢?未来 native app和 web app 之间的界线会越来越模糊…… html5本身发展就是为了解决html客户端化的过程,如果这条路走下去,那么html会逐渐模糊与app的差异。
现在大家关心app还是html,未来用户不care。另外现在的app很多本身就是webapp伪装的。 当我思考webapp的时候我总以一个前端的思维来思考,所以我总是想到IE,UCWEB等。
目前Webapp应用情景大致有俩:
1、在V8的Chrome桌面客户端上运行的webapp,特点是根据Chrome的特点优化过的,例子是离线GMAIL,很流畅是吧;
2、Safari Mobile Webapp,跑在iPhone上的,特点是:网站通过对Safari的特点优化,在iPhone上操作将页面添加到主屏幕后,打开主屏幕上的网站图标,打开的便是一个app,跑在Safari里但是没有Safari的GUI,第一次打开会下载所需数据。
例子是http://mac.pcbeta.com
所以结论是:
1、你要要做一个webapp,仍然要考虑平台的问题;
2、HTML5在接口、存储、Socket等方面的可用性仍不及Native。
3、安全性上Native app和Webapp是有区分的,而且会长久存在。
4、js执行效率及资源占用。 http://m.baidu.com/xs 首頁尚算順暢,但隨便點一本書進去,返回的都只是在 http://baidu.com 搜索該書書名時的結果頁,而且貌似大部分書都搜索不到。
換言之,http://m.baidu.com/xs 不是一個 web app——它根本就不是一個 app。
如果要拿閱讀軟件類的 web app 來分析,目前做得最好的顯然是 Kindle Cloud Reader (http://read.amazon.com)。但即便是它,在此刻(2011 年 8 月),也無法跟原生的 Kindle for iOS 比。 没有比这个PPT更客观的回答了
http://www.slideshare.net/retomeier/html5-or-android-for-mobile-development 我用ipad看了一下,为什么我觉得体验远不如native app。但是我同意web app是趋势。 长期来看,html和app互为补充了,轻应用又想跨平台可以考虑html。另外'html5'本身就被滥用了,其实是html/js/css等各种web技术的合集,这个概念都没研究透彻就狂热鼓吹html5,一概无视! native app和web app各有所长吧,虽然一直觉得HTML5是以后的方向,大有取代native app的趋势。可是目前还不是很明显,至少native app是可以实现很多系统级别的功能,最简单的例子就是推送,单纯的HTML5还是依托于浏览器存在的,而浏览器其实也是一种native app,就底层功能实现来说web app处于劣势。
但web app灵活的维护性也是native app不可能战胜的,两者结合应该是一个比较不错的方向吧,如果有一天浏览器能上升为系统层级或者web app具有实现某些系统层级功能的时候,才可以和native app公平较量。 html5也是html,我觉得不用太关注谁压倒谁,看你的应用更适合哪种.native app的体验和效率明显是超过html5的,而且在一些需要调用硬件的应用上是毋庸置疑的选择.html胜在升级方便和跨平台,根据自己应用的特定去选择吧

HTML5isamajorrevisionoftheHTMLstandardthatrevolutionizeswebdevelopmentbyintroducingnewsemanticelementsandcapabilities.1)ItenhancescodereadabilityandSEOwithelementslike,,,and.2)HTML5enablesricher,interactiveexperienceswithoutplugins,allowingdirectembe

Advanced tips for H5 include: 1. Use complex graphics to draw, 2. Use WebWorkers to improve performance, 3. Enhance user experience through WebStorage, 4. Implement responsive design, 5. Use WebRTC to achieve real-time communication, 6. Perform performance optimization and best practices. These tips help developers build more dynamic, interactive and efficient web applications.

H5 (HTML5) will improve web content and design through new elements and APIs. 1) H5 enhances semantic tagging and multimedia support. 2) It introduces Canvas and SVG, enriching web design. 3) H5 works by extending HTML functionality through new tags and APIs. 4) Basic usage includes creating graphics using it, and advanced usage involves WebStorageAPI. 5) Developers need to pay attention to browser compatibility and performance optimization.

H5 brings a number of new functions and capabilities, greatly improving the interactivity and development efficiency of web pages. 1. Semantic tags such as enhance SEO. 2. Multimedia support simplifies audio and video playback through and tags. 3. Canvas drawing provides dynamic graphics drawing tools. 4. Local storage simplifies data storage through localStorage and sessionStorage. 5. The geolocation API facilitates the development of location-based services.

HTML5 brings five key improvements: 1. Semantic tags improve code clarity and SEO effects; 2. Multimedia support simplifies video and audio embedding; 3. Form enhancement simplifies verification; 4. Offline and local storage improves user experience; 5. Canvas and graphics functions enhance the visualization of web pages.

The core features of HTML5 include semantic tags, multimedia support, offline storage and local storage, and form enhancement. 1. Semantic tags such as, etc. to improve code readability and SEO effect. 2. Simplify multimedia embedding with labels. 3. Offline storage and local storage such as ApplicationCache and LocalStorage support network-free operation and data storage. 4. Form enhancement introduces new input types and verification properties to simplify processing and verification.

H5 provides a variety of new features and functions, greatly enhancing the capabilities of front-end development. 1. Multimedia support: embed media through and elements, no plug-ins are required. 2. Canvas: Use elements to dynamically render 2D graphics and animations. 3. Local storage: implement persistent data storage through localStorage and sessionStorage to improve user experience.

H5 and HTML5 are different concepts: HTML5 is a version of HTML, containing new elements and APIs; H5 is a mobile application development framework based on HTML5. HTML5 parses and renders code through the browser, while H5 applications need to run containers and interact with native code through JavaScript.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Mac version
God-level code editing software (SublimeText3)
