Reply to Re: Organizing scripts

Your name:

Reply:


Posted by sTony on 11/10/06 10:59

"kenoli" <kenoli@igc.org> wrote in message
news:1163001002.892172.128870@m73g2000cwd.googlegroups.com...
> Thanks. Good comments. Several that have really helped. I try to
> name files descriptively, though I have discovered that my concept of
> that seems to change and I will look at a filename and wonder why inthe
> world I named it that. I have taken to doing what one of you suggested
> and including full descriptions as a comment in each file. Another
> suggestion I have taken from this string is to use less directories.
> This helps a lot with avoiding breaking include paths and other
> referneces between files.
>
> Does anyone have comments on phpheclipse or zend studio as IDEs?
> Advice that could help me choose one to use or learn how to use them
> effectively?
>
> --Kenoli


I can't say anything about any IDE's since I too have questions reguarding
those, but I'd like to say that I personally put every function inside of
it's own file, and then include those seperate function files into bundles
which I can then use in my pages. My most commonly used bundle is one which
I call 'toolbox.php'. It "includes" functions which are useful in the
design/testing phase, but which are not required for the program to run. I
structure these in folders, ie: ./global/scripts/php/functions, where the
functions reside in the function directory, and the function bundles reside
in the php directory. While this setup requires good documentation, which is
important anyhow, I find that I like the flexability of it. Others might
disagree, but it's working for me.

sTony

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация