Re: [fw-general] Routing

2008-09-30 Thread Michał Minicki
have everything worked out already ;) Jason Eisenmenger -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything

Re: [fw-general] URL Routing and Params

2008-09-05 Thread Michał Minicki
spaceage [EMAIL PROTECTED] napisał(a): Is there any way around this, ie. a magic way to signal default/index for one or both of the controller/action designators and still pass in parameters in their place(s) without confusing the router? You are most probably trying to achieve something like

Re: [fw-general] FYI: new php framework benchmarks

2008-09-02 Thread Michał Minicki
. There is nothing more you can do about it but to customize the framework code. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free

Re: [fw-general] Using subdomains

2008-07-19 Thread Michał Minicki
RewriteRule ^(.*)$ http://www.site.com/user/profile/%1?path=$1 José -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything

Re: [fw-general] Zend_View_Helper_Url add slash

2008-06-20 Thread Michał Minicki
Ralf Eggert wrote: Should I extend the Zend_View_Helper_Url or would it be better to change the default route if this is possible? Routes strip trailing slashes prior to matching. Do as Matthew suggested, Ralf - add your own helper. Ralf -- Michał Minicki aka Martel Valgoerad | [EMAIL

Re: [fw-general] Organising Routes

2008-06-20 Thread Michał Minicki
it to be by presenting a use case. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] My thoughts on PHP

2008-06-16 Thread Michał Minicki
and programming insights. It needs to keep evolving so it can keep its lead on the web and please both beginning and experienced programmers alike. And like Python 3, it should drop backwards compatibility in favor of innovation and cleanup in my own humble opinion :) - Jurriën -- Michał Minicki aka

Re: [fw-general] My thoughts on PHP

2008-06-16 Thread Michał Minicki
compatibility in favor of innovation and cleanup in my own humble opinion :) vote++ But it's not gonna happen. So maybe we should not get our hopes up ;) -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] controller question - not that obvious, I guess

2008-05-31 Thread Michał Minicki
how to tell controller to use some default action and treat that '23' as a parameter?? is that doable at all on ZF ?? Please help. thanks. http://framework.zend.com/manual/en/zend.controller.router.html -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-20 Thread Michał Minicki
not a vital security update after all. +1 one to make the names consistent. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do

Re: [fw-general] Should Zend_View_Helper_Url use rawurlencode()?

2008-05-17 Thread Michał Minicki
Change this: $url = $this-_view-url(array('page' = $page . '?' . $_SERVER['QUERY_STRING'])); To: $url = $this-_view-url(array('page' = $page)) . '?' . $_SERVER['QUERY_STRING']; Ashish Sharma -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http

Re: [fw-general] Subdomains and Zend Framework

2008-05-09 Thread Michał Minicki
-- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] Slashes at the start of urls

2008-05-06 Thread Michał Minicki
and removing the trim() line. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] Altering exsiting route object?

2008-05-05 Thread Michał Minicki
-addRoute('example2', $new); But it means more work for you as different types of routes have different construct parameters. If it's sufficient for you, please create a Jira issue and assign it to me, Jeffrey. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Question about Zend_Controller_Router_Route_Regex and greedy swallowing for trailing /'s

2008-04-30 Thread Michał Minicki
Colin Guthrie [EMAIL PROTECTED] napisał(a): Anyway, I'm using Zend_Controller_Router_Route_Regex, and have found some odd behaviour that I'm not 100% sure is deliberate and wonder if someone could confirm this is expected or if it's actually a bug! Why don't you look at the code and the test

Re: [fw-general] Tools status. . .

