NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
ZF project setup?


Joined: 30 Jun 2007
Posts: 7
Reply with quote
Hello, I've just purchsed PHPeD and am trying to setup my projects but cant figure out how to do it.

Is there anyway to use the Zend Framework with the standard version of PHPeD?
View user's profileFind all posts by chrismacpSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Hi there - could you please give more details about your setup? You might want to take a look here:
http://www.nusphere.com/kb/technicalfaq/howto_set_project_mapping.htm

I hope it helps
View user's profileFind all posts by yfaktorSend private message


Joined: 30 Jun 2007
Posts: 7
Reply with quote
The main issue is that the libraries used in the framework are kept outside of the web root. Does this mean I need remote debugging and therefore the professional edition? I cant seem to access the 'Mapping' tab in project setup, which I guess is a pro facility.
View user's profileFind all posts by chrismacpSend private message


Joined: 30 Jun 2007
Posts: 7
Reply with quote
This is not good if true as it means I can't edit any of my projects properly as they all use ZF.

Has anyone come up with any way to use libraries outside the web root in the standard version of PHPeD. I cant believe this limitation.
View user's profileFind all posts by chrismacpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
with PhpED/Standard edition, you can use local Apache, local IIS or bundled SRV web server.
For the projects with out-of-the-web files, I'd recommend to use Apache. In this case you have to set Run Mode to 3rd party Web Server and adjust project mappings as yfaktor recommended.

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


Joined: 30 Jun 2007
Posts: 7
Reply with quote
How do you adjust mappings though? When I open project properties I can only see an 'includes' tab, there is no mappings tab.
View user's profileFind all posts by chrismacpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Mapping is available only when Run Mode is set to 3rd party Web Server. Otherwise it's not used at all.

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


Joined: 30 Jun 2007
Posts: 7
Reply with quote
I have run mode set to 3rd Party, and I'm running apache with the debugger installed correctly. My project works and the debugger runs etc. it's just that in my workspace the out of webroot folders are not shown as discussed in the article yfaktor linked to.

You can see the mapping tab is not shown here:

View user's profileFind all posts by chrismacpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
ah, sorry for misleading answers. I forgot that mappings is indeed not available in Standard edition.
So, it means that project root will always correspond to the web root.
May I ask you what particular problems you experienced with ZF?

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


Joined: 30 Jun 2007
Posts: 7
Reply with quote
Hello,

Thanks for the quick replies. I dont really have any major probelms apart from that I cant set up the framework to work without this mapping tab I guess. I wasn't aware that this would be a problem to be honest.

The way the framework is structured this is probably necessary as the only file that sits within the web root is a bootstrap file to initiate the system. All of the controllers and views sit outside the webroot and therefore I cannot access them from the workspace window. It will probably mean I cant debug either, so all in all I cant use PHPeD to edit or debug.

I was really looking forward to using PHPeD for this as it's better than any of the other apps that I've tried the demos of. Do you think I would possibly be able to get a refund at all? I cant afford the pro version yet really.
View user's profileFind all posts by chrismacpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
The way the framework is structured this is probably necessary as the only file that sits within the web root is a bootstrap file to initiate the system. All of the controllers and views sit outside the webroot and therefore I cannot access them from the workspace window.

Why not to create directory inside the web/project root and have all the ZF there?

Quote:
Do you think I would possibly be able to get a refund at all?

Sure. Just let sales know within 30days after purchase. Although I'd prefer to help you with IDE, not with refund Smile

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


Joined: 30 Jun 2007
Posts: 7
Reply with quote
Yeah I'd really like to get it working too. I'll try later and see if I can arrange it so that the libraries are within the web root and if that causes any issues with the framework.

Thanks again for your help. Nice to know I can get quality help when I need it Smile
View user's profileFind all posts by chrismacpSend private message
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 1 of 2  

  
  
 Reply to topic