Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第683天 写H5和小程序有什么相同及不同的地方吗? #3617

Open
haizhilin2013 opened this issue Feb 26, 2021 · 4 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第683天 写H5和小程序有什么相同及不同的地方吗?

3+1官网

我也要出题

@haizhilin2013 haizhilin2013 added the html html label Feb 26, 2021
@Plortinus
Copy link

https://segmentfault.com/a/1190000007388966

@kuaifuping
Copy link

第683天 写H5和小程序有什么相同及不同的地方吗?

3+1官网

我也要出题

https://segmentfault.com/a/1190000007388966

@huifeidenv
Copy link

1、相同点:*都是基于web技术,*跨平台,*无需安装,*更新方便,*轻量级。
2、不同点:*开发框架,*访问入口,*性能,*功能权限,*生命周期,*发布和分发。

@Cinthia-skllina
Copy link

相同点

  1. 基于Web技术: 两者都使用了Web技术如HTML、CSS和JavaScript。
  2. 界面设计: 都着重于提供良好的用户界面和用户体验。
  3. 跨平台: 在多种设备和操作系统上运行,提供跨平台的兼容性。

不同点

  1. 运行环境:

    • HTML5: 可以在任何支持HTML5的标准浏览器上运行。
    • 小程序: 运行在特定的宿主应用内(如微信、支付宝),有专门的小程序框架和API。
  2. 开发目的:

    • HTML5: 更通用,用于构建广泛类型的网页和应用。
    • 小程序: 主要用于在特定平台内提供便捷服务和应用,如电商购物、在线支付等。
  3. 性能和能力:

    • HTML5: 性能和能力受浏览器的限制。
    • 小程序: 直接与宿主应用集成,可以访问更多的系统功能和API,但也受平台的限制。
  4. 开发和维护:

    • HTML5: 需要考虑多浏览器兼容性,可能需要更多的测试和调整。
    • 小程序: 需要遵守特定平台的开发规范和审核流程,但通常有较好的文档和开发工具支持。
  5. 用户获取和分发:

    • HTML5: 可以通过网址访问,通过搜索引擎或社交媒体分享。
    • 小程序: 通常通过扫描二维码或平台内的搜索发现,且依赖于特定平台的用户基础。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

6 participants
@haizhilin2013 @Plortinus @kuaifuping @Cinthia-skllina @huifeidenv and others