I had readden this tutorial several times before to post this thread but there is a point for which I need a clarification :
3 . F u l l S i t e
T i p : a d d a n a d d i t i o n a l d i r e c t o r y l e v e l u n d e r y o u r p r o j e c t s t r e e ( i a l w a y s n a m e i t „ s r c “ ) w h e r e y o u p u t t h e s i t e .
T h i s w a y , y o u c a n h a v e o t h e r p r o j e c t fi l e s ( p h i n g , p r o fi l e r , s a s s , . . . ) i n a n a d d i t i o n a l d i r e c t o r y a b o v e t h e s i t e .
Also, if my project is named (i want to be sure that I do everything correctly) : MyPhpProject, then i should create three folders "site1", "site2" and "site3" under an unique forlder "src"(="joomla" for example in case of use of joomla) or three folder "src1", "src2", "src3".
that depends on how you are working with your projects.
I personally would create
/site1/src/ /site2/src/ /site3/src/
but if you don't need any additional files in your structure, you can of course skip the "src" level. I found it useful to have this extra level where i can store logfiles from Xampp, Phing build scripts and so on. But this is no "must". I'm sure a lot of other developer have a completely different structure. This is just what i personally like and how i work...
Hello,
maybe this presentation about Joomla and phpStorm could help you: http://de.slideshare.net/thomaskahl/using-an-ide-for-joomla-development
Cheers,
Thomas
Thanks Thomas.
I had readden this tutorial several times before to post this thread but there is a point for which I need a clarification :
Also, if my project is named (i want to be sure that I do everything correctly) : MyPhpProject, then i should create three folders "site1", "site2" and "site3" under an unique forlder "src"(="joomla" for example in case of use of joomla) or three folder "src1", "src2", "src3".
To summarize, the best structure is :
c://xampp/htdocs/MyPhpProject/src/site1
c://xampp/htdocs/MyPhpProject/src/site2
c://xampp/htdocs/MyPhpProject/src/site3
OR
c://xampp/htdocs/MyPhpProject/src1/
c://xampp/htdocs/MyPhpProject/src2/
c://xampp/htdocs/MyPhpProject/src3/
?
ps : I use a pc and windows 7.
Hello,
that depends on how you are working with your projects.
I personally would create
/site1/src/
/site2/src/
/site3/src/
but if you don't need any additional files in your structure, you can of course skip the "src" level. I found it useful to have this extra level where i can store logfiles from Xampp, Phing build scripts and so on. But this is no "must". I'm sure a lot of other developer have a completely different structure. This is just what i personally like and how i work...
Thomas
In goal to not keep my usual programming organisation I will also start by just:
site1/
site2/
site3/
And will add the 'src' folders later if required.
Thanks