Re: [fw-general] Domain Driven Design / Patterns of Enterprise Application Architecture [repost]

2009-09-28 Thread netlynx
Hello Tim, Tim Fountain wrote: On the other hand I also see services as being the layer between the DataMapper and the DataSource. (For example we have Zend_Service_Amazon. Is that not something we could/would layer between the DataMapper and the DataSource (being Amazon). I can see

Re: [fw-general] Object oriented programming with Zend

2009-09-28 Thread netlynx
Sudheer Satyanarayana wrote: It is next to impossible to write all the benefits of using OOP in this email. You should read books about OOP to learn more about it. The sample you snippet posted appears to demonstrate how to encapsulate database access in your models. And

Re: [fw-general] Complex ACL

2009-08-29 Thread netlynx
debussy007 wrote: 1. Where are the privileges ? It seems that often in a CMS there are privileges, e.g. a user may be able to view the list of pages but not to update them. Some may publish or delete them, etc. Of course you can keep it simple but keep this into mind if you have to

[fw-general] Complex ACL

2009-08-27 Thread netlynx
Hello everyone, It has been a while since my last post, (I think that was around 1.5.0ish). Anyhow, I had stepped away from web projects for a while, and now I am back to the great new 1.9.x, and am a little lost with the whole Zend_Application, but I am working hard to catch up. Anyhow

[fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
I am having trouble understanding how to change my routing. I have read through the documentation and the excellent tutorial at http://www.noginn.com/2008/09/03/using-subdomains-as-account-keys/ but still am failing to understand. I am trying accomplish something like the following:

Re: [fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
I have added the routing from the bootstrap file and it doesn't work there either (rather than from the preDispatch plugin). $fc = Zend_Controller_Front::getInstance(); $router = $fc-getRouter(); [ code from the preDispatch() function of the plugin ] $fc-dispatch(); And it is still not

Re: [fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
Alright, problem solved (I think) First, I failed to add the controller directory for the module to the front controller: $fc-addControllerDirectory ( APP_PATH . '/admin/controllers', 'admin' ); * NOTE * If the controller directory is not defined for the module, the router will fall back to

Re: [fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
Rolando Espinoza La Fuente wrote: On Thu, Jan 8, 2009 at 3:30 AM, netlynx ajmurra...@gmail.com wrote: I have added the routing from the bootstrap file and it doesn't work there either (rather than from the preDispatch plugin). $fc = Zend_Controller_Front::getInstance(); $router = $fc

Re: [fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
[repost - update with addControllerDirectory lines (that are important haha) ] -[ bootstrap.php ]--

Re: [fw-general] Zend_Controller_Router_Route_Hostname

2009-01-07 Thread netlynx
On a side note, this setup will break if you are calling your server via an IP address rather than a domain name. http://admin.myfirstdomain.com/magazine/writearticle/ results in: $requestParams = array ( 'module' = 'admin', 'controller' = 'magazine', 'action' = 'writearticle',

Re: [fw-general] Zend Mailing Lists [All]

2008-12-04 Thread netlynx
Colin Guthrie-6 wrote: Are you familiar with the concept of News Groups? (NNTP). Hah, well I did write a nntp client library with PHP for a project I started a couple years ago (but shelved as it was more a personal interest more than anything else. So yeah :) Colin Guthrie-6 wrote:

[fw-general] Best Practices Question

2008-12-03 Thread netlynx
I have been reading through the documentation and many tutorials around the web, and one tutorial got me asking the question ‘where does this really belong’. The tutorial in specific was on Akra’s DevNotes (Rob, if you are reading this, your tutorials are AWESOME!), titled : Getting Started

Re: [fw-general] Best Practices Question

2008-12-03 Thread netlynx
Simon Corless wrote: netlynx wrote: The question that came to mind is Rob is checking for an identity in the preDispatch() method of the action controller -- Zend_Auth::getInstance()-hasIdentity() --, and I am wondering if this wouldn’t be better located in the init() method

[fw-general] Zend Mailing Lists [All]

2008-12-03 Thread netlynx
I have been subscribed to the groups here for a while, and I am somewhat versed in pulling rss feeds and atom feeds and storing them in a database. What I am wondering is, is there a feed for these mailing lists (as opposed to downloading them via e-mail and filtering them into folders). Long

Re: [fw-general] Zend Mailing Lists [All]

2008-12-03 Thread netlynx
netlynx wrote: I have been subscribed to the groups here for a while, and I am somewhat versed in pulling rss feeds and atom feeds and storing them in a database. What I am wondering is, is there a feed for these mailing lists (as opposed to downloading them via e-mail and filtering them

RE: [fw-general] Zend Mailing Lists [All]

2008-12-03 Thread netlynx
vRandom wrote: There is an xml atom feed from nabble.com, if that helps. http://www.nabble.com/Zend-Framework-Community-f16154.html (at the bottom of the page) Terre Ah yes, now I feel like a complete idiot. Apparently that big orange XML button at the bottom of the page was

Re: [fw-general] Zend Mailing Lists [All]

2008-12-03 Thread netlynx
Nico Edtinger-3 wrote: You are already using Nabble and should see the link to a feed somewhere in your address bar:. fw-general has a feed at http://www.nabble.com/Zend-Framework-f15440.xml . But IMO using push is the better option, if available, as you aren't wasting resources