衡量前端开发领域的质量?
您如何衡量前端开发领域的质量?
您认为有哪些特别相关的工具/技术/最佳实践吗?例如 JavaScript、YSlow、页面验证的单元测试?
我很想知道其他人对此的想法,因为我认为它是开放式的。例如,您可以说质量的标志是完成的网站在所有浏览器中看起来都相同,html 和 CSS 一样都通过了验证。
这些观点是有争议的,因为我个人认为验证并不那么重要和/或完成的网站在所有浏览器中必须看起来相同,例如在不支持它们的浏览器中没有圆角。
How do you go about measuring quality in the Front End Development space?
Are there any tools/techniques/best practices you feel are particluarly relevant? e.g. Unit Testing for JavaScript, YSlow, page validation?
Would be interetsed to know others thoughts on this as i think it is open ended. For example you could say that a mark of quality is that the finished site looks the same in all browsers, html passes validation as does CSS.
Those points are contestable as i personally don't believe that validation is that important and/or a finished site should necessarily look the same in all browsers e.g absence of rounded corners in those browsers that do not support them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
手动检查前端开发:
看网站:
看看未缩小的代码:
这样的例子不胜枚举。
重要的是良好的 HTML 和 CSS 用于增强 UI 和布局,并且 JavaScript 可以正确增强功能。
还要确保 Flash 和 SilverLight 等第 3 方应用程序仅用于复杂应用程序或强大的动画。
哦,当然还要检查一下,这不是 ASP.NET、WordPress、SharePoint 等自动生成的废话。
更仔细地阅读你的问题,我已经偏离了主题。如果您需要自动化工具,HTML 验证是不错的选择。使用像 YSlow 这样的外部工具非常棒。使用js单元测试非常棒。这些都是您应该使用的好且有效的工具。
我确信还有更多,但我没有个人经验可以推荐。
To manually Check the front end development:
Look at the website:
Look at the un-minified code:
And the list goes on and on.
The important thing is good HTML with CSS used to enhance the UI and layout and that the JavaScript enhances the functionality correctly.
Also ensure that 3rd party applications like flash and SilverLight are only used for complex applications or powerful animations.
Oh and of course check It's not auto generated nonsense from ASP.NET, WordPress, SharePoint, etc.
Reading your question more carefully I've handled it at a tangent. If you want automated tools the HTML validation is good. Using external tools like YSlow is great. Using js unit testing is great. These are all good and valid tools you should use.
I'm sure there are more but I don't have personal experience to recommend any.