What Ide To Use?

Hi guys and girls,

I come from a Java background and just looking to get into Yii.

The one thing that has become apparent to me is that there are no good IDEs for Yii development.

I have looked at Eclipse PDT, NetBeans and CodeLobster so far.

And so far, CodeLobster seems to do more than either Eclipse PDT or NetBeans - start a proper Yii project. But that is where it stops too.

Yii allows you to create modules, controllers, actions, etc. But none of these IDEs have any interactive way to let you do that.

CodeLobster asks you database details. But it does nothing with them. It does not introspect the database for available tables, their relationships or build any CRUD.

Am I expecting too much? Or have we grown to be a community that accepts crap and remains happy with that?

I am happy to pay for a good tool. But the tool has to do all the basic work.

Look forward to hearing folkā€™s comments.

Best Regards,

Ashish.

http://www.yiiframework.com/forum/index.php?/topic/23830-netbeans-or-eclipse/

Most of these automagic code generators generate - well: crap. :lol:

The best IDE IMO is Aptana 3 - itā€™s a Eclipse variant specifically geared towards web development.

It focuses on Rails, but has solid PHP support too.

I like it very much because it handles PHP, Sass, JS, whatever, really well.

I do not like automagic Yii integration - whatā€™s the point?

Itā€™s just plain PHP, isnā€™t it? ;)

That said:

You missed PHPStorm - that is the best option. Not free, but thereā€™s no such thing as a free lunch, right?

I second the PHPStorm recommendation. While IMHO its very comfortable, it is quite inexpensive - 99$US for individual developer license.

After going crazy with eclipse, I went back to VIM.

What can I say ā€“ best decision I ever made. Sure, the learning curve is steep and long, but you are infinitely more productive once you master it. Plus working with git and Xdebug in vim proved to work just so easily and smoothly, whereas both would be a huge endeavour in eclipse, and I could never get git to work flawlessly anyway.

After using Netbeans (which I think itā€™s great, especially if you develop in multiple languages) I settled for PHPStorm.

PHPStorm is pretty great if you donā€™t mind paying for text editors.

I use NetBeans (currently 7.3 version) for a long time

I prefer NetBeans over others IDE because I am comfortable with that (due of experience with it)

I didnā€™t need something that has not the NetBeans so I will keep it

However if I need another IDE, this will be the Aptana or PHPStorm :)

Na na na na, na na na na, Netbeans!

NetBeans with the Yii Plugin. Available for NetBeans Version 7.3 and 7.4

IDE? What IDE?

I use Sublime Text 2 because of Cmd+P and Cmd+R shortcut.

+1 NetBeans.

Netbeans :D

PHPStorm ++

1 Like

I always use Aptana Studio and I love its support for FTP. I tried Eclipse PDT and Netbeans but I think they donā€™t have good FTP support.

PHPStorm.

I want a tool that I can sftp to my development server on AWS with keysā€¦

I can use all the help I can get finding typos and hinting at function name / parametersā€¦

I want to store my files where I want to not where the tool wants toā€¦

I donā€™t want to spend a lot of time fiddling with getting the tools set up. Its a tool to get a job done, it is not a toy to spend a lot of time fiddling with just to get it going.

After working with everything from Nano to notepad++ on up to Eclipse and fiddling with netbeans, I found that I like PHPStorm the best. $99 for an individual developer licence, so it does not check the ā€˜freeā€™ box, but I think it is a good deal. I use about 15 - 20% of it functions, but now I have a tool that gives me some help and does not make me hunt down options.

As a bonus, it helps with CSS, HTML, Javascript and can do a lot of debugging of the same.

With Chrome I can do LIVE EDITING of HTML & CSS. So as I edit my HTML file it immediately updates the browser window. That one function has saved me so much time fine tuning UI stuff that it is worth the price all by itself.

Other tools hit a few of these points as well, but for me it hits almost all of them right out of the box ( errā€¦ installerā€¦ ).

NetBeans with Yii plugin.

Try Atom.

Man, My suggestion:

Forget about IDEs take Sublime Text and youā€™ll see how adjust to the framewok needsā€¦

Ok, so Iā€™m gonna contribute my thoughts here. Iā€™m a DEVELOPER with a business - Iā€™m not happy about spending hours/days trying to figure out an IDE or its debug settings. If itā€™s not fairly intuitive to me, then fuggit-about-it. The same goes for the frameworks Iā€™ve been comparing (Laravel, Iā€™m talking to YOU). The docs need to be accurate and step-by-step. Side note: Laravel failed that test, which is why Iā€™m now converting to Yii 2 and thus, Iā€™m on this forum.

