带有可视化设计器的 PHP IDE?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3593645/
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:20:52  来源:igfitidea点击:

IDE for PHP with Visual Designer?

phpide

提问by Waqar Ahmed

Im new to PHP..I commonly see online that many PHP developers like to code php in simple notepad.. however its always nice to use an IDE which helps the user being more productive by making fewer mistakes and writing good code. My Question is "WHICH IS THE BEST IDE FOR DEVELOPMENT IN PHP?"

我是 PHP 新手。我经常在网上看到许多 PHP 开发人员喜欢在简单的记事本中编写 php 代码。但是使用 IDE 总是很好,它通过减少错误和编写好的代码来帮助用户提高工作效率。我的问题是“哪个是 PHP 开发的最佳 IDE?”

Im looking for a PHP IDE which provides good:-

我正在寻找一个提供良好的 PHP IDE:-

  1. Code Completion
  2. Syntax and error highlighting
  3. Debugging
  4. HTML visual designer (Design View)
  1. 代码完成
  2. 语法和错误高亮
  3. 调试
  4. HTML 可视化设计器(设计视图)

For me its important to have a visual designer in an IDE. Various IDE's dont have this, such as Netbeans. Also is there any way to develop PHP applications in Visual Studio? (without/with using VS add-on)

对我来说,在 IDE 中拥有一个视觉设计师很重要。各种 IDE 没有这个,例如 Netbeans。还有什么方法可以在 Visual Studio 中开发 PHP 应用程序?(不使用/使用 VS 附加组件)

回答by BlueBird

First of all,, I dont like to say "I prefer Notepad". It is just a lie and foolishness. Notepad is good for students who want to learn very basic. For an experienced programmer, it is wasting of time like saying MSDOS is better than Windows7 . :D

首先,我不喜欢说“我更喜欢记事本”。这只是谎言和愚蠢。记事本非常适合想要学习非常基础的学生。对于有经验的程序员来说,说 MSDOS 比 Windows7 好是浪费时间。:D

In my line of work, I have used Eclipse, NuSphere phpED, Netbeans, Dreamveawer, PHPDesigner, PSPad, UltraEdit and Notepad as well. Among them Dreamveawer has the Visual Designer but for PHP I dont like it much. Eclipse, Netbeans, PHPDesigner and NuSphere phpED are my best choice for PHP coding. I like the code completion feature of them.

在我的工作中,我也使用过 Eclipse、NuSphere phpED、Netbeans、Dreamveawer、PHPDesigner、PSPad、UltraEdit 和 Notepad。其中 Dreamveawer 有 Visual Designer,但对于 PHP,我不太喜欢它。Eclipse、Netbeans、PHPDesigner 和 NuSphere phpED 是我编写 PHP 代码的最佳选择。我喜欢它们的代码完成功能。

I suggest, you can do the design part with Dreamveawer (DV is best for Visual Designing for me). Then you can use another IDE for PHP Coding.

我建议,您可以使用 Dreamveawer 来完成设计部分(DV 最适合我的视觉设计)。然后您可以使用另一个 IDE 进行 PHP 编码。

Eclipse & Netbeans are both doing a nice job and are free. :)

Eclipse 和 Netbeans 都做得很好,而且是免费的。:)

回答by shamittomar

For designing, you can use Dreamweaver, etc and then later embedd PHP code ORdirectly use one of these:

对于设计,您可以使用 Dreamweaver 等,然后再嵌入 PHP 代码直接使用其中之一:

  1. Eclipse
  2. Microsoft Expression Studio
  3. VS.PHP
  1. 微软表达式工作室
  2. VS.PHP

For debugging:Use xDebug

用于调试:使用xDebug

However, I still prefer Notepad++(it has code completion).

不过,我还是更喜欢Notepad++(它有代码补全功能)。

回答by Pramendra Gupta

If you are looking for an editor to just do HTML, CSS, and Javascript then I would start with Adobe Dreamweaver. I know that people complain that it can be a resource hoag but you can't beat it's WYSIWYG, HTML, and CSS features. I would then use Firebug in addition to Dreamweaver to debug the Javascript.

如果您正在寻找一个只处理 HTML、CSS 和 Javascript 的编辑器,那么我会从 Adob​​e Dreamweaver 开始。我知道人们抱怨它可能是一种资源浪费,但您无法击败它的 WYSIWYG、HTML 和 CSS 功能。然后我会使用 Firebug 和 Dreamweaver 来调试 Javascript。

If you want to get into dynamic web development with PHP, Ruby, Python, etc. then I would use an editor like Komodo or Textmate.

如果您想使用 PHP、Ruby、Python 等进行动态 Web 开发,那么我会使用 Komodo 或 Textmate 之类的编辑器。

Visual Studio is great and it has a lot of the same HTML and CSS features that Dreamweaver has but if you are not doing ASP.NET development then I don't see a reason to use it.

