|
Posted by C. on 07/19/07 13:03
On 17 Jul, 18:02, Michael <xmxmich...@gmail.com> wrote:
> hey all,
> I'm wondering what tools and techniques people use to do stuff with
> PHP.
> yes yes, I know it depends. but in general, let's say you have a BIG
> project to complete, how would you do it?
> there are programmers that all they use is direct PHP, there are some
> people that use template engine [ie Smarty] and some database
> abstraction [ie- ADODB ] , there are people that use some MVC
> framework or something else.
>
> so, what are you guys using most of the time?
CVS for version control,
simpletest for testing,
PHP_codesniffer for style checking,
PHPXRef for code documentation
TikiWiki for design documentation
phpmyadmin for interacting with the DB outside the code I write
I keep changing the tool I use for bug tracking - there are lots out
there and you do need one for a big project.
You could use a framework (Prado, Seagull, PHPeanuts are all very
good).
Personally I find most templating systems overkill and not really
ideal for splitting the arty-farty stuff from the techy stuff - I use
a very, very simple home-brew template system where my PHP code writes
its output into specific DIVs in the page (so if I need to create a
table, I still have to output the <table>...</table> tags, but I can't
control the background colour from within my PHP).
IMHO most database abstraction is not very good - it doesn't really
give any more DBMS indeopendence that you get with the dbx_ functions
(if your DBMS of choice isn't supported by dbx_ just confine yourself
to the equivalent native functions and the common SQL subset - e.g.
avoid autoincrement and enum, don't use PL/SQL or prepared
statements).
There is a very good reason for using adodb - that's phplens which is
a well written tool which can save a lot of coding.
Other useful bits are JPGraph, phpmailer and the mnogo search engine.
HTH
C.
[Back to original message]
|