note 38914 added to faq.languages
| From: | Cashatnospamdotthesilversidedotcom at rn2 dot php dot net | Date: | Mon, 12 Jan 2004 04:12:12 +0000 |
| Subject: | note 38914 added to faq.languages | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63334@lists.php.net to get a copy of this message | ||
To correctly utilize PHP in enterprise applications, one may want to bear in mind that if PHP is
being used synchronously, it should be kept to the presentation layer only. Other languages that
were previously mentioned througout the notes above (such as Perl, Java, and the .NET CLR... if
you're on Windows) would be more appropriately used within the business process and data access
layers. If you really want to maintain higher speed on presentation, then perhaps one would want to
incorporate asynchronous instead of synchronous processing into the presentation layer of your
application.
In other words, if you are using a connected data source, such as a SQL database, try shifting the
processing time back a layer by providing a medium interval return from the data source to an XML
file that the web service can access. This will allow your web presentation layer to load the data
significantly faster than it is now. It will also give more resources back to PHP and your web
service processes.
If you still cannot get the PHP processes back up to par, then you should consider using PHP as an
asynchronous page constructor, thus shifting PHP itself back to the business process layer and
allowing the web service (Apache, IIS, Netscape, etc.) to return HTML files instead.
Aside from page caching, (to my knowledge) you simply cannot get any faster than that.
----
Manual Page -- http://www.php.net/manual/en/faq.languages.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38914
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38914&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38914&report=yes
Search -- http://master.php.net/manage/user-notes.php