Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:05:28+00:00 2026-06-11T00:05:28+00:00

Zend views usually render instantly, but with a large dataset; 1500 objects into a

  • 0

Zend views usually render instantly, but with a large dataset; 1500 objects into a xml view, it takes 2-3 seconds which is unacceptable for my app. Any suggestions would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:05:29+00:00Added an answer on June 11, 2026 at 12:05 am

    600 KB can or can not force an application to execute slow. The execution time depends on the actual script, its persistence layer, connections from web- to database-server and more aspect. Thus:

    First of all, instrument your application in such a way, that it computes the time taken by the server-side script.

    For example, rename index.php to realIndex.php and create a new index.php like this:

    $startTime = microtime(TRUE);
    
    require_once( dirname( __FILE__ ) . '/realIndex.php' );
    
    $endTime = microtime(TRUE);
    
    echo '<hr />Time taken: ' . ( $endTime - $startTime ) . ' micros';
    

    Certainly, this approach is trivial and does not work in each and any situation. Nevertheless, it is a starting point.

    Try to return few data

    Often, huge numbers of data items – wether or not as XML – express bad UX and technical design

    Therefore I propose to process as much data at the server-side and return a condensed data set to the client. Don’t forget: You database system is more or less always faster than your script, when it comes to retrieving and processing data.

    Since users won’t be able to actually mentally understand all data form a 1500 item web-page, I’d propose to page the resulting view’s data. Retrieve 1/10 of the big data set and provide navigation control to go to previous or next page(s).

    Note, that this not only helps users, it also reduces the amount of data, your database needs to scan and retrieve – if the database is well defined. E.g. indexes attributes to be searched and tries to keep records in tables of fixed size, etc…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a Zend view I can apply a partial template to an iterable element
In the Zend view helper, there is the function url() for outputting a URL
I have tried to embed a flash movie in a zend view using the
I want to modify a view from Action Helper in Zend Framework in preDispatch()
Can someone help me achieve multiple zend pagination in a view using ajax. I
I can't understand what is rendering a view. I'm reading Zend Framework manual and
Note: I'm using Zend Framework, but I think most of this applies to PHP
My zend layout and scripts are detecting fine. but when in init function of
I was wondering - how does one go about implementing composite views in Zend.
In codeigniter I would normally get my data and pass it into the view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.