Re: New to PHP, need pointers to best practices for the design of an atypical web app
| From: | Alan Mead | Date: | Tue, 02 Jul 2019 18:56:31 +0000 |
| Subject: | Re: New to PHP, need pointers to best practices for the design of an atypical web app | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326844@lists.php.net to get a copy of this message | ||
On 7/2/2019 6:20 AM, Umberto Salsi wrote:
> amead@alanmead.org (Alan Mead) wrote:
>
>> My inclination is to create a large index.php file that examines the
>> user input and the current state and executes a subroutine that serves
>> the appropriate next page [...]
> This is exactly what my bt_ (bee-tee-undescore) framework does.
Yes, This looks quite promising: "The only existing real web page is the
dispatcher page that routes request coming from the remote client to the
appropriate function of the program. Events triggered by user's clicks
are then dispatched to the handler function that replies to these
events." Your Random routines also look useful.
I have a couple stupid questions: How do I "install" bt_ on my server?
Do I install PHPLint and this is installed at the same time? My existing
code is licensed as GPL2. I don't know if using bt_ invokes a license
requirement for my code, but is there anything about bt_ that would clash?
-Alan
--
Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.
science + technology = better workers
http://www.alanmead.org
"You're an interesting species. An interesting mix.
You're capable of such beautiful dreams, and such
horrible nightmares. You feel so lost, so cut off,
so alone, only you're not. See, in all our
searching, the only thing we've found that makes
the emptiness bearable, is each other."
-- Carl Sagan, Contact