Reply to Re: General PHP applications

Your name:

Reply:


Posted by geeker87@gmail.com on 03/22/06 19:48

> I want to know what is the ordinary style in creating PHP applications.
> Should it be one main index.php which will be processing requests from
> many htmls like in JSP technology?

Depends completly on the application. If it were a simple blog/homepage
I'd be tempted to just have one index page and a set of libraries to
include(). If it were a large-scale, multiuser site along the lines of
myspace or soemthing, I'd go for a modular approach that gives me
access to often-used functions throughout, but does not include
unneccesary code - e.g. calling 'modules' from the index page
(/index.php?mod=showUsers).

Its hard to explain the different approches you can take, but you
really need to look at the size of the application to begin with.

> And by the way please recomend me a free tool to write and debug PHP
> applications (does not matter linux or windows).

Use any text editor with syntax hilighting to write.
Testing can be done with a personal webserver, or install something
like PHPTriad on your machine (Apache, PHP, MySQL all in one package -
for windows). Theres another out there beggining with an X which has
perl and python too, but the name escapes me.

There are full blown PHP IDEs out there, but personally, I wouldn't
recommend any of them unless you need to collaborate your code with
other developers, and the only good ones seem to have a hefty price
tag.

Just my 2 cents anyway,

-- Matt

[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

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