Req #79962 [Opn->Sus]: Application Scope Object
Edit report at https://bugs.php.net/bug.php?id=79962&edit=1
ID: 79962
Updated by: cmb@php.net
Reported by: folarin at engineer dot com
Summary: Application Scope Object
-Status: Open
+Status: Suspended
Type: Feature/Change Request
Package: JIT
PHP Version: Next Major Version
Block user comment: N
Private report: N
New Comment:
This feature requires discussion which is beyond the scope of this
bug tracker. Please send mail to the internals mailing list[1]
instead.
[1] <https://www.php.net/mailing-lists.php#internals>
Previous Comments:
------------------------------------------------------------------------
[2020-08-12 10:53:40] folarin at engineer dot com
PHP Rocks!
Thanks team for giving us the greatest tool for web development;
https://medium.com/@alexkatrompas/java-will-kill-your-startup-php-will-save-it-f3051968145d
There are only two features left for PHP to be impregnable:
1. Compilation (JIT fixed not tried this out yet)
2. Application Context Object
The session context provided by the $_SESSION variable is great but so much can be said about the
ability to hold a shared variable across sessions.
There a several workarounds about this including Redis and other in-memory DBs, but the problem is
that not all hosting providers provide the Redis Service.
As a seasoned Java Engineer, taking advantage of the evolving OO-capabilities of PHP, I can tell you
Spring Boot et al is a total waste of time, enable a practical Compiler and Application Context
Object and PHP... beautiful
Several Use Cases of the Application Context includes
1. Implement messaging Queues, Job Queues, and Application-wide event listeners and handlers
2. Set scheduled jobs, like routing DB purging
3. Site-wide visitors count
Just to name a few.
Thanks
------------------------------------------------------------------------
[2020-08-12 10:43:58] folarin at engineer dot com
Description:
------------
PHP Rocks!
Thanks team for giving us the greatest tool for web development;
https://medium.com/@alexkatrompas/java-will-kill-your-startup-php-will-save-it-f3051968145d
There are only two features left for PHP to be impregnable:
1. Compilation (JIT fixed not tried this out yet)
2. Application Context Object
The session context provided by the $_SESSION variable is great but so much can be said about the
ability to hold a shared variable across sessions.
There a several workarounds about this including Redis and other in-memory DBs, but the problem is
that not all hosting providers provide the Redis Service.
As a seasoned Java Engineer, taking advantage of the evolving OO-capabilities of PHP, I can tell you
Spring Boot et al is a total waste of time, enable a practical Compiler and Application Context
Object and PHP... beautiful
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79962&edit=1
Thread (3 messages)