php 为什么我不想将 Adob​​e Dreamweaver 用作简单的代码编辑器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3677926/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 10:40:16  来源:igfitidea点击:

Why would I NOT want to use Adobe Dreamweaver as a simple code editor?

phpweb-applicationsidedreamweaver

提问by d2burke

I am an applications developer for a for-profit college in Virginia. At this point I could code all of what I do in notepad if I wanted to, or had to, but I prefer to use an IDE for speed and organization. As a Mac user, I've used such IDEs as NotePad++, Coda, TextMate, TextEdit, NetBeans, and of course Dreamweaver.

我是弗吉尼亚州一所营利性大学的应用程序开发人员。在这一点上,如果我想或不得不这样做,我可以在记事本中编写我所做的所有事情,但我更喜欢使用 IDE 来提高速度和组织性。作为 Mac 用户,我使用过 NotePad++、Coda、TextMate、TextEdit、NetBeans 和 Dreamweaver 等 IDE。

At work my company owns licenses for the Adobe Suite that includes Dreamweaver and I enjoy the code hinting, the grouping of related files, the built-in FTP, the code snippets and custom keyboard actions. I get flack from other developers when I mention that I use Dreamweaver.

在工作中,我的公司拥有包含 Dreamweaver 的 Adob​​e Suite 许可证,我喜欢代码提示、相关文件分组、内置 FTP、代码片段和自定义键盘操作。当我提到我使用 Dreamweaver 时,我受到了其他开发人员的抨击。

Is there a reason why I should NOT be using it...or is it just a case similar to people who think only black and white tattoos are cool and anything else isn't?

有什么我不应该使用它的原因吗……或者这只是一个类似于那些认为只有黑白纹身很酷而其他任何东西都不酷的人的情况?

回答by slikts

The people who object to you using Dreamweaver probably mean the WYSIWYGpart which is known to produce tag soup.

反对你使用 Dreamweaver 的人可能是指众所周知的WYSIWYG部分,它会产生标签汤

By the way, NotePad++, Coda, TextMate and TextEdit are just editors, not IDEs, because they don't integrate build automation or debugging tools out of the box.

顺便说一下,NotePad++、Coda、TextMate 和 TextEdit 只是编辑器,而不是 IDE,因为它们没有集成开箱即用的构建自动化或调试工具。

回答by Spudley

The issue most people have with Dreamweaver is that it's a code generator, and code generators are renowned for producing poor-quality HTML. (the main issue with that - other than pride in one one's word - being that it causes cross-browser compatibility issues)

大多数人对 Dreamweaver 的问题是它是一个代码生成器,而代码生成器以生成质量低劣的 HTML 而闻名。(主要问题 - 除了对自己的话感到自豪 - 是它会导致跨浏览器兼容性问题)

if you take away the code generation aspect, it's a straight fight between any other IDE, and other IDEs are just as good or better.

如果去掉代码生成方面,那就是任何其他 IDE 之间的直接斗争,其他 IDE 也一样好或更好。

That said, I haven't used Dreamweaver in a long time so I can't really comment on its current version. Maybe the code generation has improved massively (but I doubt it). Maybe it really is a better IDE than all the rest. In the end, the choice of IDE is a personal one; if you're comfortable in Dreamweaver, then it's a good choice for you.

也就是说,我已经很长时间没有使用 Dreamweaver,所以我无法对其当前版本发表评论。也许代码生成已经有了很大的改进(但我对此表示怀疑)。也许它真的是一个比其他所有更好的 IDE。最后,IDE的选择是个人的;如果您对 Dreamweaver 感到满意,那么它是您不错的选择。

回答by Joel Etherton

Any person who gives you flack for your choice of editor is not a true developer. Certain IDEs have certain benefits based on the languages/frameworks they are targeting to speed or ease development pains. If your company bought Adobe, and you like Dreamweaver and code comfortably in it... then keep doing it. Dreamweaver is an outstanding product, and if it does what you need it to do then use it.

任何对您选择的编辑器嗤之以鼻的人都不是真正的开发人员。某些 IDE 基于它们旨在加速或缓解开发难题的语言/框架而具有某些优势。如果您的公司购买了 Adob​​e,并且您喜欢 Dreamweaver 并在其中轻松编写代码……那么请继续这样做。Dreamweaver 是一款出色的产品,如果它能满足您的需求,请使用它。

None of these developers who give you flack are responsible for your paycheck, so screw them. Use the tool that gets it done. If someone shows you a better one, have no shame in switching. If they don't, keep on keepin' on.

这些给你抨击的开发人员都没有对你的薪水负责,所以去他们吧。使用完成它的工具。如果有人向您展示了更好的一面,请不要羞于切换。如果他们不这样做,请继续保持。

回答by Nate

Obviously we could all do 99% of our coding in notepad, but we choose IDEs for their productivity boosting, code-writing abbilities.

显然,我们都可以在记事本中完成 99% 的编码工作,但我们选择 IDE 是因为它们具有提高生产力和编写代码的能力。

It depends what you are developing in. If you're coding C# and .NET using Dreamweaver would be an odd choice, though you could make it work.

这取决于您的开发环境。如果您使用 Dreamweaver 编写 C# 和 .NET 代码将是一个奇怪的选择,尽管您可以让它工作。

