Re: Many Small Files or Larger Utility Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I do the same - for the create, register, and forgot functions it all gets
processed in the same file.

On Mon, Jun 20, 2016 at 9:49 PM, Stephen <stephen-d@xxxxxxxxxx> wrote:

> I have made a number of web sites using PHP and mySQL. These included a
> control panel for adding and maintaining content.
>
> I am stepping up and creating a site that will require sessions, private
> areas and user registration functions.
>
> I have looked at samples and note that they all use many small files. I
> see that as being difficult to manage.
>
> But I have also looked at the code for a PHP bulletin board. Many, many
> small files, so I see that it is a common practise. But I see it as
> complicated and difficult to manage.
>
> For my control panel code I have all the routines, about 10, to process
> POSTS in one file. It works fine.
>
> Now activity is low, but that will also be the case with my new site.
>
> So my question: Is small, single function, files the best practise, or I
> am just fine in combing many functions into larger "library" files.
>
> Thank you for your thoughts.
>
> --
> Stephen
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux