

PHP Development Environments? 59
rbolkey queries: "I've been looking for a comparison between Zend's PHP IDE, NuSphere's PHPEd, and Maguma's PHP4EE, but have failed to find any. Does anyone know how these IDEs compare? Are they useful? Are they worth the price?" We last handled this question
over a year
ago. PHP has changed since then, and I'm sure more development
tools for PHP have been released since then. What recommendations do
you have for PHP coding environments? What features do you find the
most useful?
Try Komodo (Score:3, Interesting)
It works with windows or Linux and is available on a trial, educational, or professional license basis.
I've been using it for about 3 months and it's been rock solid so far. Better than anything else I've used.
btw, activestate's developer network is an excellent resource, too.
Re:Try Komodo (Score:2)
Activestate's Komodo is buit on a Mozilla framework, so the stability of Komodo is in large part dependant on that. For Linux users, relying on Mozilla is pretty much a non-issue since most of us have it installed anyway. But installing it under Windows means you also have to download the Mozilla part, and already having Netscape doesn't count. Interestingly, their sight will tell you it's built on Mozilla, but doesn't actually let you know the entire browser is installed along with Komodo. If you're a Windows user with Komodo installed try browsing to it's install directory and double click on the mozilla.exe file. Surfs up.
To be more ontopic, I agree that Komodo is nifty as an IDE. Activestate is more known for their Perl distributions for Windows, but Komodo does a fine job and dealing with languages besides Perl. The only thing that keeps me from using it is it's interface. I can't think of anything specificaly wrong with it, it just doesn't sit right with me.
Having said that, I always go back to KDE's Advanced Editor. I set the syntax highlighting to HTML and it will still make your PHP easy to read (there's also PHP highlighting if that's all you're doing).
Re:Try Komodo (Score:1)
Vim? (Score:1)
PHPed is for Windows
PHP4EE is also for Windows
So, I keep using vim. If there is anything else out there, I'd love to try it. But for linux solutions it looks like I'll be sticking with vim for the foreseeable future.
Quanta (Score:2)
I find Quanta [sourceforge.net] to work very well for me.
With integrated language references for HTML, CSS, Javascript and PHP. Syntax highlighting for PHP, Perl, SQL and HTML. It works very nicely indeed. Good 'project' grouping as well.
Not a user-interface that really gets in the way - just one that lets me get on with the job.
Quanta development was languishing for a while, but Eric Laffoon has recently taken over and is kicking it back into gear and things are starting to move.
I still use phped (Score:2, Funny)
And for the people who say, "I use vi or emacs", go plow a field with oxen , then try it with a john-deer. And if your a real man go hammer some nails with your head, if you have some spare time you can widdle me a new chair for my desk with a butter knife.
Re:I still use phped (Score:1)
Sometimes a hammer is better than some fancy new tools.
Re:I still use phped (Score:2)
BTW, I've never gotten the Zend IDE to work and I paid for it. Beware.
Re:I still use phped (Score:1)
Acme (Score:1)
Acme is a programmers tool and comes as part of plan9 & Inferno
things like click on an include filename and it opens in another pane, plumb an error message and the source file opens in the editor on the line specified in the error message, shell output to a pane, etc. etc.
There's an Acme clone for unix systems called Wily
oh yeah, colour coding is for wimps
Why? (Score:1)
You want color coding? Use Homesite from Macromedia. I am not sure if it is available for Linux, but its an awesome web development package. Face it, with your PHP development, you will also need to do HTML/CSS/JS so why not use a package that integrates all of them together?
Thanks, -Vic
emacs (Score:1)
Re:emacs (Score:1)
MultiMode to the rescue (Score:2)
So first, go to http://sourceforge.net/projects/mmm-mode/
and get and install mmm-mode.
Next, get php-mode from http://php-mode.sourceforge.net/ and install that.
Then, put this in your
(require 'mmm-mode)
(setq mmm-global-mode 'maybe)
(mmm-add-mode-ext-class nil "\\.php[34]?\\'" 'html-php)
(mmm-add-classes
'((html-php
(autoload 'php-mode "php-mode" "PHP editing mode" t)
(add-to-list 'auto-mode-alist '("\\.php[34]?\\'" . html-mode))
(defun insert-php-region ()
(interactive "*")
(let ((php-template '(" n p n "?>" > n )))
(tempo-insert-template 'php-template tempo-insert-region)
(mmm-parse-buffer)))
(defun my-php-hook ()
(define-key php-mode-map
"\C-cd"
'php-search-documentation)
(define-key php-mode-map
"\C-cb"
'php-browse-manual)
(define-key html-mode-map
"\C-c\C-p"
'insert-php-region)
(c-toggle-hungry-state t))
(add-hook 'php-mode-hook 'my-php-hook)
Now you will have HTML syntax highlighting and indenting for the HTML bits, and PHP syntax highlighting and indenting for the bits.
My favorite.. (Score:2)
You can get a PHP Syntax plugin.. Works beautifully.
Homesite for me (Score:2)
I've only used Komodo a little bit, but it was rather klunky, and at $300, way too over priced. Haven't used the ones you mentioned, but I'd be glad to hear about them.
Re:Homesite for me (Score:1)
All in all, an excellent product if you're not afraid of dropping a few dollars on a quality tool. If you're looking for something free, well you might as well stick to Notepad++ because that's probably the most you'll get for 0.00$
Re:Homesite for me (Score:2)
You mean, aside from emacs, vim, and the myriad other tools out there? There really is an embarrassment of riches out there from which to choose.
Re:Homesite for me (Score:1)
Re:Homesite for me (Score:1)
Even if it sounds like some geezer's speach... (Score:1)
PHPed for me (Score:1)
My IDE (Score:2)
Re:My IDE (Score:1)
We are willing to continue our work on PHAkt & ImpAKT and we are working right now on a 2.0 version of both products.
I don't think you'll see a Linux version of Ultradev, and the reasons are very simple. The HTML editor UD uses is a customized version of the M$ DHTML control. Porting it to Linux it's pretty impossible as I think it's based on MFC.
Alexandru
Product Manager
http://www.interakt.ro/ [interakt.ro]
+401 411 2610
Re:My IDE (Score:2)
Cool!! I'd love to help you guys beta test. Shoot me an email or contact me with that wierd slashdot message thing.
To bad about the M$ thing and Ultradev. Does anybody know if there's a similar product for Linux?
Re:My IDE (Score:2)
Re:My IDE (Score:2)
Re:My IDE (Score:2)
Thanks
Re:My IDE (Score:1)
What you're looking for is ADOdb for PHP [weblogs.com]. I've been using it for about a year. It is an essential tool for PHP, much like DBI/DBD is for Perl.
Throwin in... (Score:1)
Vim (Score:2)
Every IDE I tried was either slow, unstable, missed basic features of a good editor, or just Crap[tm].
It's not as if PHP is the hardest language in the world to fit in your head, you don't need an IDE to constantly try to stop it leaking out. Well, maybe you do, but I don't
vim, baby (Score:2)
Try JEdit (Score:1)
homesite & server mapping (Score:1)
i recently discovered the 'mapping' capabilities of homesite and i'm once again hooked. being able to quickly page between code/browse to server-processed code makes testing quick & painless.
i've tried other editors for both windows and x-plat, but none of them let me have the precise code-within-code syntax coloring. i like being able to specify the html/php/css color codes separately, but still have them all work inside the same document. no other editor i've tried manages to do that as well.
the only gripe i would have is that it doesn't handle heredoc syntax exceptionally well, but i haven't seen another editor that does that, either...
Ultraedit (Score:1)
Chris Lee
lee@mediawaveonline.com
HA (Score:1)
I could care less about features, I just want the job to get done without having to learn another interface.
CodeWright (Score:1)
Re:CodeWright (Score:1)
I have Been using... (Score:1)
Editplus is a fast easy editor. Quanta is great for HTML stuff especially.
Nedit (Score:2)
Not really an IDE but a super editor with a lot of customization capability. Does syntax highlighting for a ton of languages out of the box and you can define new highlighting patterns and export/import them to/from files. It's what I do the majority of my PHP programming [seattleserver.com] in. It's free to boot. I also use Bluefish [openoffice.nl] some for the HTML work. It's pretty decent with some specialized PHP support. It's nice for forms, you don't need to remeber the exact syntax for all the different input types.
Mac-side tools (Score:1)
On the Mac side (classic & OS X native), BBEdit [barebones.com] is the pro's choice... it does context-sensitive coloring, etc and is the hands-down favorite for any kind of program coding on the Mac -- and it recognizes SQL syntax as well.
Adobe just announced [zend.com] that Golive 6 for OS X would have the Zend debugger engine integrated within it, as well
Dreamweaver Ultradev [macromedia.com] is another good choice, but at this point in time PHP isn't exactly integrated into it unless you use 3rd party extensions or an abstraction layer like ADODB.
--dr00gy
Re:Mac-side tools best (Score:1)
You will never touch Emacs again after you have experienced BBEdit. It is the best $84 I ever spent.
BBEdit does a good job with HTML, PHP, and Javascript all on the same page, recognizing their various keywords and escape chars. It includes a command shell similar to Emacs' shell buffer.
Re:Mac-side tools (Score:3, Interesting)
Re:Mac-side tools (Score:1)
Yep, BBEdit is hands down the slickest thing since sliced bread. And everyone who's used it to do any real work will tell you the very same thing.
The amazing thing is that it provides all of this for such a small walletprint -- $79 !!! (upgrade from freeware BBEdit Lite) I really shudder to think of having to work in any other environment than an OS X box with BBEdit.
NuSphere's PHPEd vs. Zend's IDE (Score:1)
Zend coded their's in Java, so its cross platform, but a lot less "responsive" and integrated than a program designed for a specific OS. This feature is also its biggest shortcoming.
Feature wise, PHPEd _was_ the winner, but I'm not sure how that still stands. I think Zend is in the release process of version 2.0 of their IDE, and judging from the press release a few months back, it'll nearly match PHPEd. Features such as code completion, snytax bubbles, FTP integration, an integrated debugger, and CVS support were all missing from Zend's first IDE, while all are present in PHPEd. A good portion of those are supposedly in 2.0, but I haven't tried it myself.
Actually, I think both Zend and NuSphere have "free trial" versions of their respective IDE's, so give it a shot for yourself!
GoLive 6 for Mac (Score:1)
Even so, I still continue to use BBEdit [barebones.com] to create my PHP/MySQL apps.
VIM? (Score:1)
alias elite_php_ide="vim"
Poitless comparison - the problem is different (Score:1)
I am wondering if such a comparison can bring a real relevance for the PHP development community evolution to an improved level. I don't think that small nifty features will make PHP development a better choice for the real web developers, that need productivity and a framework for application development.
During the last 3 years, all the editors have included nice and standard functionalities like: multi project support, code highlighting, autocompletion(even for your own functions), integrated debugger, integrated help, etc.
But when it comes to programming dynamic websites, the tasks to do are pretty repetitive and boring and real programming is usually not needed. Usually you connect to a database, get some fields from a query and put them in a HTML table (repeating the procedure for each row or not). Usually you need to see the HTML output and to write some HTML code (preferable in a WYSIWYG editor).
None of the current IDEs allow you to do this (except for Macromedia UD, which does not support PHP natively, but using our GPL extension PHAkt [interakt.ro]). Programming web application using one of them is a very complicated solution to the problem. You have to reinvent the wheel a zillion times in creating a lot of "form validation", "user authentication", "repeated regions" etc. code blocks, that are very particular, hard to use by others and unmaintanable.
<paradigm shift>What we need is a powerful framework for developing PHP applications, something like .NET, a platform
that will allow us to compete with the ubiquitous .NET and J2EE.</paradigm
shift> (I love using this paradigm shift thing:). It has
to support SOAP and the rest of the current communication protocols (UDDI,
ebXML, etc) and has to provide some "already written and tested code blocks"
for reuse.
That's why we are developing and have released Krysalis [interakt.ro] - as an Open Source project. Krysalis aims to become what Cocoon is for Java. (if you don't know Cocoon, check http://xml.apache.org [apache.org]). A platform for writing web applications with a complete separation between the data, the application logic and the presentation layer. Of course, to do this, the most hyped and elegant way is by using XML and XSLT. The process is very simple, we use a sitemap that describes the possible requests to the server, some pipelines where we describes the succession of data gathering and transformations and then, for each request to the server (the server is Apache with PHP support) we execute the corresponding pipeline. That is, read the PXP file ( an XML that contains the application logic), execute it and retrieve the complete XML tree, then read the XLST files associated with the request and process the original XML tree with them. After all the XSLT processing is done, we print the output to the browser.(the output can be XHML or PDF or anything else if you provide a Serializer that will do the conversion from the last XML tree to the needed format).
This way, might a site became a little harder to write, but maintaining it will be a piece of cake. The current alternation between application logic and HTML tags (presentation) is a real pain in the ass when you need multiple presentations (like HTML / PDF, like English version and German version, etc). Each time you make a modification in the application logic, you have to search all the places where that application logic block is used and correct them, too. Etc.
How can Krysalis help me create my sites faster? Using taglibs. Taglibs are already written code sections that are included and parametrized in your files and which are converted to real PHP code at the execution time. We have already implemented taglibs for the SQL connection, form variables, authentication.
Technically, Krysalis is also based on ADODB (php.weblogs.com/ADODB [weblogs.com]), and the PHP problems with way too many and different database connectivity APIs is solved.
To get back to the current topic, what Krysalis need right now is an IDE. We are working on one (Krysal IDE), an editor that will allow you to develop Dynamic Websites with the same ease as you develop Web Services. To reach both the Windows and Linux community, we'll implement it Java (we know. Maybe it will be slower, but at the current hardware prices I don't think this makes a real difference). The rendering engine will be Mozilla (probably) as in the next 3 month it will be mature enough (we think). More, the Lite version will be also open source, so everyone will be able to use and improve it.
Take a look at a current pre-alpha screenshot of Krysal IDE at http://www.interakt.ro/products/Krysalis/ [interakt.ro]. The XML/XSLT part is not yet implemented, we have done only the dynamic XML generation and preview with a preliminary support for taglibs.
That's what we think on PHP development. I would like to know how the slashdotters view this approach.
Alexandru COSTIN :: Engineering Your Desires
Product Manager
http://www.interakt.ro/ [interakt.ro]
+401 411 2610
Vim & EditPlus (Score:1)
Now i've been migrating to linux and i couldn't find anything similar to the Windows PHP-Editors, so i'm now using ViM with "syntax on" (.vimrc)
vim + `tail -f` (Score:1)
OK ok ok ... I'm going to get beaten over the head for this ... but I quite like vim 6's colour highlighting.
The ability to step through a script during execution would be nice, but enough "error_log" statements (and tail -f on another console) is excellent.