用于PHP开发的Eclipse PDT和NetBeans。

时间:2023-01-17 19:16:25

How does Eclipse PDT compare to NetBeans for PHP development?

对于PHP开发,Eclipse PDT与NetBeans相比如何?

I just bought a new computer with Windows 7 and I'm starting to set up a development environment for PHP. Has anyone used both IDEs lately and could make a quick comparison? If you know what major frameworks are supported, that would be great too.

我刚买了一台Windows 7的新电脑,我开始为PHP开发一个开发环境。最近有人使用了这两种ide并可以进行快速比较吗?如果您知道支持哪些主要框架,那也很好。

7 个解决方案

#1


28  

Yes, I switched from Eclipse to Netbeans for PHP development quite recently. And I have to admit - I like NetBeans better. It seems to me more lightweight and stable. It certainly loads faster. And code completion seems to be much better than in Eclipse - it doesn't fail so often, and you can insert hint-comments wherever you wish to specify the types of your variables. Also NetBeans IDE is much simpler than Eclipse. It's probably not as powerful (and it could definately use a few more configuration options), but on the other hand, Eclipse was downright intimidating with its complex system.

是的,我最近已经从Eclipse转到Netbeans了。我得承认,我更喜欢NetBeans。在我看来,它更轻、更稳定。当然加载更快。代码完成似乎要比Eclipse好得多——它不会经常失败,而且您可以在任何希望指定变量类型的地方插入hint-comments。而且NetBeans IDE比Eclipse简单得多。它可能没有那么强大(而且它可以明确地使用一些配置选项),但是另一方面,Eclipse对它的复杂系统非常有威胁。

Put it this way - if you come from a Windows background (like me), go for NetBeans. If you're a Linux/Unix fan, you'll feel right at home with Eclipse.

这样说吧——如果你来自Windows背景(和我一样),那就去NetBeans吧。如果您是一个Linux/Unix的爱好者,那么您将会在Eclipse的家里感到很舒服。

#2


6  

I switched to NetBeans after version 7.0 has been released. It's faster, more lightweight and code completion is better. Its easier to configure and looks like everithing just works, in Eclipse you need to deal with complex configuration, and I wanted to focus on coding. But they are both good.

在version 7.0发布之后,我切换到NetBeans。它更快,更轻,代码完成更好。它更容易配置,看起来就像everithing一样,在Eclipse中,您需要处理复杂的配置,而我希望专注于编码。但它们都很好。

I compared them, you can read more on http://dev.umpirsky.com/eclipse-vs-netbeans-for-php-development/

我将它们进行了比较,您可以在http://dev.umpirsky.com/eclipse- vs-netbes-forphp -development/中阅读更多内容。

#3


5  

Eclipse PHP (PDT) does not come with a working debugger out-of-the-box. You have to download and install at least 2 or 3 other fussy open-source components to make that work. I've never tried NetBeans, but, if you need debugging (stepping through code) and you don't have several days to work through the environment setup hell of Eclipse, that might be the way to go.

Eclipse PHP (PDT)不附带一个工作调试器。您必须下载并安装至少2或3个其他的繁琐的开源组件来完成这项工作。我从来没有尝试过NetBeans,但是,如果您需要调试(通过代码),并且您没有几天的时间来完成Eclipse的环境设置,那么这可能是一种方法。

#4


3  

I use Eclipse first and work friendly with this .Next I use Netbeans for Java and I use it completely in java and uninstall Eclipse . Next time that I need work with PHP I use Netbeans for this goal and I understood Netbeans code completion better than Eclipse also code highlighting but build , compile,debug and run are better in Eclipse and I think Netbeans increase feature and functionality in future .

我首先使用Eclipse,并与之友好地工作。接下来,我使用Netbeans作为Java,我完全用Java和uninstall Eclipse来使用它。下次我需要使用PHP的时候,我使用Netbeans来实现这个目标,我理解Netbeans代码的完成比Eclipse更好,但是在Eclipse中编译、编译、调试和运行都更好,我认为Netbeans在将来会增加特性和功能。

#5


3  

Advantage of eclipse is that I can code in PHP and perl in the same project.

eclipse的优点是可以在同一个项目中使用PHP和perl编写代码。