Visual Studio 很棒,它具有许多与 Dreamweaver 相同的 HTML 和 CSS 功能,但如果您不从事 ASP.NET 开发,那么我看不出有使用它的理由。

While I have used all the tools I mentioned, I always go back to VIM because I prefer to stay close to the metal without a big IDE because it forces me to really understand the code and to keep it clean and maintainable.

虽然我已经使用了我提到的所有工具,但我总是回到 VIM,因为我更喜欢在没有大型 IDE 的情况下接近金属,因为它迫使我真正理解代码并保持它的清洁和可维护性。

https://stackoverflow.com/questions/140707/web-development-ide-suggestions-markkoberlein

https://stackoverflow.com/questions/140707/web-development-ide-suggestions-markkoberlein

回答by muxare

I user PHPEditand netbeans.

我使用PHPEditnetbeans

About your requests:

关于您的要求:

My experience with ide:s is that almost every ide out there is realy good but they allmoust allways lack in som functionality.

我对 ide:s 的经验是,几乎所有的 ide 都非常好,但它们总是缺乏一些功能。

For instance: PHPEdit is the only ide that has good support for sitedebugging with xdebugin a natural and funktioal way. Netbeans also works with xdebug but has problems with handle showing variable values inside the ide.

例如:PHPEdit 是唯一一个以自然和有趣的方式很好地支持使用 xdebug 进行站点调试的 IDE。Netbeans 也适用于 xdebug,但在处理 ide 中显示变量值时存在问题。

My point is that it often is best to try out as many ide:s as you can and feel them out.

我的观点是,通常最好尽可能多地尝试 ide:s 并感受它们。

In my little php-world, debugging rules so i use PHPEdit. If you write to the company selling it you can get a personal lisence. It has worked well for me.

在我的小 php 世界中,调试规则所以我使用 PHPEdit。如果您写信给销售它的公司,您可以获得个人执照。它对我来说效果很好。

-- Happy coding!

-- 快乐编码!

p.s. I just now tryed phpStorm. I think is a great ide and ther's also a personal lisence for opensource projects d.s.

ps 我刚刚尝试了 phpStorm。我认为这是一个很好的想法,而且也是开源项目 ds 的个人许可证

回答by patricksweeney

Expression Web 4 isn't the most robust for PHP, but it's got the HTML and CSS (visually) down pretty well. Doesn't have the "Live View" of DW though.

Expression Web 4 对于 PHP 来说并不是最健壮的,但它在 HTML 和 CSS(视觉上)方面做得很好。虽然没有 DW 的“实时视图”。

I completely recommend you try PHPStorm. It doesn't have the visual features of DW but it excels in PHP. Debugging is easy to set up. It does language injection (autocompleting HTML in PHP statement, for example) which almost no other IDE does. It pretty light on it's feet, and is very extensible.

我完全建议您尝试 PHPStorm。它没有 DW 的视觉功能,但在 PHP 中表现出色。调试很容易设置。它进行语言注入(例如在 PHP 语句中自动完成 HTML),而其他 IDE 几乎没有这样做。它的脚很轻,而且非常可扩展。

回答by Les Kaye

For design view - drag and drop components onto a form - take a look at Embarcadero's HTML5 builder.

对于设计视图 - 将组件拖放到表单上 - 请查看 Embarcadero 的 HTML5 构建器。

Set form and component properties, write PHP and JavaScript Events.
Forms for visual components and a hidden "datamodule" form for database connection, query and table components to work out your data logic.

设置表单和组件属性,编写 PHP 和 JavaScript 事件。
用于可视化组件的表单和用于数据库连接、查询和表组件的隐藏“数据模块”表单,以计算您的数据逻辑。

This upgrades and renames their RadPHP product which was principally for building PHP/javascript browser applications - a sort of Visual Studio for the PHP language - and adds development for mobile devices with this upgrade.
Lots of features but only shows those relevant to whether you are designing, coding or debugging to keep it simple.

这升级并重命名了他们的 RadPHP 产品,该产品主要用于构建 PHP/javascript 浏览器应用程序 - 一种用于 PHP 语言的 Visual Studio - 并通过此升级增加了移动设备的开发。
许多功能,但仅显示与您是在设计、编码还是调试相关的功能,以保持简单。

Gives easy, intuitive and quick results for the novice (like me!) and rapid development for experts. The hype is about mobile but is still an awesome web development tool - and not expensive compared with other editors.
http://www.embarcadero.com/products/HTML5-Builder/whats-new

为新手(如我!)提供简单、直观和快速的结果,为专家提供快速开发。炒作是关于移动的,但仍然是一个很棒的 Web 开发工具 - 与其他编辑器相比并不昂贵。
http://www.embarcadero.com/products/HTML5-Builder/whats-new

Sorry if this sounds like a sales pitch but the IDE deserves to be better known.

对不起,如果这听起来像是推销,但 IDE 值得更好地了解。