Adil
Adil

Reputation:

Memory management in php

My query is how can i store data in secondary memory by fetching it from database and then displaying it in small units using zend framework coding ?

Upvotes: 0

Views: 554

Answers (2)

Tomáš Fejfar
Tomáš Fejfar

Reputation: 11217

You are looking for Zend_Cache and Zend_Paginator with ArrayAdapter

Upvotes: 0

Rob Allen
Rob Allen

Reputation: 12778

It's hard to work out exactly what you mean. If you are finding database access too slow, then you should use caching to store the results received from the database into files or memory. If you are storing to memory, then the memcached server is very popular.

Zend Framework provides the Zend_Cache component to help you manage storing, retreiving and expiring cached data. It also allows you to easily change the "back end" storage system from file to memcached so that you can compare performance.

Some useful links:

Upvotes: 1

Related Questions