Re: [fw-general] Problems with custom routes - possibly bug ?

2007-08-10 Thread Martel Valgoerad
look at a first line of your output: Zend_Controller_Router_Route Object ( [_urlVariable:protected] = : Do you see the class name? GetInstance instantiates incorrect object type. -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] reroute post requests

2007-06-09 Thread Martel Valgoerad
/browse/ZF-777 Expect it rather post 1.0 unless some higher power tells me to implement it as quickly as possible :) Bryce Lohr -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] reroute post requests

2007-06-08 Thread Martel Valgoerad
(); } } } And then you create your forms by extending above class while providing missing abstract methods: class My_Login extends My_Form_Action { protected showForm() { ... } ... } Jens -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Multilpe routes per module

2007-05-31 Thread Martel Valgoerad
you basically are overwriting former with the latter. How can I solve this problem? Just name the routes a bit differently. Like: $router-addRoute('project', ... $router-addRoute('project-details', ... -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Routes missing parameters

2007-05-06 Thread Martel Valgoerad
automatically by the router. The other is to use a different type of route for this one problem - eg. a Zend_Controller_Router_Route_Regex. Remember you can mix and match different kind of routes. Andrew -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Wiki manual updated - request for XSLT help

2007-05-06 Thread Martel Valgoerad
). http://www.w3schools.com/xpath/xpath_functions.asp#string Andriesss -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do

Re: [fw-general] .js module routes

2007-05-06 Thread Martel Valgoerad
') ), array( 1 = 'file' ), 'js/%s' ); -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= In a mad world only the mad are sane. -- Akira Kurosawa

Re: [fw-general] Wiki manual updated - request for XSLT help

2007-05-05 Thread Martel Valgoerad
with this one, as it has been bugging me for a long time :). I guess that with this little help I provided, you will probably be able to solve every other problem on your own ;) Andriesss -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] route problem

2007-04-18 Thread Martel Valgoerad
if you are determined enough to extend the dispatcher. And the router is designed as a filter to request so it is optional. -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Make

Re: [fw-general] Wildcards routes and reset parameter

2007-03-22 Thread Martel Valgoerad
:) If this is a feature, is there a way to assemble a wildcard route without taking into account the current parameters? There is another way to reset parameters. You can leave $reset as false but pass 'var' = null to assemble if you wish to reset specific url variables only. -- Martel

Re: [fw-general] Zend_View, reference inside helpers

2007-03-12 Thread Martel Valgoerad
the view scripts. But it makes subclassing a hell at the same time. -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything

Re: [fw-general] Consistency in naming

2007-02-19 Thread Martel Valgoerad
Matthew Ratzloff wrote: Consistency means predictability, which means being able to recall names without having to check the manual every time. Seconded. -Matt -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] issue with Zend_Controller_Router_StaticRoute

2007-01-20 Thread Martel Valgoerad
Philip Iezzi wrote: please fix... Fixed in revision 2910. Thanks, Philip. -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= You don't stop laughing because you grow old. You

Re: [fw-general] Modular directory structure

2007-01-20 Thread Martel Valgoerad
('users', $values['action']); } I yet have to make assembling work (I guess about 70% work is already done) and create a proposal. Then everything will be in the hands of Matthew. Philip -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] LDAP support

2007-01-18 Thread Martel Valgoerad
but the CVS version is fixed (and more than slightly refactored). Would anyone out there be interested in creating Zend_Ldap? If only I had the time to do it :( -ralph -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] apache bombs out on PDO::prepare()

2006-12-29 Thread Martel Valgoerad
: pid 35047 (httpd), uid 65534: exited on signal 11 Have you upgraded something on your system after PDO compilation? I mean any dependency which may be used by PHP/PDO. Most likely that's newer mysql that's causing some trouble. Have you tried recompiling PHP and/or pdo_mysql? Brad -- Martel

Re: [fw-general] Routing Question

2006-12-22 Thread Martel Valgoerad
have found that the latter matches, where the former does not, and am wondering if that's a bug or intended behaviour. It's a bug and I have fixed it with revision 2469. Please update your sources and give it a try. Andrew -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http

Re: [fw-general] 0.2.0 Migration docs...

2006-12-20 Thread Martel Valgoerad
other kind of misbehavior. Try $ctrl-dispatch() instead of run. I had some issues with this before. But it's a wild guess only, so don't expect miracles. -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Zend_XMLElement proposal

2006-12-15 Thread Martel Valgoerad
. Andi -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] Zend_XMLElement proposal

2006-12-15 Thread Martel Valgoerad
it on purpose? :) But you're missing the point here. There are places in _DOM_ where such convenience classes would be justified. That's all I'm saying. The code is pretty irrelevant. I have given this sample because we're all more comfortable with code examples, right? -- Martel Valgoerad aka Michal

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-04 Thread Martel Valgoerad
()); } Result: array(3) { [id]= string(1) 2 [controller]= string(4) news [action]= string(4) show } Nick -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= If you pick

[fw-general] Controllers in subdirectories

2006-12-03 Thread Martel Valgoerad
, $name) public function addRoute($name, $route) -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To err is human -- and to blame it on a computer is even more so. -- Robert Orben

Re: [fw-general] Controllers in subdirectories

