php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #79962 Application Scope Object
Submitted: 2020-08-12 10:43 UTC Modified: 2020-08-12 11:05 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: folarin at engineer dot com Assigned:
Status: Suspended Package: JIT
PHP Version: Next Major Version OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: folarin at engineer dot com
New email:
PHP Version: OS:

 

 [2020-08-12 10:43 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-12 10:53 UTC] 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 11:05 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2020-08-12 11:05 UTC] cmb@php.net
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>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC