Ask a Question related to PHP Development, Design and Development.
-
Ralph Guzman #1
RE: [PHP] Application Dev -- Separating code for speed.
[url]http://bombusbee.com/[/url]
-----Original Message-----
From: Jonathan Pitcher [mailto:jpitcher@cfedc.com]
Sent: Monday, August 11, 2003 7:20 AM
To: [email]php-general@lists.php.net[/email]
Subject: [PHP] Application Dev -- Separating code for speed.
I have a application, almost like a web portal. I am working on
developing a version for public use. And have run into some development
questions.
The application is split into 4 major parts.
Plugins -- A class that can be used by one or more modules.
Example: A PDF generator.
Modules -- A Class of commands that do a specific task.
Example: A Work flow controller.
User Information -- An object that holds all the current user
information including the user access levels.
Portal Controller -- A main object that controls all plugins, modules,
and user information.
A complex Portal with complex modules can begin to slow things down,
especially when you start to have 800 + users and thousands and
thousands of lines of code loaded for each user.
My question is this:
Is there a way in PHP to have the "Portal Controller" run seperately
with out needing to load or include the objects for every user? I was
thinking of something like
http://mysite/PortalController?Action=GetUserAccessRules
Are there other ways to do this? Would this speed anything up or would
it slow it down. Just trying to find a good way to keep code seperated
and speed up access on large sites.
Any input you could give me would be greatly appreciated.
Thanks in advance,
Jonathan Pitcher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ralph Guzman Guest
-
Running application (*.exe) from WebService code
Help needed! I can't run other application (for ex., c:\pr files\app.exe) from code of my Web Service. The following code doesn't work in... -
Application.onConnectAccept example code problem
Hi All, I'm trying to understand how client calls work and I'm stuck on a problem. I'm using the client code and the server code that is given as... -
video application speed?
I have a flash app that streams video via flash media server 2 .....now the app runs extremely slow if I compile it with the frame rate set at 14... -
Separating a PDF Document
I'm trying to separate multi-page PDF file into individual pages to be used as graphics in a layout. I know I can extract and save each page... -
Does Ruby 1.8.0 improve in file I/O speed and pattern match speed?
Hi, rubyists, I'm using ruby 1.6.8 (2002-12-24) and find file I/O too slow. Is ruby 1.8.0 faster? Some one in the list said speed is quite...



Reply With Quote

