Req #79962 [Opn]: Application Scope Object

From: Date: Wed, 12 Aug 2020 10:53:40 +0000
Subject: Req #79962 [Opn]: Application Scope Object
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228544@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79962&edit=1 ID: 79962 User updated by: folarin at engineer dot com Reported by: folarin at engineer dot com Summary: Application Scope Object Status: Open Type: Feature/Change Request Package: JIT PHP Version: Next Major Version Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#228544) next »