Wait for Zend_auth

December 16, 2006 on 2:40 pm | In Zend Framework | No Comments

Bill Karwin said Zend_auth will be ready next month on his online spreedsheets.

By this chance, I will work with the Incubator library to implement my user/group management.

And also, I realize the changes in Zend_Controller module. I need to revise my code to fit into it.

My Websites now online

December 12, 2006 on 11:10 pm | In Zend Framework | No Comments

Based on Rob Allen’s tutorial, I did some changes as follow:

Integrate with Smarty
Use last version of Zend view to replace Zend view 0.2.0
Rewrite all template files to fit Smarty
Rewrite all methods under indexController, such as addAction(), editAction(), … to fit Smarty
Add constant.php to \application Currently, only one line inside

Code (php)
  1. /*
  2. * Global contants
  3. */
  4. define(‘BK_BASE_URL’, ‘/zf-tutorial/’);
  5.  
  6.  

Check it out here

TODO:

Release my source code soon
Add Zend_auth to implement user/group management.
Devlop Trew View to catalog user’s websites.
Fix bugs (of course, this is a must for every project)

Integrate with Smarty

December 11, 2006 on 10:15 am | In Zend Framework | 2 Comments

I hate put PHP code into template file.

Many people have implemented integrating Smarty to Zend Framework. Ralf Eggert’s is a great one. However, after Rob Allen sent me his sample of Integrating with Smarty, I decide follow his idea to write my own Smarty.php. Because Zend Framework 0.2.0 doesn’t support Allen’s sample, I download the new View module from Zend Framework Trunk and replaced the previous one.

This file structure looks like this:

/library
    /Bkdiy
      /View
        /Smarty
        /Smarty_Cache
        /Smarty_Compile
        /Smarty_Config
       Smarty.php

File structure - redesign

December 10, 2006 on 10:01 pm | In Zend Framework | No Comments

/application
  /controller
  /model
 /view
  /smarty
    /templates

/library
  /Zend
  /Bkdiy
    /View
      /Smarty
      /Smarty_config
      /Smarty_compile
      /Smarty_cache
      Smarty.php
  Zend.php

/public
index.php
.htaccess

Online demo

December 4, 2006 on 5:27 pm | In Zend Framework | No Comments

Rob Allen’s tutorial is so good that I just want develop something based on it.

Under his consent, I put it to the live demo and will put mine soon.

« Previous PageNext Page »
Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^