If you're developing client side web stuff in XHTML, JavaScript, and CSS Dreamweaver is a fine choice.

如果您正在使用 XHTML、JavaScript 和 CSS 开发客户端 Web 内容,Dreamweaver 是一个不错的选择。

回答by Māris Kise?ovs

If you like it then use it. It's only up to you which editor to use and to decide is it worth that money.

如果您喜欢它,请使用它。使用哪种编辑器并决定是否值得花这笔钱,这完全取决于您。

回答by Mike Sav

I do like Dreamweaver when I'm building front ends and I want to see what I'm building. When it comes to coding I'd pick another tool. I think NetBeans is great for PHP and I love it how it raises code problems, and HTML issues (especially in regards to accessibility, standards, doctypes). Notepad++ is a godsend! I couldn't develop without it.

我在构建前端时确实喜欢 Dreamweaver,我想看看我在构建什么。说到编码,我会选择另一个工具。我认为 NetBeans 非常适合 PHP,我喜欢它如何引发代码问题和 HTML 问题(尤其是在可访问性、标准、文档类型方面)。Notepad++ 是天赐之物!没有它我就无法发展。

One think I always hated with Dreamweaver was the auto JavaScript features (and later SPRY framework) as these appealed to non coders as they provide functionality. What they don't realise is that Dreamweaver will produced bloated, horrible scripts. I once produced a JS/CSS dynamic menu using 2 CSS classes and 11 lines of unobtrusive JS. When getting Dreamweaver to produce something similar using a wizard it produced JS code in my page and a 1200 line JS file.

一种认为我一直讨厌 Dreamweaver 的是自动 JavaScript 功能(以及后来的 SPRY 框架),因为它们提供了功能,因此吸引了非编码人员。他们没有意识到的是,Dreamweaver 会生成臃肿、可怕的脚本。我曾经使用 2 个 CSS 类和 11 行不显眼的 JS 制作了一个 JS/CSS 动态菜单。当让 Dreamweaver 使用向导生成类似的东西时,它在我的页面中生成了 JS 代码和一个 1200 行的 JS 文件。

When I'm writing C# I have to use Visual Studio...

当我编写 C# 时,我必须使用 Visual Studio...

Just something I wanted to get off my chest.

只是我想摆脱我的胸膛。

回答by curt

Funny, I remember a time in pre-Adobe acquisition days when Dreamweaver was considered the serious developer's tool and tools like Front Page were for novices. I agree with others that it may be the code generation aspects that the detractors have in mind. I used them once when I was learning PHP. After seeing the generated code, once was enough. Like you I now use it for it's other features.

有趣的是,我记得在 Adob​​e 被收购之前的一段时间,Dreamweaver 被认为是严肃的开发人员工具,而 Front Page 之类的工具则是为新手准备的。我同意其他人的看法,即批评者可能想到的是代码生成方面。我在学习 PHP 时使用过它们。看到生成的代码后,一次就够了。像你一样,我现在将它用于它的其他功能。

回答by Tomasz Kowalczyk

I personally use Eclipse [currently 3.6 Helios], but have worked once on DW and I must say that it is extremely handy when it comes to write HTML or CSS. It is not that useful when it comes to write PHP or other programming languages, but for frontend it is VERY nice.

我个人使用 Eclipse [目前是 3.6 Helios],但曾经在 DW 上工作过,我必须说它在编写 HTML 或 CSS 时非常方便。在编写 PHP 或其他编程语言时它不是很有用,但对于前端来说它非常好。

回答by Rob

If it forces nothing on you (if it lets you edit HTML without adding all kinds of nonsense you're not interested in), and you like using it, I see no reason not to. Especially since you mentioned some interesting features it has that you like to use.

如果它对您没有任何影响(如果它允许您编辑 HTML 而不添加您不感兴趣的各种废话),并且您喜欢使用它,我认为没有理由不这样做。特别是因为您提到了一些您喜欢使用的有趣功能。

Those "other developers" are probably thinking in black and white, unless Dreamweaver cannot be used as simply a code editor, but I believe it can.

那些“其他开发人员”可能是黑白分明的,除非 Dreamweaver 不能简单地用作代码编辑器,但我相信它可以。

I wouldn't care much about what those other developers think, unless they have compelling arguments. I think you would've mentioned those, if they had any. They're probably also the kind of developer that thinks anything Microsoft or Apple or whatever makes is automatically crap.

我不会太在意其他开发人员的想法,除非他们有令人信服的论据。我想你会提到这些,如果他们有的话。他们可能也是那种认为微软或苹果或任何东西都是废话的开发人员。

回答by Tomas Narros

I've used it, a few, and quite time ago. IMHO, the worst feature of Dreamweaver was that the basic layout of almost all HTML web pages was controlled using tables. If you wanted to write an accesible HTML page (wich was requirement for a bunch of customers) you had to fight against it, and code the divs against its natural tendence to build tables.

我用过它,有几次,而且很久以前。恕我直言,Dreamweaver 最糟糕的功能是几乎所有 HTML 网页的基本布局都是使用表格控制的。如果您想编写一个可访问的 HTML 页面(这是一群客户的要求),您必须与它作斗争,并针对其构建表格的自然倾向对 div 进行编码。