所见即所得的编辑器与手工编码 [英] WYSIWYG editor vs Hand Code

查看:84
本文介绍了所见即所得的编辑器与手工编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用WYSIWYG编辑器进行网页开发vs手工编码有什么优缺点?



除了不知道如何手动创建某些东西编码是否有什么理由使用所见即所得?

解决方案

我手写代码,但我更喜欢与一个wysiwyg编辑器一起工作,出于这个原因,我仍然在使用Dreamweaver作为编辑器。 95%的时间是在源代码编辑器中手动编码并在预览中查看结果。偶尔我会放入wysiwyg编辑器直接移动块,而当我发现它非常宝贵时。我从来没有使用任何Dreamweavers向导或生成的代码,我也手动清理html。



我没有看到这种方法的错误,它(IDE)提示完成函数等的智能设计(intellisense或任何IDE可能称之为)的HTML设计等同于我。我也总是使用一个模板系统表单或其他,所以我的脚本代码完全独立于html。



与Dreamweaver偶尔编辑wysiwyg(无价的时候我发现,布局的变化),单击预览让我一直保持着它,尽管看着更好的工具 - Aptana,NetBeans等。事实上,我非常想转移到另一个系统 - 看到这个问题 - 最好是在Ubuntu上运行的东西,并在Dreamweaver中去除残缺,只留下wysiwyg fea可能还有一个智能的Javascript编辑器,但我还没有找到任何东西。 KompoZer 虽然看起来很有希望。


What are the pros and cons of using a WYSIWYG editor for web page development vs hand coding?

With the exception of just not knowing how to create something by hand coding is there any reasons to use WYSIWYG?

解决方案

I handcode, but I prefer to work with a wysiwyg editor in tow, and for that reason I'm still using Dreamweaver as an editor. What I'm doing 95% of the time is handcoding inside the Source editor and viewing the results in the preview. Occasionally I'll drop into the wysiwyg editor to move blocks around directly though and when I do I find it invaluable. I never use any of Dreamweavers wizards or generated code and I clean up the html manually too.

I see nothing wrong with this approach, it strikes me as the HTML design equivalent of an IDE prompting to complete functions etc. (intellisense or whatever your IDE may call it)

I also always use a templating system of one form or another so my scripting code is totally separate from html.

The combination with Dreamweaver of the occasional wysiwyg edit (invaluable I find when laying things out or making 'macro' layout changes) and the one click preview has kept me with it despite looking at better tools - Aptana, NetBeans etc. Indeed I would dearly like to move to another system - see this question - preferably something that runs on Ubuntu and strips out the crud in Dreamweaver leaving just the wysiwyg features and possibly an intelligent Javascript editor, but I'm yet to find anything. KompoZer is starting to look promising though.

这篇关于所见即所得的编辑器与手工编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