Hi,
It isn't really a programming question, but rather a structural.
Let's suppose I have a PHP page, which is built by other PHP files' includes.
Which is the better approach:
in a switch-like statement I include the required PHP files, which contain
all the functions, and the HTML code to
2009/7/23 Sándor Tamás (HostWare Kft.) sandorta...@hostware.hu
Hi,
It isn't really a programming question, but rather a structural.
Let's suppose I have a PHP page, which is built by other PHP files'
includes.
Which is the better approach:
in a switch-like statement I include the
-Original Message-
From: Dengxule [mailto:dengx...@gmail.com]
Sent: 23 July 2009 10:53
Hoping for the coming of the concept of PACKAGE. Seems that
NAMESPACE will
be introduced in PHP6.
Already present in 5.3, actually.
Cheers!
Mike
--
Mike Ford,
Electronic Information
When I first started programming in PHP I used the second method you
mentioned. I had a single file I called utils.php and it contained
all the functions I could possibly need throughout my site.
Unfortunately, this file grew to be over 10,000 lines and most of the
time I only needed a
Floyd Resler wrote:
When I first started programming in PHP I used the second method you
mentioned. I had a single file I called utils.php and it contained
all the functions I could possibly need throughout my site.
Unfortunately, this file grew to be over 10,000 lines and most of the
'Tis true. I just find dealing with the smaller files much easier.
At the time I was using Komodo IDE and it would get very sluggish with
the larger files.
Take care,
Floyd
On Jul 23, 2009, at 9:34 AM, Robert Cummings wrote:
Floyd Resler wrote:
When I first started programming in PHP I
On Thu, Jul 23, 2009 at 09:34:37AM -0400, Robert Cummings wrote:
snip
Not that I disagree with your methodology at this time, but you could
have just made that single big file, include all those little files and
still had a single load statement in each of your consumer source files.
With
Paul M Foster wrote:
On Thu, Jul 23, 2009 at 09:34:37AM -0400, Robert Cummings wrote:
snip
Not that I disagree with your methodology at this time, but you could
have just made that single big file, include all those little files and
still had a single load statement in each of your consumer
8 matches
Mail list logo