PhpED Code Insight Project/Workspace Issues *solved* |
Site Admin
|
Right.
If you create project, IDE knows where your libraries are. To allow the IDE to work without projects, we would have to duplicate all the project settings in the global ones including path to the libraries, that would be specified somewhere so effectively you'd have to set the same settings anyway why not to do it for a project? Regarding absolute references, I think they are not that good, especially if one day you decide to install your application onto a web with different disks/directory tries. Even if we re-do the IDE and make it smart enough to recognize valid absolute references in include() statements, it would not help much, becase a) most of libraries I saw does not use absolute references and therefore we would not move further with resolving other files names b) in most cases it makes sense to build up CodeInsight database on all the files of the library and don't spend time with resolving particular include()s, so it's necessary to know library path anyway. |
||||||||||||
|
Re: PhpED Code Insight Project/Workspace Issues |
|
Ditto, however I found the migration very easy and it was actually a relief. The only thing I needed to change was the syntax colouring and I felt right at home. |
||||||||||||||
|
|
Same here, although that's already long ago PhpED (and every other IDE I know, btw) requires you to make a few things in a certain manner (setup, projects, file organization, development practises). In the beginning, this "feels" bad because it seems to be different from what you have done so far and you feel overly restricted. However, I've seen (and others have reported this, too) that once you accept these - and not try to resist or work against it - things will work out very well. You get used to it and will no longer see it as a restriction at all. Most of all, with PhpED you should get used to keeping all your projects in separate local folders, set up a project for each one, develop locally and deploy to your remote machine when you're done. If the SRV webserver is not powerful enough, maybe you even want to setup Apache+MySQL on your box for that (or use a shared "local development server" if you have several devs, mount the docroot using Samba). This seems to be overkill at the first moment, but once you have established that, you will find that your whole approach becomes more professional: - Clearly separates production from development - You can use the debugger features, but don't need the dbg extension in production environments - Working locally is more comfortable - no network latency, more speed - Clearly separated projects; you will automatically find out which files are "libraries" (i. e. reused) and set these up as projects of their own - Helps you to write code that is more position-independent (not using absolute paths or assume where everything is) - The whole "everything separated and local"-approach is exactly what you will need once you decide to start keeping your projects in CVS - Makes it much easier to install & test different versions (betas, release candidates) of PHP without breaking things on your production machine Most of these are things you never thought about before, because you were only using an editor with fancy highlighting to edit remote files on a production machine via ftp... not really a "software development approach" |
||||||||||||||
|
PhpED Code Insight Project/Workspace Issues *solved* |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by