Here is what I expect from an IDE, and if itā€™s a ā€œpaidā€ version then I expect more:

  1. Be intuitive

  2. Be accurate with your documentation. I can handle a bit of bad English but if your English is back-a$$-wards then maybe you need to get somebody else to write your docs. And stop drinking vodka if you write them.

  3. If you claim you integrate with Yii2, then DO IT! Iā€™m talking about peeking into classes, maybe some code-completion ā€œhintsā€, valid ā€˜inspectorā€™ checking (Codelobster, Iā€™m talking to YOU), and that sort of thing.

  4. Iā€™m also talking to YOU, NuSphere PhpED ā€¦ Here is a piece of your documentation --> ā€œWhile PHP SPL, DOM and PDO are builtin into PHP, you can get code completion for them easily. Just download ā€¦ā€. What? I paid for your product! Why didnā€™t you include that in the first place? And then your comment "The same way you may get code completion for other libraries, but in this case youā€™d write such interface file yourself. ". Really? Oh, so I pay for your product but I need to write my own interface files. Got itā€¦ . You say you support Yii2, yet I see nothing in your Framework docs about it (except your claim that you support it).

  5. If you claim you have a debugger and if I PAID for your product then YOU configure the debugger based on my directory and my localhost or my remote (if you support that). Iā€™m tired of squirrely-a$$ debugger instructions that donā€™t work as the docs say. (Iā€™m talking to YOU again, NuSphere PhpED ā€“ donā€™t ask me 4 times what my dadgum ā€˜document rootā€™, ā€˜root urlā€™ and ā€˜root web dirā€™ is/are. And stop demanding that I put Projects in my dadgum User folder! I donā€™t want them there).

So ā€¦ my acronym is IDHTFT (I-Donā€™t-Have-Time-For-This).

1) Sublime: Project? what Project? It has hints about ā€˜projectsā€™ in its menu, but I didnā€™t see anywhere to create a new one. Opened a folder to an existing Yii project. Nothing in particular jumped out which is suspicious because I know there are errors ā€“ I put them there. So IDHTFT.(to be fair, this was after days of testing other IDEs and I was not very forgiving). You might as well use NotePad++ (thatā€™s actually a good product for what it does).

  1. NuSphere: Where do I start? Configuring the debugger is like getting Trump to speak truth. No code hints or much else for Yii2 (see above), at least not that I could see. NOTE: Iā€™ve been using NuSphere since 2007. Iā€™m about fed up with it. Itā€™s ok for a $100 text editor, though. IDHTFT ā€¦

3) Aptana: Went to the site, did a search for Yii - found nothing anywhere. Didnā€™t even download it (note: I used it years before on a simple project and it was ā€œjust okā€, nothing special). IDHTFTā€¦

4) CodeLobster: Ok, I like it. But when it starts giving me syntax or other more serious errors on a fresh ā€œvirginā€ download of Yii2, then I ainā€™t liking that. I double-checked a couple of the 100ā€™s of programs that it burped on, and there was NOTHING wrong with them ā€“ syntax was fine, brackets all matched, etcā€¦ So CL gets a C- grade on that stuff. This one came close to IDHTFT , but I need to cut them a break. Itā€™s not bad, and maybe I screwed up an IDE config that caused it to give those errors. So it could be my fault, but since I followed their doc directions, then that goes back to ā€œthe docsā€.

5) PHPStorm: I got nothing bad to say. Ok, itā€™s a bit ā€œginormousā€ and complex but it does a lot. The errors and warnings it found seem to be very accurate. I have not yet tried the debugger, so Iā€™m wondering if Iā€™ll be disappointed in either the complexity of configuration or the way it works (or doesnā€™t). But overall, I think this is a good product and I donā€™t mind spending a buck for a good product.

  1. NetBeans 8.1: I like it. The only thing that ticks me off is that I canā€™t get it configured correctly for phpcs/codesniffer/whatever. Iā€™m sure Iā€™m not reading something correctly, though. This is a wonderful, open-source IDE that does a lot! However, it may freeze up on you from time to time. The only other thing I found is that nobody seems to be supporting it anymore. So that ainā€™t too cool. But hey, I wouldnā€™t do it for free eitherā€¦

Iā€™m on Windows 7 with 16 GB of memory and a pretty fast processor (if you need to ask me why I didnā€™t use Win Eight or update to Win 10, then donā€™tā€¦). I do use Linux on another machine but I want stuff to work on my Windows. If it doesnā€™t, then just tell me so in your docs. Iā€™m good with that.

I hope someone got something useful out of these comments, but they are just my own experience ā€“ yours may be different (why, I donā€™t know ā€¦). If I seem snarky, itā€™s because Iā€™ve spent about 8 days dealing with comparing frameworks, IDEs, and even a new XAMPP installation that I accidentally installed and which overwrote my local database (fortunately Iā€™m a good boy and have backups). Like I said, Iā€™m a DEVELOPER, not a lover of ā€˜all-things-webā€™. I need my tools to work as documented so that I can run my business!