• PHP Editor.
    46 replies, posted
  • Suggestions? I'm using Notepad++ right now. I need something good. For simple php/html/css/Javascript stuff.
  • I use Sublime Text 2. [url=http://www.zend.com/products/studio/] Zend Studio[/url] is a little bit more professional.
  • [QUOTE=ToNi;34753548]I use Sublime Text 2. [url=http://www.zend.com/products/studio/] Zend Studio[/url] is a little bit more professional.[/QUOTE] And a lot more bloated. If you really want a full-fledged IDE with all the bells and whistles, go with PhpStorm by Jetbrains. At home and at work, I use Sublime Text 2 with a bunch of different extra packages.
  • [QUOTE=StinkyJoe;34753638]And a lot more bloated. If you really want a full-fledged IDE with all the bells and whistles, go with PhpStorm by Jetbrains. At home and at work, I use Sublime Text 2 with a bunch of different extra packages.[/QUOTE] While you're here what's your opinion on cli editors a la vim and emacs?
  • I personally prefer Netbeans for PHP its a bit more bloated than N++ and others, but has some nice features---
  • [QUOTE=StinkyJoe;34753638]And a lot more bloated. If you really want a full-fledged IDE with all the bells and whistles, go with PhpStorm by Jetbrains. At home and at work, I use Sublime Text 2 with a bunch of different extra packages.[/QUOTE] What did the people at work say when you cracked open a sexy text editor rather than a bloated IDE?
  • [QUOTE=jaybuz;34755181]What did the people at work say when you cracked open a sexy text editor rather than a bloated IDE?[/QUOTE] If his work is anything like my work, it's more likely they'd have a go at him if he did use an IDE
  • [QUOTE=swift and shift;34755329]If his work is anything like my work, it's more likely they'd have a go at him if he did use an IDE[/QUOTE] Where do you work? Envato? He did say previously that he was the youngest person there and I imagine older people using an IDE.
  • Aptana isn't bad, I quite enjoyed using it. Notepad++ is still my favourite, though.
  • [QUOTE=jaybuz;34755493]He did say previously that he was the youngest person there and I imagine older people using an IDE.[/QUOTE] Old people use vim
  • [QUOTE=KmartSqrl;34761291]Old people use vim[/QUOTE] newbie idiots like me who think they are 1337 use vim too :suicide:
  • [QUOTE=lkymky;34767376]newbie idiots like me who think they are 1337 use vim too :suicide:[/QUOTE] But I, euhm.. they don't stick to it very long.
  • What's wrong with dreamweaver?Besides being fucking expensive... I never see anyone mentioning it here
  • [QUOTE=Miljaker;34769236]What's wrong with dreamweaver?Besides being fucking expensive... I never see anyone mentioning it here[/QUOTE] Apart from being expensive, it's also pretty big compared to things like N++/Sublime etc, if you're using the code view then not much is wrong with it, apart from price & size. I have started using Intype recently and really like it.
  • [QUOTE=Miljaker;34769236]What's wrong with dreamweaver?Besides being fucking expensive... I never see anyone mentioning it here[/QUOTE] As long as you dont use WYSIWYG its OK. I cant say anything about the new versions of it, but i have found it lacking a few key features for it to be a proper editor in CS3. I dont get why so many people say N++, if you want to do some serious or collabrative work in PHP, choose a proper IDE with PHPDoc generation / parsing. PHPDoc is a way of making comments for your code, so it automatically becomes a codehint in your IDE. It all depends on what you want to do, if you're planning on working on huge projects or collaborative work, go for a IDE if you just need to do simple stuff or edit a php file occationally use an editor. I write PHP and javascript 37 hours / week, i would shoot my self in the face if i was limited to n++..
  • [QUOTE=Jelly;34753693]While you're here what's your opinion on cli editors a la vim and emacs?[/QUOTE] I spend about 70% of my time on vim, the rest on Sublime Text 2. Not a fan of emacs. [QUOTE=jaybuz;34755181]What did the people at work say when you cracked open a sexy text editor rather than a bloated IDE?[/QUOTE] None of the guys I work closely with had used it, and since I run Sublime in Vintage mode (VIM-style bindings and such), with very few elements visible, it went unnoticed for a while. There's one guy that uses netbeans, but everyone else uses vim, emacs, kate or even gedit. [QUOTE=swift and shift;34755329]If his work is anything like my work, it's more likely they'd have a go at him if he did use an IDE[/QUOTE] This guy is right! [QUOTE=KmartSqrl;34761291]Old people use vim[/QUOTE] So is this guy! And from my experience, kate aswell (I guess old guys like KDE?) [QUOTE=reeferdk;34790185]As long as you dont use WYSIWYG its OK. I cant say anything about the new versions of it, but i have found it lacking a few key features for it to be a proper editor in CS3. I dont get why so many people say N++, if you want to do some serious or collabrative work in PHP, choose a proper IDE with PHPDoc generation / parsing. PHPDoc is a way of making comments for your code, so it automatically becomes a codehint in your IDE. It all depends on what you want to do, if you're planning on working on huge projects or collaborative work, go for a IDE if you just need to do simple stuff or edit a php file occationally use an editor. I write PHP and javascript 37 hours / week, i would shoot my self in the face if i was limited to n++..[/QUOTE] Some people like IDEs and that's fine, but all the complaints I've heard towards other more lightweight editors came from people that tried them once and didn't like them - and that's an issue, since a lightweight editor truly shines (and bests any IDE) when you start tweaking it to your taste. All the things you REALLY use in a full-fledged IDE, I have in both Vim and ST2, and I can use them ten times faster than you.
  • I like Netbeans for PHP, there's just so many functions built into a non-bloated editor! And it works brilliantly with Dropbox, as it updates a file, even though I am looking at it in the editor. Auto-upload and the nice dropbox support is why I really like it.
  • I enjoy using Sublime Text 2 Save -> test on local server -> does it work??? no -> go back to sublime text and fix it yes -> upload to server :v: I remember if when i used NPP with the ftp plugin, if i screwed up and wanted to get back, i would sometimes have to start over... This way if I screw up, i can just get the original file from server and start again.
  • Start using version control like git or mercurial and you won't have that problem.
  • I like NetBeans. It has a syntax checker for those stupid mistakes, and can upload via ftp each time you save/when you tell it to. It's just more efficient. Of course, all the elitist people here will tell you "real men use vi/Notepad++" but if you're doing it as a personal hobby, as I am, then there is no reason to bother yourself with making yourself "more professional" because at the end of the day, you're saving yourself time and effort by using an IDE.
  • [QUOTE=Trumple;34870221]It has a syntax checker for those stupid mistakes[/QUOTE] when I make a mistake, it's almost never a syntax error
  • [QUOTE=swift and shift;34872262]when I make a mistake, it's almost never a syntax error[/QUOTE] wow. pro here
  • [QUOTE=swift and shift;34872262]when I make a mistake, it's almost never a syntax error[/QUOTE] and you represent the entire internet right My point is, it's very easy to forget a bracket or semicolon or something stupid, especially after a huge block at 2AM. What is the downside of having something there to point out your mistake before you upload it, just in the chance you do make a mistake? It even does spell checking for you
  • True. But that's not the main point here. There is a lot of elitism when it comes to editors, when at the end of the day an IDE will get the job done in the same way, but will offer more advanced features like FTP integration. If you're looking to go into PHP as a job then maybe they'd prefer you use vim or something, that would make sense...but as a hobby there is no reason not to use an IDE, especially on a larger project or when working with friends.
  • [QUOTE=Trumple;34872608]What is the downside of having something there to point out your mistake before you upload it, just in the chance you do make a mistake?[/QUOTE] what, you don't test locally first?
  • [QUOTE=swift and shift;34872766]what, you don't test locally first?[/QUOTE] Ah ok, I was meant to say open it/test it...not sure why I said upload it You're being pedantic, but so far [b]you've failed to give us a single good reason not to use an IDE[/b]... (I know you said your work might not be happy with it, but what about hobbyists? Not everyone does PHP for a living)