#6


2  

I downloaded NetBeans IDE 6.9.1, just to compare against eclipse PDT 2.2.0 to edit PHP projects on CVS.

我下载了NetBeans IDE 6.9.1,只是为了与eclipse PDT 2.2.0相比,在CVS中编辑PHP项目。

Eclipse can appear complex and difficult to setup, however, by downloading eclipse PDT all-in-one it is easiest to unzip it and start using it.

Eclipse可能会显得复杂和难以安装,但是,通过下载Eclipse PDT all-in,它是最容易解压缩并开始使用它的。

I'm surprised about how fast and light weighted NetBeans is, you can realize how fast it is immediately.

我很惊讶的发现,有多快,轻量的NetBeans,你能意识到它有多快。

I still like eclipse on the way how it does and shows stuff, but NetBeans has a crispy design.

我仍然喜欢eclipse的工作方式和显示内容,但是NetBeans的设计很脆。

They both are really good options regardless of Linux or Windows OS.

无论Linux还是Windows操作系统,它们都是很好的选择。

#7


1  

Frankly - I don't know which is better or worse; I've worked with Eclipse ... it was required by the College I attend for the JAVA course -it worked great for that and I quickly understood how to manipulate the project to store "everything" related to the class, including PDF files and Word Documents.

坦白地说,我不知道哪个更好,哪个更糟;我和Eclipse一起工作…这是我参加JAVA课程时所需要的,这对我来说非常有用,我很快就明白了如何操作这个项目来存储与这个类相关的“一切”,包括PDF文件和Word文档。

When it comes to PHP -well, I can't seem to get XDebug to function with Eclipse. Not even sure I know why at this point. I installed NetBeans and had no problems interfacing with XDebug for PHP ... so I'm torn. There are aspects that I like about both of these applications -and things I don't like, mostly cosmetic things. Like where they write their project data -and about renaming or moving project data ... I've had a bugger of a time with Eclipse -and not as much trouble with 'Beans.

当谈到PHP时,我似乎无法让XDebug与Eclipse一起运行。我甚至不知道为什么在这一点上。我安装了NetBeans,并没有遇到与XDebug有关的问题。所以我撕裂。我喜欢这两种应用的一些方面——我不喜欢的东西,主要是化妆品。比如他们在哪里写项目数据,以及重命名或移动项目数据……我曾经有过一段时间与Eclipse为伴的经历,但对“bean”却没有那么大的麻烦。

#1


28  

Yes, I switched from Eclipse to Netbeans for PHP development quite recently. And I have to admit - I like NetBeans better. It seems to me more lightweight and stable. It certainly loads faster. And code completion seems to be much better than in Eclipse - it doesn't fail so often, and you can insert hint-comments wherever you wish to specify the types of your variables. Also NetBeans IDE is much simpler than Eclipse. It's probably not as powerful (and it could definately use a few more configuration options), but on the other hand, Eclipse was downright intimidating with its complex system.

是的,我最近已经从Eclipse转到Netbeans了。我得承认,我更喜欢NetBeans。在我看来,它更轻、更稳定。当然加载更快。代码完成似乎要比Eclipse好得多——它不会经常失败,而且您可以在任何希望指定变量类型的地方插入hint-comments。而且NetBeans IDE比Eclipse简单得多。它可能没有那么强大(而且它可以明确地使用一些配置选项),但是另一方面,Eclipse对它的复杂系统非常有威胁。

Put it this way - if you come from a Windows background (like me), go for NetBeans. If you're a Linux/Unix fan, you'll feel right at home with Eclipse.

这样说吧——如果你来自Windows背景(和我一样),那就去NetBeans吧。如果您是一个Linux/Unix的爱好者,那么您将会在Eclipse的家里感到很舒服。

#2


6  

I switched to NetBeans after version 7.0 has been released. It's faster, more lightweight and code completion is better. Its easier to configure and looks like everithing just works, in Eclipse you need to deal with complex configuration, and I wanted to focus on coding. But they are both good.

在version 7.0发布之后,我切换到NetBeans。它更快,更轻,代码完成更好。它更容易配置,看起来就像everithing一样,在Eclipse中,您需要处理复杂的配置,而我希望专注于编码。但它们都很好。