2008-04-29 Thread Michał Minicki
anyways. ,Wil -- Michał Minicki aka Martel Valgoerad | [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_Uri

2008-04-25 Thread Michał Minicki
ask you to take it elsewhere. All conflicts aside, Wil, I think Greg brought up a very interesting idea of integrating two ZF components which could and even maybe should be working together. Greg, please create a Jira issue for this. ,Wil -- Michał Minicki aka Martel Valgoerad | [EMAIL

Re: [fw-general] Need some MVC structure suggestions

2008-03-31 Thread Michał Minicki
very strict defaults. Remember routes are matched in reverse order and first one to match is used. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing

Re: [fw-general] Routing: / != /index != /index/index?

2008-03-12 Thread Michał Minicki
ZCR_Route_Regex( '(index(/index)?)?' array('controller' = 'article', 'action' = 'index') ); -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing

Re: [fw-general] Can someone explain why all these tests are failing?

2008-02-19 Thread Michał Minicki
for myself. There is a test for the issue in Jira that isn't fixed yet: Zend_Controller_Router_Route_RegexTest .F The name of the failing test tells which issue is it -Matt -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl

Re: [fw-general] Alias for controller

2008-02-01 Thread Michał Minicki
marcis [EMAIL PROTECTED] napisał(a): How do you think it could be done? Through routing? Rewriting the dispatch method (Zend_Controller_Front or Zend_Controller_Dispatcher_Standard)? Any idea? Thanks in advance!! I tried it creating a new route (I was using the standard one) like this:

Re: [fw-general] Inconsistent subpackage names

2008-01-30 Thread Michał Minicki
subpackages were fixed, Adam: http://framework.zend.com/fisheye/changelog/Zend_Framework/trunk/library/Zend/Controller/Action/Helper?cs=7385 If you found more or had something else in mind, please reopen the issue and provide some more details. Patch would also be nice. Ádám -- Michał Minicki aka

Re: [fw-general] ZF 1.5PR comments

2008-01-29 Thread Michał Minicki
the desired output would be? ?= $this-headTitle() ? produces titleWelcome/title I'm asking for a View Helper that would produce Welcome. So you just need to echo a variable? Then use: ?= $this-escape('Welcome') ? -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

[fw-general] Possible Zend_Config_Ini problem (was: Zend_Controller_Router addConfig()'s mandatory second parameter)

2008-01-27 Thread Michał Minicki
Joó Ádám [EMAIL PROTECTED] napisał(a): Although Michał fixed the issue that prevented to omit a root level from Zend_Config_Ini, addConfig() still requires a segment to be specified. However it doesn't make sense to have a segment for routes if you have a config file only for them. Should I

Re: [fw-general] shouldn't testcases clear up after executed?

2008-01-25 Thread Michał Minicki
Julian Davchev wrote: Aren't all testcases supposed to revert system as it was after execution Cause I get tons of files created and left there after executing test suits. They should, generally. Could you possibly create a Jira issue for this, Julian? -- Michał Minicki aka Martel Valgoerad

Re: [fw-general] ZF Packaging

2008-01-23 Thread Michał Minicki
of this should preclude keeping the existing tarball/zip download. Exactly. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being

Re: [fw-general] help w/ routing recipe: module/controller/update/:id

2008-01-23 Thread Michał Minicki
eventUpdate.reqs.action = (view|update) Remove reqs line if it doesn't work (it's late here and I'm half asleep ;) David Mintz -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness

Re: [fw-general] router question - how to hide default module, controller and action in url?

2008-01-18 Thread Michał Minicki
route doesn't match. -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] Issue resolving procedure

2008-01-16 Thread Michał Minicki
never give you what you want. ;) Well, this is useful. Thanks, Wil. Not exactly what I had in mind, but it's a start :) ,Wil -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Where is a list of classes for each component?

2008-01-16 Thread Michał Minicki
in the use of abstract/concrete classes in place of interfaces, Matthew. But that's another story ;) -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing

Re: [fw-general] 1.0.4?!?!

2008-01-16 Thread Michał Minicki
* good reason). Any objections? Thanks. ,Wil -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd

[fw-general] Issue resolving procedure

2008-01-15 Thread Michał Minicki
to make sure that we can take this or that issue on ourselves? -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything

Re: [fw-general] wiki

2008-01-14 Thread Michał Minicki
-- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] little bug in url view helper

2008-01-10 Thread Michał Minicki
? http://framework.zend.com/issues/browse/ZF-2218 I'll reopen it and will make a fix. Gunter -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness

Re: [fw-general] Fatal error, need help

2007-12-20 Thread Michał Minicki
Ralf Eggert wrote: From a Google search I learned that this error is caused, when an exception is thrown in a destructor. Are there any other reasons why this fatal error could be thrown? Any hints or comments? If it's the reason, you can try to log every exception thrown form a destructor

Re: [fw-general] Zend View Helper Url + url encoding

