Welcome and thanks for taking the time to review my code demo website.

This app was written utilizing the Zend Framework library following their MVC pattern implementation recommendation. Some of the model scripts need to be moved to view helper classes which is on my to-do list.
I am using a combination of Zend Studio (Windows), Net Beans (Linux) and Eclipse (Linux) for development. I am using Navicat, MySQL Workbench and phpMyAdmin (only on the Godaddy server - turned off external access) for mysql db management and development.
My dev LAMP is running on an Ubuntu 10.04 Linux server. Production LAMP is hosted by Godaddy - Linux is Red Hat 10.2.

Logs

2010-11-08 12:30 PM
Moved ../library one level down, updated index_main.php appropriately. Changed logic in controller plugin's preDispatch to update persistent auth object if acl rule allows access for guest and no user logged in. Added if/else logic in AuthenticationController.php, on auth sucess, and based on isset(...destinationController), to either look to persistant auth object for destinationController/destinationAction or getRequest()-> to build redirect var. object for

2010-11-05 2:15 AM
Lots more done. Zend_Acl and Zend_Auth being utilized. Reports, Info, Updatenews require authentication. acl stuff (3 r's) in LibraryAcl.php. MyPlugin.php preDispatch method has the acl processing logic. Utilizing application.ini for registering controller plugin. Need to resolve session garbage cleanup issue that seems to crop up when using Auth/Acl components. Moved library to docroot. Changed library namespace from BCS to TJT. Added credentials to crontab for news update.

2010-11-03 4:15 PM
Updated "application.ini" to include my custom Plugin "Myplugin.php"...which means in my Bootstrap.php, I don't have to override the run() method with the plugin register.

2010-11-03 2:30 AM
Added:
$file = array("application", "configs", ...
to php_file_tree_dir function in order to hide the "crap"... This is only in the case of this app code being selected to view. Added Zend_Session::start to Bootstrap->run() method.

2010-11-02 12:43 PM
Added run() method to Bootstrap.php to register Myplugin.php. Note - front controller dispatch() must be exectuted since parent run of overridden. Ready to update production.

2010-11-02 10:46 AM
Tore up things a bit. Index.php includes index_main.php which now defines APPLICATION_PATH and APPLICATION_ENV set by .htaccess which uses SetEnv to set for dev and prod. Using Zend_Application to pull config info from application.ini. Accordingly, Bootstrap.php (new) is used to setup up view and autoloading. Autoloading in _initAutoLoad, in addition to adds the "BCS" namespace, and now instantiates Zend_Application_Module_Autoloader, automatically adding these paths and namespaces:
      forms/       => Form
      models/      => Model
          DbTable/ => Model_DbTable
          mappers/ => Model_Mapper
      plugins/     => Plugin
      services/    => Service
      views/
          helpers  => View_Helper
          filters  => View_Filter

and returns Zend_Application_Module_Autoloader object. So far so good...

2010-10-28 2:28 AM
I created new view helper, buildLink, that receives ass array of atts that help build the form actions for the pagination links (< << 1 | 2 | 3 >> >). A bit too complex to explain much here, but essentially I get the filter form inputs because of the form submissions from the links and I also get a form correct form action updated ('/reports/index/page/6').

2010-10-27 12:03 PM
Need to access the filter text inputs using the paginationControl links for my reports page. Only solution is to dymanically build urls with JS and I don't want to do that. 2010-10-26 1:30 AM
Rss feeds are now pulled from the database for layout access. The custom rss class includes a new static update method that gets restfully called through the Updatenews controller from a cron running on the godaddy server. It pulls the uris from the db, gets the new feeds using Zend_Feed_Reader, converts them to multi dimementional associative array, serialized it, and stores it in the database. These suckers are big...bigger than I anticipated when I originally was using text data type for the feed column. After cluelessly trying to figure out why the serialized array was getting chopped off, I remebered that text data is about 65k max so I changed it to mediumtext giving myself about 16 mb to play with and immediately I was getting what I was saving - Yeah!
Anyway, the layout_new script now simply instantiates the TJT_Service_Rss class, passing "msnbc" or "foxnews", and abra-cadabra, I can pull out feed data quickly and cleanly. No more getting the feeds live with every page refresh.
Anchoring all this is the newly added "news" db table. Also Added "news" model class.

2010-10-26 12:!5 PM
Removed some interesting php/html files leftover from the Jamcats. Reports page now hides your activity logs. Pretty sneaky... Cart site graphics working. Symbolic link not so I copies images to main images dir. Need to update .htaccess. I've never touched it and have been relying a messy looking index.php to do rewrites and such. Good thing its hidden on the code demo page.

2010-10-25 10:10 PM
Added model script for sessions view. Didn't think it would work, but apparently a view looks like a table to Zend_Db_Table_Abstract. Anyway, from now on, all new select multi-join queries will be instanced in a view and not hardcoded anywhere. This is the way to go.

2010-10-24 9:46 AM
Won't detail here, but reports page gives me the info I need now.