PHP's days numbered?
Published 2007-11-10 00:10:00
PHP's great claim to fame has always been a solution to a domain specific problem, Delivering Web pages. It's relatively easy mixing of HTML and code (while at times very nasty), have proved quite a good solution for many people.
But as technolgy moves forward, I wonder if PHP will be required much longer. Why you may ask, since I've got craploads of PHP code lying around in my subversion folders. Well In addition to most of my new projects using ExtJS to deliver the interfaces, which has almost totally removed PHP from rendering tasks. The last few weeks I have been using Mysql's newish Stored procedures, which move the alot of application logic and rules into the database, and seriously reduce rather kludgy code in PHP. Not only that it also reduces the data going back and forth between PHP and Mysql.
So PHP is doing less and less of the work, to the point where if there was an apache module that did mysql stored procedure calls based on the request URL, and returned JSON, I suspect PHP would be practically obsolite.....
Anyway started playing with apache modules today... - not enough time to do anything substantial, but there are a few fixes needed to this page.
http://www.ibm.com/developerworks/linux/library/l-apache/
The build lines should be something like this.
But as technolgy moves forward, I wonder if PHP will be required much longer. Why you may ask, since I've got craploads of PHP code lying around in my subversion folders. Well In addition to most of my new projects using ExtJS to deliver the interfaces, which has almost totally removed PHP from rendering tasks. The last few weeks I have been using Mysql's newish Stored procedures, which move the alot of application logic and rules into the database, and seriously reduce rather kludgy code in PHP. Not only that it also reduces the data going back and forth between PHP and Mysql.
So PHP is doing less and less of the work, to the point where if there was an apache module that did mysql stored procedure calls based on the request URL, and returned JSON, I suspect PHP would be practically obsolite.....
Anyway started playing with apache modules today... - not enough time to do anything substantial, but there are a few fixes needed to this page.
http://www.ibm.com/developerworks/linux/library/l-apache/
The build lines should be something like this.
gcc -fPIC `apxs2 -q CFLAGS ` -I`apxs2 -q INCLUDEDIR`
-c time_cookie.c -o time_cookie.o
gcc -shared -lapr-1 -laprutil-1 time_cookie.o -o time_cookie.soAnd the FOREACH loop in it should use
curr_bucket = APR_BRIGADE_FIRST(bb);Anyway I wonder if anyone has done a Mysql/Json apache module.
while (curr_bucket != APR_BRIGADE_SENTINEL(bb)) {
...
curr_bucket = APR_BUCKET_NEXT(curr_bucket);
}
Mentioned By:
google.com : november (182 referals)
www.phpdeveloper.org : PHPDeveloper.org: John Coggeshall's Blog: Alan has smoked too much PHP (106 referals)
www.planet-php.net : Planet PHP (68 referals)
blog.coggeshall.org : Coggeshall.org (32 referals)
www.phpdeveloper.org : PHPDeveloper.org: PHP News, Views, and Community (31 referals)
www.phpdeveloper.org : PHPDeveloper: PHP News, Views and Community (31 referals)
google.com : php days (31 referals)
blog.coggeshall.org : Alan has smoked too much PHP - Coggeshall.org (22 referals)
www.phpfreaks.com : PHP Help: John Coggeshall's Blog: Alan has smoked too much PHP (9 referals)
www.phpfreaks.com : PHP Help: PHP Freaks! (8 referals)
google.com : php phps (8 referals)
blog.coggeshall.org : PHP - Coggeshall.org (8 referals)
google.com : delivering json from php (4 referals)
google.com : mysql json stored procedure (4 referals)
google.com : "json in mysql" (3 referals)
google.com : json apache (3 referals)
google.com : mysql stored procedure json (3 referals)
www.feedage.com : Smoking toooooo much PHP 1506215 Feedage.com (2 referals)
google.com : "sql over http" php (2 referals)
google.com : adding some days in php (2 referals)
google.com : november (182 referals)
www.phpdeveloper.org : PHPDeveloper.org: John Coggeshall's Blog: Alan has smoked too much PHP (106 referals)
www.planet-php.net : Planet PHP (68 referals)
blog.coggeshall.org : Coggeshall.org (32 referals)
www.phpdeveloper.org : PHPDeveloper.org: PHP News, Views, and Community (31 referals)
www.phpdeveloper.org : PHPDeveloper: PHP News, Views and Community (31 referals)
google.com : php days (31 referals)
blog.coggeshall.org : Alan has smoked too much PHP - Coggeshall.org (22 referals)
www.phpfreaks.com : PHP Help: John Coggeshall's Blog: Alan has smoked too much PHP (9 referals)
www.phpfreaks.com : PHP Help: PHP Freaks! (8 referals)
google.com : php phps (8 referals)
blog.coggeshall.org : PHP - Coggeshall.org (8 referals)
google.com : delivering json from php (4 referals)
google.com : mysql json stored procedure (4 referals)
google.com : "json in mysql" (3 referals)
google.com : json apache (3 referals)
google.com : mysql stored procedure json (3 referals)
www.feedage.com : Smoking toooooo much PHP 1506215 Feedage.com (2 referals)
google.com : "sql over http" php (2 referals)
google.com : adding some days in php (2 referals)
Follow us
-
- Some thoughts on the language server and its usefulness in the roobuilder
- Roo Builder for Gtk4 moving forward
- Clustered Web Applications - Mysql and File replication
- GitLive - Branching - Merging
- PDO_DataObject Released
- PDO_DataObject is under way
- Mass email Marketing and anti-spam - some of the how-to..
- Hydra - Recruitment done right
Blog Latest
-
Twitter - @Roojs