2007-11-18 Thread Michał Minicki
encoded, so I have to fetch the paramters, url encode again and re-send them to the helper. That works, but... :-) It's an excellent suggestion. Could you possibly create a Jira issue for this? I'll modify the code as soon as I will be able to get my hands on the source. Johannes -- Michał

Re: [fw-general] Route enhancement

2007-11-08 Thread Michał Minicki
regex route assemble method, then maybe it would be better to contribute your idea and help improve the core framework itself? -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Extract info from a URL

2007-10-31 Thread Michał Minicki
the url. Is there any way to make it easier? Create a route, as if you were going to use it in the router, and: $route = new Zend_C..._Router_Route(...); $url = 'view/5'; $values = $route-match($url); var_dump($values); -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http

Re: [fw-general] custom route problem

2007-10-17 Thread Michał Minicki
( '/admin/:controller/:action/*', array( 'module' = 'admin', 'controller' = 'index', 'action' = 'index' ) ); $router-addRoute('admin', $route); TIA HTH Gunter -- Michał Minicki

Re: [fw-general] Zend_Workflow

2007-09-24 Thread Michał Minicki
/view/latest/(file)/introduction_Workflow.html -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Idleness is not doing nothing. Idleness is being free to do anything. -- Floyd Dell

Re: [fw-general] Jira is down...

2007-09-18 Thread Michał Minicki
Thomas Weidner wrote: Definitly not... I AM NOT THE FAULT !! Yeah, right. Judging from emotions you feel guilty already ;) -- Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Jira is down...

2007-09-18 Thread Michał Minicki
Thomas Weidner wrote: Yeah, right. Judging from emotions you feel guilty already ;) No comments on such posts... I dont feel happy about such messages even if a smilie is attached. Sorry if it offended you. It wasn't my intention. Thomas -- Michał Minicki aka Martel Valgoerad | [EMAIL

Re: [fw-general] Jira is down...

2007-09-17 Thread Michał Minicki
diffs occasionally. As far as I remember, someone mentioned jira and fisheye run under the same application server. Then maybe fisheye fails when it tries to process such big commits? It's just a guess though. I don't have any experience with Altassian software myself. -- Michał Minicki

Re: [fw-general] .htaccess: rewriting to different bootstrap in subdomain

2007-05-16 Thread Michał Minicki
Tony Harrison [EMAIL PROTECTED] napisał(a): Hello, I currently use the .htaccess file from the manual, but I want to modify it so that when someone accesses using a subdomain it goes to a different bootstrap file. at the moment a request for domain.com and sub.domain.com both goto the same

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

2007-03-12 Thread Michał Minicki
Kai Meder [EMAIL PROTECTED] napisał(a): is there any way that the a view-helper may access the view, in which it was executed? I was discussing this problem with Matthew some time ago and he agreed to do it eventually. http://framework.zend.com/issues/browse/ZF-936 I have no idea when this

Re: [fw-general] Notice in Zend_Controller_Router_Route

2007-03-09 Thread Michał Minicki
Olivier Sirven [EMAIL PROTECTED] napisał(a): Sorry it's not line 210 but line 208 ;) Attached a small script to demonstrate the notice. Thanks, Olivier. Should be fixed now. -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] more on controller directories

2007-02-06 Thread Michał Minicki
Patrick Veach [EMAIL PROTECTED] napisał(a): This worked: $route = new Zend_Controller_Router_Route('testing/:controller/:action/*', array('controller' = 'test', 'action' = 'index')); $router-addRoute('testing', $route); Add this line: $router-removeDefaultRoutes(); pat -- Martel

Re: [fw-general] Remove demos from svn?

2007-01-19 Thread Michał Minicki
Bill Karwin [EMAIL PROTECTED] napisał(a): You know you can check out a subdirectory of the ZF tree, right? If all you need is the library directory, then just sync with the library directory. As a developer you need main library, incubator library and both test directories. So you can't

Re: [fw-general] Router problem in 0.6.0

2006-12-22 Thread Michał Minicki
Matthias Zitzmann [EMAIL PROTECTED] napisał(a): $routes= array( 'form'= new Zend_Controller_Router_Route('form/:action/*', array('controller' = 'form', 'action' = 'index')), 'files'= new Zend_Controller_Router_Route('files/view/*', array('controller' = 'files', 'action'