Hi there,
I am using CMS Made Simple for more than 5 years now, just for fun, and some small web projects.
Recently (5 months ago) I decided to extend my knowledge and practice in PHP and I wanted to start writing for CMSMS.
I've a solid foundation in Java and tough that migrating to PHP won't be pain at all. Well, this was a mistake. At least for CMSMS, since none of the IDEs auto complete functionality works for CMSMS.
I tried NetBeans (5.5,6,7), Aptana, Eclipse, and couple of others I forgot their names already, but none of them provide this so wanted by me auto complete option. Netbeans was handling some Zend projects properly but CMSMS was a nightmare, it doesn't even recognize the file variables.
Maybe I am a bit spoiled since in Java, when I put the dot, everything goes on the screen: from the list of vars to full documentation. At least on Netbeans, Eclipse and inteliJdea.
Is there're something like those but for PHP?
(I know PHP is not Java, and there're some very different concepts in the way that the projects are crawled and indexed for their member methods and classes, but c'mon, it is a real pain to write an OOP code and trying to remember all the classes, inheritances, methods for each class and interfaces).
I spotted a threat where were listed some editors. Well I am searching for full functional IDE (debug, SVN, etc) with autocomplete and documentor functionality.
So what you're using guys?
Good IDE for CMSMS supporting autocomplete
-
- New Member
- Posts: 3
- Joined: Wed Sep 28, 2011 4:13 pm
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Good IDE for CMSMS supporting autocomplete
Yep, it is... but that's what's commonly known as 'experience'. No matter how much documentation you had on hand, or how your IDE auto-completed, and popped up pretty windows shoing stuff, nothing can beat it.but c'mon, it is a real pain to write an OOP code and trying to remember all the classes, inheritances, methods for each class and interfaces).
I use emacs and a web browser. Honestly, for speedy development there isn't much better. There are times when an IDE (for the developer and stepping through the code) is a real advantage... particularly when you have a real brainbuster of a problem.. but even that doesn't always help when the problem is largely asynchronous. Plus I can use vi or some other text editor when I am working on a remote host, and I can work from anywhere, on any version of any software, as long as there is internet access... without having to take a laptop with a whole bunch of stuff pre-loaded and having to worry about getting file access setup, or mapping remote directories to my IDE's setup or anything dumb like that. I just ssh (or in a bad scenario) ftp in, edit a file, and go reload/click-a-few-buttons in a web browser tab.So what you're using guys?
For the step through-debigger thing I sometimes use eclipse with it's PHP extensions etc.. but only infrequently, I find that for simple problems it's actually faster to use a debug statement and the 'reload' button (but then I know the keyboard shortcuts so that I don't have to move my mouse hand off of the keyboard all the time).
As far as auto-completion goes... that relies on etags or phpdoc or some other relevant documentation system being up-to-date and accurate, and ON YOUR SYSTEM, which, quite honestly, they aren't (we don't distribute API docs with the system, and for a long time we didn't even bother generating them).
So yeah, I just 'learn' the API functions that I need to call, and I keep an editor or a browser window handy so I can look up the parameters (and order of the parameters) quickly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- New Member
- Posts: 3
- Joined: Wed Sep 28, 2011 4:13 pm
Re: Good IDE for CMSMS supporting autocomplete
Yep, here you get me.
I am a completely new to PHP. And not experienced at all.
I was completely new to Java few years ago, but thanks to NetBeans, now I am able to write on most of the frameworks, including the desktop ones.
Able is the proper word, because I don't know any of the classes or their inheritance. Neither names of the methods. I don't know what exactly I'll need until I start coding. I have just a vague idea in my head, know the architecture of the application, how it should interact with the components, and a rough UML diagram. But that's all.
At least I'll need that one in the beginning while I am learning. Later on I will teach myself to leave without it.
I am a completely new to PHP. And not experienced at all.
I was completely new to Java few years ago, but thanks to NetBeans, now I am able to write on most of the frameworks, including the desktop ones.
Able is the proper word, because I don't know any of the classes or their inheritance. Neither names of the methods. I don't know what exactly I'll need until I start coding. I have just a vague idea in my head, know the architecture of the application, how it should interact with the components, and a rough UML diagram. But that's all.
Mmm.. Didn't quite catch this one, phpdoc is an engine to generate the documentation, I just need something that gives me a list of the member methods,variables, their types and what they return when I put the dot ("->").As far as auto-completion goes... that relies on etags or phpdoc or some other relevant documentation system being up-to-date and accurate, and ON YOUR SYSTEM, which, quite honestly, they aren't (we don't distribute API docs with the system, and for a long time we didn't even bother generating them).
At least I'll need that one in the beginning while I am learning. Later on I will teach myself to leave without it.