为什么人人网把 iOS 客户端从原生写成 HTML5,Facebook 却将半 HTML5 重写成原生?
回复内容:
人人说,擦,你们不当屎了也先说一声啊!顺便再给大家看一个玩意儿 http://www.renren.com/timeline_waitinglist/index
说到底,人人就是非屎不可,屎也要像Facebook
说不定下一次就发布一个「人人客户端浴火版」,就改回来了。 两边都发觉到:
咦!貌似移动团队的那群家伙目前工作不太饱和嘛 Facebook 是改成了源生+html5 不是纯源生
源生->html5
节约开发成本和功能更新的问题 , 这样版本可以快速迭代而不必更新客户端,兼容性问题也较少
这时候更注重业务逻辑方面的问题
缺点是运行效率太低,不流畅, 使用体验的感觉是在摸网页而不是摸手机
这点有点类似为什么 "web开发大多选择动态语言" 的原因
html5->源生+html5
在主体功能基本固定了之后 , 框架更新不太频繁的时候 , 前端使用html5更灵活
这时候人力财力也相对宽裕 , 这时候更有精力思考效率方向的东西 , 所以可以着手来做原生化的骨骼.
这有点类似为什么"互联网公司成熟后 通常会把php , rails 的后端改成java / C++" 因为抄袭需要时间。 有个成语叫「亦步亦趋」。
对于有着复杂业务逻辑的 Web 社交应用的移动端,用 HTML 5 来实现再投机不过。
其次,我不觉得完全是押注 HTML 5 技术拖累了 FB 上移动平台上的发展,原生改写的 FB 固然在性能上提升显著,我个人依然觉得它不好玩。
再者,国内用户在应用体验上没有那么敏感,是 HTML 5 还是原生如果不给出显著的对比情况下,一般用户很难区分,君不见还有同学用 WAP 上人人么。
「没有银弹」,不投机取巧做出产品才是硬道理。 我只知道人人游戏最擅长的就是

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics











Best practices for H5 code include: 1. Use correct DOCTYPE declarations and character encoding; 2. Use semantic tags; 3. Reduce HTTP requests; 4. Use asynchronous loading; 5. Optimize images. These practices can improve the efficiency, maintainability and user experience of web pages.

Web standards and technologies have evolved from HTML4, CSS2 and simple JavaScript to date and have undergone significant developments. 1) HTML5 introduces APIs such as Canvas and WebStorage, which enhances the complexity and interactivity of web applications. 2) CSS3 adds animation and transition functions to make the page more effective. 3) JavaScript improves development efficiency and code readability through modern syntax of Node.js and ES6, such as arrow functions and classes. These changes have promoted the development of performance optimization and best practices of web applications.

H5 improves web user experience with multimedia support, offline storage and performance optimization. 1) Multimedia support: H5 and elements simplify development and improve user experience. 2) Offline storage: WebStorage and IndexedDB allow offline use to improve the experience. 3) Performance optimization: WebWorkers and elements optimize performance to reduce bandwidth consumption.

HTML5 is a key technology for building modern web pages, providing many new elements and features. 1. HTML5 introduces semantic elements such as, , etc., which enhances web page structure and SEO. 2. Support multimedia elements and embed media without plug-ins. 3. Forms enhance new input types and verification properties, simplifying the verification process. 4. Offer offline and local storage functions to improve web page performance and user experience.

HTML5 code consists of tags, elements and attributes: 1. The tag defines the content type and is surrounded by angle brackets, such as. 2. Elements are composed of start tags, contents and end tags, such as contents. 3. Attributes define key-value pairs in the start tag, enhance functions, such as. These are the basic units for building web structure.

Key elements of HTML5 include,,,,,, etc., which are used to build modern web pages. 1. Define the head content, 2. Used to navigate the link, 3. Represent the content of independent articles, 4. Organize the page content, 5. Display the sidebar content, 6. Define the footer, these elements enhance the structure and functionality of the web page.

There is no difference between HTML5 and H5, which is the abbreviation of HTML5. 1.HTML5 is the fifth version of HTML, which enhances the multimedia and interactive functions of web pages. 2.H5 is often used to refer to HTML5-based mobile web pages or applications, and is suitable for various mobile devices.

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.
