NuSphere Forums Forum Index
NuSphere Forums
Reply to topic


Joined: 22 Oct 2007
Posts: 2
Reply with quote
Curious about this same setup. I am trying to do a quick evaluation on the PHPEd Standard edition while you have the sale going on (ends tomorrow). I am wanting to verify that I can debug on my local apache server with the Zend Framework. I am a newbie so not sure I will be able to get things all setup to verify by tomorrow.

Should this all work?
View user's profileFind all posts by rlanghamSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
it works and there are no reasons for IDE to fail working with any other 3rd party library.
With Standard edition mapping is not available and therefore you can not have out-of-web directories in your project, hence all the libraries must be inside the web directory tree.
I think the rest is quite obvious.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
If you guys just want to have the project setup so that all the functions in ZF can be accessed by the project you don't need mappings at all, instead you just need to set the project Code Insight includes properly.

However, if you are trying to debug then I guess you have to get the Professional version. Personally I think asking for a refund makes no sense: no $69 product that I'm aware of will allow the debugging you want anyway, not with the ease of use and featureset that PHPEd offers, so if you want full debugging you're really looking at PHPEd Professional vs Zend Studio (both in the $250 range). I did that exact same evaluation and I preferred PHPEd by far.

If you're working as a professional then I can definitely say that full IDE's like PHPEd Professional and Zend Studio will save you time far beyond the cost of the purchase price (I paid for and own 4 Advantage licenses for my team and I thank every day that I have such tools). If you're only doing this as a hobby then I'm not sure if I'd suggest the same thing.

Just my 2 cents.
View user's profileFind all posts by rudderSend private message


Joined: 22 Oct 2007
Posts: 2
Reply with quote
Yes, currently this is a hobby. I am a newbie with PHP, so trying to learn something new, maybe later on I will become more serious about it and need the Professional. I am also wanting to learn the Zend framework. I do not need to debug it, but will want to be able to debug my view and controller classes. A .NET guy trying to expand my horizons Smile
View user's profileFind all posts by rlanghamSend private message


Joined: 30 Jan 2007
Posts: 34
Reply with quote
Is this maybe due to modifications to your local php.ini file when you installed ZF?

If so, please realize that running a project INSIDE of phpEd does NOT use YOUR php.ini file. It uses the one installed with phpEd.

Maybe you can install your ZF a second time, and point it to the php.ini file in one or both of the following locations:

C:\Program Files\nusphere\phped\php
or
C:\Program Files\nusphere\phped\php5

I normally need to make minor modifications to the php.ini file located in those directories so that my globally available files on my "include_path" are available inside the phpEd IDE, as well as uncommenting a couple of modules so socket functions and other things will work.

Now.... I don't use the Zend Framework myself, so I don't know if any of this will help you, but that could be the problem.
View user's profileFind all posts by rgagnonSend private message


Joined: 03 Nov 2007
Posts: 45
Reply with quote
dmitri wrote:

With Standard edition mapping is not available and therefore you can not have out-of-web directories in your project, hence all the libraries must be inside the web directory tree.


So are you saying that the standard edition doesn't support files which are lower (closer to root) than the home page? And that the next one up ($250) does?

If this is the case, is there a trial version of the next one up?

The reason I ask, is that my simple projects work great - where the pages are all visible to visitors. But a couple of projects, some of the files are not visible to visitors, but are called by files which are visible to visitors - and I can't get these to work!

_________________
PC
View user's profileFind all posts by computergeniusSend private messageVisit poster's website


Joined: 30 Jan 2007
Posts: 34
Reply with quote
computergenius wrote:
.... some of the files are not visible to visitors, but are called by files which are visible to visitors - and I can't get these to work!


This sounds like a simple php.ini "include_path" issue to me, not something with the editor.
View user's profileFind all posts by rgagnonSend private message


Joined: 03 Nov 2007
Posts: 45
Reply with quote
rgagnon wrote:
computergenius wrote:
.... some of the files are not visible to visitors, but are called by files which are visible to visitors - and I can't get these to work!


This sounds like a simple php.ini "include_path" issue to me, not something with the editor.


No, it works fine in the browser (i.e., without PhpED)

I am not sure if I am getting confused in the PhpED Project Properties, or if PhpED is not designed to do that.

_________________
PC
View user's profileFind all posts by computergeniusSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
So are you saying that the standard edition doesn't support files which are lower (closer to root)

No, of course not. Please re-read, I wrote that you need to create directory for the Framework in the web root (or below).

BTW home page is not necessarily to be in the web root. For example this link could be home page for a web http://localhost/somedir/evendeeper/home.php

Regarding extra money, feel free to walk through list of features compared for the versions:
http://www.nusphere.com/products/phped_verscomp.htm

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
I'm using ZF in many projects and I don't see any problem? For example:
/path/to/someproject/ <-- php project root set here
/path/to/someproject/lib/Zend/ <-- ZF
/path/to/someproject/public/ <-- here's the bootstrap
/path/to/someproject/application/ <--- views, controllers, etc.

then in browser I access it via: http://localhost/someproject/public/ (with apache root set to /path/to/)
No problem at all?
View user's profileFind all posts by NatanielSend private messageVisit poster's website
ZF project setup?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 2 of 2  

  
  
 Reply to topic