ZEND FRAMEWORK

alona19

New member
ZEND FRAMEWORK

אהלן,
אני קצת חדשה בנושא של ZF . התקנתי zend server על המחשב. והתקנתי eclipce גרסא 3.0.
הZF הותקן סבבה, אבל אני ממש לא יודעת (שאלה מפגרת), איך אני מפתחת בצורה כזו שאני אוכל לעשות require לקבצים של הframework.

ראיתי הסברים על include path וסתם הסתבכתי, למישהו יש רעיון לפתרון?

תודה!
 
הקבצים של הFW הם מחוץ לתקיית הPUBLIC

את יכולה "לעלות" למעלה בהיררכיה של התקייות עם ../

../
 

karnaff

New member
You mean inside the eclipse?

So that you'd have code completion and such?

Assuming your eclipse project is set up as a PHP Project, then right click the project and select Include Path > Configure Include Path
In the window which opens, click the "Add External Source Folder" and then select the folder where ZF is

I assume you've installed Zend Server on Windows - in which case you should choose this (default installation)
C:\Program Files (x86)\Zend\ZendServer\share\ZendFramework\library

Let eclipse rebuild the project, and voilà, you're good to go

Good luck!
 
למעלה