2006-12-03 Thread Martel Valgoerad
://framework.zend.com/wiki/display/ZFPROP/Action+Controller+Directory+Tree+-+Christopher+Thompson I won't go into details here but I think even Christopher will agree that his proposed solution has it's drawbacks. And to me - it's just not kosher enough ;) -- Michael Minicki aka Martel Valgoerad | [EMAIL

Re: [fw-general] Controllers in subdirectories

2006-12-03 Thread Martel Valgoerad
of: http://localhost/test/index.php/news/add You will have to use: http://localhost/test/index.php/news/add/module/admin -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Everyone

Re: [fw-general] Controllers in subdirectories

2006-12-03 Thread Martel Valgoerad
Martel Valgoerad wrote: I guess there is already another proposal for controllers in subdirectories... Yes, there is. Submitted by Christopher Thompson ages ago. It was submitted long before MVC reorganization and uses special characters (in URIs) as directory separators: http

Re: [fw-general] Controllers in subdirectories

2006-12-03 Thread Martel Valgoerad
Shekar C Reddy wrote: Great! Is there a way to map a subdomain to a module? With standard dispatcher? No. You will need to extend it and override the part of the code which will be getting a module name out of the request. But it shouldn't be too hard. -- Michael Minicki aka Martel

Re: [fw-general] Shared server load times

2006-11-30 Thread Martel Valgoerad
drive with a bigger cache. The problem is, I have the disk but with a different operating system so comparison of these two does not have any sense. I have to find some kind of Linux with a SATA now... Rob... -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] MVC in incubator - using $request-setBaseUrl();

2006-11-29 Thread Martel Valgoerad
still resides in incubator. And later, after the 0.6.0 release, it may be harder to do so. Arnaud. -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Any fool can write code

Re: [fw-general] url generation

2006-11-29 Thread Martel Valgoerad
way for URL creation. Any ideas? The URL helper should work. daniel -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Generosity is giving more than you can, and pride

Re: [fw-general] ZF without mod_rewrite

2006-11-28 Thread Martel Valgoerad
in _significant_ loss of performance. Regards, Victor. -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dreaming permits each and every one of us to be quietly and safely insane

Re: [fw-general] revision 1863 controller front

2006-11-28 Thread Martel Valgoerad
an ugly copy and paste and must have forgot to change the visibility afterwards. Kevin -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Courage is resistance to fear, mastery

Re: [fw-general] ZF without mod_rewrite

2006-11-28 Thread Martel Valgoerad
]; And finally the routers should use $request-get/set instead of getParams/setParams. JIRA Issue: http://framework.zend.com/issues/browse/ZF-604 Jay M. Keith - Zend Certified Engineer -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

[fw-general] RewriteRouter's performance (was: ZF without mod_rewrite)

2006-11-28 Thread Martel Valgoerad
Martel Valgoerad wrote: By the way, you may achieve a significant performance boost refusing to use the resourse-consumpting RewriteRouter. Do you have any benchmark data to support that theory? I agree it's doing a lot of work compared to the basic router, but even that shouldn't result

Re: [fw-general] RewriteRouter-addConfig() ini guidelines?

2006-11-28 Thread Martel Valgoerad
for and it's a bit outdated (since Zend_Config changed it's interface for handling pure PHP configs) but I think it may be of some use for you. http://www.ingredients.com.au/nick/2006/07/18/rewriterouter-and-zend_config-play-together/ daniel -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED

Re: [fw-general] router problems

2006-11-28 Thread Martel Valgoerad
Stéphane Thomas wrote: I had the same problem than you, Asger Hallas and Martel Valgoerad. However if you update line 464 and remove the latest change done in Zend_Controller_Request_Http (aka removing the minus 1) it's working fine. So you would have: Line 464: if ((null !== $baseUrl) (false

Re: [fw-general] revision 1863 controller front

2006-11-27 Thread Martel Valgoerad
is. I have moved the default route creation into its own method primarily to clean the constructor and to make it more readable. And making it easier to override the default routes if you choose to subclass the router. Kevin McArthur -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED

Re: [fw-general] Zend::exception() and Zend::isReadable()

2006-11-23 Thread Martel Valgoerad
66.7 0.02 0.09 0.02 0.05 0.00 0.0029 0. 0.0 require_once Tested on revision 1847 with only with APD running. Without any compiler caches. Richard Thomas - Code Monkey -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Route with special characters

2006-11-17 Thread Martel Valgoerad
()-getParams()); var_dump($this-_getParam('name') === 'ä'); Result: --- array(3) { [name]= string(2) ä [controller]= string(5) index [action]= string(5) index } bool(true) -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Route with special characters

2006-11-16 Thread Martel Valgoerad
1640. Please, give it a try. I have added a test for that case. And if there will be no signs of broken code or any other faulty behavior in upcoming days, I will also modify the library version to cover that. -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Spamming JIRA

2006-11-13 Thread Martel Valgoerad
Simon Mundy wrote: It looks as if the JIRA tracker will need to be tightened down some more - someone's just posted a porn link via issue #ZF-546 Same goes for ZF-351 and ZF-254. Simon Mundy | Director | PEPTOLAB -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl

Re: [fw-general] Please Welcome Bill Karwin to our team

2006-10-06 Thread Martel Valgoerad
svn:external. Ralf -- Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= A paranoid is someone who knows a little of what's going on. -- William S. Burroughs