examples/retwitter/application/controllers/PostController.php
public function indexAction()
    {
        $currentUser = Zend_Auth::getInstance()->getStorage()->read();
        
        $feed = new Feed($currentUser['id']);
        
        $this->view->posts = array();
        
        // just for example, better use multiget
        foreach ($feed as $postId) {
            $post = new Post($postId);
            $postData = $post->getValue();
            
            $user = new User($postData['userId']);
            $userData = $user->getValue();
            
            $this->view->posts[] = array('post' => $postData, 'user' => $userData);
        }
    }
public function indexAction()
    {
        $currentUser = Zend_Auth::getInstance()->getStorage()->read();
        
        $feed = new Feed($currentUser['id']);
        
        $this->view->posts = array();
        
        // just for example, better use multiget
        foreach ($feed as $postId) {
            $post = new Post($postId);
            $postData = $post->getValue();
            
            $user = new User($postData['userId']);
            $userData = $user->getValue();
            
            $this->view->posts[] = array('post' => $postData, 'user' => $userData);
        }
    }
Read your posts