Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2009-03-09 Thread David Toniolo
Hello again, i wrote a tutorial (only in German, sorry) how to use this plugin manager with setters or with constructor arguments. http://php.bolzz.com/bolzz/source/Quickstart_PluggerPlugin.phps Tutorial Description: This plugin manager has to be initialized in your bootstrap. After that, the

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2009-03-09 Thread David Toniolo
Hello again, i wrote a tutorial (only in German at the moment) how to use the plugin manager with setters instead of constructor arguments. http://php.bolzz.com/bolzz/source/Quickstart_PluggerPlugin.phps Tutorial: Usage with setters or constructor arguments. (German) Short description about p

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
hi Tim, your right, this is not really a ZF problem, but ZF needs a special htaccess RewriteRule, we all know that. So, if you use the RewriteRule of the "Getting started.." tutorial, then you will get a problem, because the src-path of an iframe would be parsed by your bootstrap. I fixed this p

Re: [fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
solved. Path has to be in docroot, include_path settings do not catch here, because it's HTML. I tried to do something like this: and that works. I do not like this solution with an extra PHP file in docroot, maybe someone knows a better solution. David Toniolo wrote: >

[fw-general] Using HTML iframes with ZendFramework

2009-03-05 Thread David Toniolo
hello, there is a problem with using iframes in view scripts. In the src attribute of the iframe is a path like this: The PHP file should be called an that's it. It works under XAMPP Windows but not on Linux. ZF version is equal on both systems (1.7.2-minimal). On Linux ZF routing throws mess

Re: [fw-general] Zend_Acl - How to model large ACL?

2008-08-29 Thread David Toniolo
hi stefan, your name sounds German, so maybe you want to post your topic on zfforum.de, too. I think you have too much roles, maybe it is possible to reduce them to round about 100 roles, with inheritance and some optimization on the structure. To say more about this, i have to know the concrete

Re: [fw-general] ACL Roles / Resources

2008-05-15 Thread David Toniolo
hello Joseph, i think you have to make an overview about your modules,controllers and actions, so after that, you have your ACL resources (module + controller = resource) and your privileges (actions). Example: There are 2 classes: BlogController, BlogCommentController and each class has the fo

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-05-09 Thread David Toniolo
Hello all, i wrote a quickstart tutorial for the Plugger. It is in German, sorry for that, but i think the code is easy to understand. http://php.bolzz.com/bolzz/source/Quickstart_PluggerPlugin.phps Quickstart Tutorial greetings, David -- View this message in context: http://www.nabble.com/

Re: [fw-general] ACL actual use

2008-03-12 Thread David Toniolo
hi Alexander, my ACL solution is based on ini files and my AclModel class reads those files and creates the ACL object, which should be cached by a cache mechanism, because a file solution is a little bit slower than a db solution. But it's much simpler to handle, for me. http://sources.online-s

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-03-03 Thread David Toniolo
class names and filenames can be different now. So, i don't have to implement this by myself. Thanks a lot. David Toniolo wrote: > > Hi @ll, > > inspired by some postings about plugins on zfforum.de, i decided to write > a plugin manager class handles my plugins by req

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-02-27 Thread David Toniolo
Links changed: http://php.online-skripte.de/Mtwd_Zend_PluggerPlugin/api/ Doku + API http://sources.online-skripte.de/Mtwd_Zend_PluggerPlugin.phps Source Now it is a full useable version supports giving arguments to plugin classes, searching in many directories for class files, etc. Hope you

[fw-general] A simple plugin manager class to handle all plugins by request or more

2008-01-21 Thread David Toniolo
Hi @ll, inspired by some postings about plugins on zfforum.de, i decided to write a plugin manager class handles my plugins by request. This means, e.g. my Plugin_Auth class does not load, when there is a request on a site which does not need an authentication. I could write much text now about