哪些事情不能通过服务器端语言完成而只能通过 JavaScript 完成?

发布于 2024-09-06 19:52:53 字数 321 浏览 3 评论 0原文

  • 是否可以避免 JavaScript
    如今对于小企业来说
    网站、博客等?
  • 这是明智的想法吗?
  • 哪些事情是不能做的
    仅通过服务器端语言
    可以用 JavaScript 实现吗?或者是
    一切皆有可能,除了
    使用服务器端语言的动画可以通过
    JavaScript?
  • 赞成使用的理由是什么
    JavaScript 适合用于网站
    更好的功能、可访问性、
    搜索引擎优化和可用性?
  • 即使服务器端语言也可以实现,在什么情况下我们应该始终使用 JavaScript?
  • 关于使用 Javascript 有哪些常见的误解?
  • Is it possible to avoid JavaScript
    these days for small business
    websites, blogs etc ?
  • and is it wise idea?
  • What are things which cannot be done
    via server side language and only
    possible with JavaScript? Or is
    everything possible except
    animation with server side languages which is possible with
    JavaScript?
  • What are reasons in favor of use of
    JavaScript is good for website for
    better functionality, Accessibility,
    SEO and Usability?
  • In what scenarios we should use JavaScript always even if thing is also possible with server side language?
  • What are common myth about use of Javascript?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光磨忆 2024-09-13 19:52:53

小型企业、博客等绝对有可能拥有不使用任何 Javascript 的网站。创建如此强大的用户体验会很困难,但肯定可以做到。博客是最容易做的,因为博客中通常不需要花哨的功能。

基本上,在 Javascript 中可以完成但在服务器端语言中无法完成的关键事情是与用户交互,而无需额外的页面重新加载。这当然可以创建更好的功能并提高可用性。我希望对可访问性也有一些好处。不过,SEO 似乎并不是其中的一部分。

It is definitely possible for small businesses, blogs, etc to have sites that do not use any Javascript. It will be difficult to create as strong a user experience, but it can certainly be done. Blogs would be the easiest to do, as there's generally little need for fancy features in a blog.

Basically, the key things that can be done in Javascript that can't be done in server side languages are interactions with the user without additional page reloads. This can certainly create better functionality and increase usability. I'd expect some benefits to accessibility as well. SEO doesn't seem very much a part of it though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文