I compared them, you can read more on http://dev.umpirsky.com/eclipse-vs-netbeans-for-php-development/

我将它们进行了比较,您可以在http://dev.umpirsky.com/eclipse- vs-netbes-forphp -development/中阅读更多内容。

#3


5  

Eclipse PHP (PDT) does not come with a working debugger out-of-the-box. You have to download and install at least 2 or 3 other fussy open-source components to make that work. I've never tried NetBeans, but, if you need debugging (stepping through code) and you don't have several days to work through the environment setup hell of Eclipse, that might be the way to go.

Eclipse PHP (PDT)不附带一个工作调试器。您必须下载并安装至少2或3个其他的繁琐的开源组件来完成这项工作。我从来没有尝试过NetBeans,但是,如果您需要调试(通过代码),并且您没有几天的时间来完成Eclipse的环境设置,那么这可能是一种方法。

#4


3  

I use Eclipse first and work friendly with this .Next I use Netbeans for Java and I use it completely in java and uninstall Eclipse . Next time that I need work with PHP I use Netbeans for this goal and I understood Netbeans code completion better than Eclipse also code highlighting but build , compile,debug and run are better in Eclipse and I think Netbeans increase feature and functionality in future .

我首先使用Eclipse,并与之友好地工作。接下来,我使用Netbeans作为Java,我完全用Java和uninstall Eclipse来使用它。下次我需要使用PHP的时候,我使用Netbeans来实现这个目标,我理解Netbeans代码的完成比Eclipse更好,但是在Eclipse中编译、编译、调试和运行都更好,我认为Netbeans在将来会增加特性和功能。

#5


3  

Advantage of eclipse is that I can code in PHP and perl in the same project.

eclipse的优点是可以在同一个项目中使用PHP和perl编写代码。

#6


2  

I downloaded NetBeans IDE 6.9.1, just to compare against eclipse PDT 2.2.0 to edit PHP projects on CVS.

我下载了NetBeans IDE 6.9.1,只是为了与eclipse PDT 2.2.0相比,在CVS中编辑PHP项目。

Eclipse can appear complex and difficult to setup, however, by downloading eclipse PDT all-in-one it is easiest to unzip it and start using it.

Eclipse可能会显得复杂和难以安装,但是,通过下载Eclipse PDT all-in,它是最容易解压缩并开始使用它的。

I'm surprised about how fast and light weighted NetBeans is, you can realize how fast it is immediately.

我很惊讶的发现,有多快,轻量的NetBeans,你能意识到它有多快。

I still like eclipse on the way how it does and shows stuff, but NetBeans has a crispy design.

我仍然喜欢eclipse的工作方式和显示内容,但是NetBeans的设计很脆。

They both are really good options regardless of Linux or Windows OS.

无论Linux还是Windows操作系统,它们都是很好的选择。

#7


1  

Frankly - I don't know which is better or worse; I've worked with Eclipse ... it was required by the College I attend for the JAVA course -it worked great for that and I quickly understood how to manipulate the project to store "everything" related to the class, including PDF files and Word Documents.

坦白地说,我不知道哪个更好,哪个更糟;我和Eclipse一起工作…这是我参加JAVA课程时所需要的,这对我来说非常有用,我很快就明白了如何操作这个项目来存储与这个类相关的“一切”,包括PDF文件和Word文档。

When it comes to PHP -well, I can't seem to get XDebug to function with Eclipse. Not even sure I know why at this point. I installed NetBeans and had no problems interfacing with XDebug for PHP ... so I'm torn. There are aspects that I like about both of these applications -and things I don't like, mostly cosmetic things. Like where they write their project data -and about renaming or moving project data ... I've had a bugger of a time with Eclipse -and not as much trouble with 'Beans.

当谈到PHP时,我似乎无法让XDebug与Eclipse一起运行。我甚至不知道为什么在这一点上。我安装了NetBeans,并没有遇到与XDebug有关的问题。所以我撕裂。我喜欢这两种应用的一些方面——我不喜欢的东西,主要是化妆品。比如他们在哪里写项目数据,以及重命名或移动项目数据……我曾经有过一段时间与Eclipse为伴的经历,但对“bean”却没有那么大的麻烦。