Some programmers and system analysts feel that output buffering slows down the response time of a website and adds memory overhead.

Imagine you are a website developer using PHP, analyze and explain the use of output buffering for optimization, based on appropriate research and reasoning.

In any web application such as a discussion forum that handles a large volume of data, database independence is the key factor that influences scalability. Analyze and discuss, using appropriate research and reasoning.

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

B. Answer
1. Analyze and explain the use of output buffering for optimization
i. The reason of using PHP is that we need to have a dynamic content website and page generation engine make heavy use of output function to the browser to fulfill that task. For example: These script that use a lot print() statement will cope with bad situation because they will slow down the execution time of the script
ii. We usually use one of these solutions:
1. Output buffeting
2. Compressing PHP Output, we will focus
iii. We will focus con output buffeting. It helps reduce the I/O time of the script with PHP 4.0.3 or latter
iv. The main idea of this method is that we will store all the content that has to be printed out in memory buffer before outputting the whole buffer. This method have several advances
1. We will need only one I/O operation
2. The content could be parsed only one time for all case before outputting the browser...
$75.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Web Development (HTML, XML, PHP, JavaScript, Adobe, Flash, etc.) Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats