[wp-hackers] The problem with WP_Rewrite <<< RE: Options for Controller - Views

Otto otto at ottodestruct.com
Fri Nov 27 19:31:01 UTC 2009


On Thu, Nov 26, 2009 at 1:58 PM, Mike Schinkel
<mikeschinkel at newclarity.net> wrote:
> Are you open to considering that, per chance, you understand how Wordpress works internally better than perhaps 99.99% of other users, and that for the vast majority of people the way it works is extremely obtuse?

Certainly. However, I'm more open to perhaps a suggestion of better
documentation or specific improvements. Jacob and you are suggesting
more extreme changes, and doing it in a way that make me believe that
you doesn't understand the layout of the code, which is why I'm asking
questions. That's why you ask questions: to try to understand things
better.

In other words, I'm trying to explain why I think it's a good system,
and trying to get you to explain to me why you think that it is not.
However, all I'm getting back is a bunch of nonsense and confusion.
There seems to be a large amount of misunderstanding about what the
various parts do, and I'm trying to figure out why.


> I'm not specifically supporting Jacob's suggestions but currently there are huge difficulties in getting Wordpress to respect the use of URLs that are not designed to support the hardcoded assumptions baked into Wordpress core. What's more, my use cases are not obscure, i.e. "products/{product}", ability to have a list of Posts be children of a Page, and things like that.

The cases you given to me all seemed extremely simple to do, so I'm
having difficulty understanding what's so hard about them. Me and
others have given cope snippets trying to illustrate our points. For
example, adding /product/whatever should be a simple case of using the
add_rewrite_tag function. I'm trying to get you, or anybody, to
explain why you think that's so difficult to do.


> Back on the 20th I email you directly with code

Thanksgiving. I've been out of town for the last week and unable to
examine your code. I'll get to it soon.


> My point is that you keep saying how great the current system of URL routing but ignore examples that illustrate that it is not.  A little acknowledgement of the real issues would be nice.

A little explanation of those issues in a way that is totally
non-confusing would be superb. All I'm seeing is mixing and matching
of various systems and what they do. Rewriting has nothing to do with
the query which has nothing to do with the templates... So why are
they all being discussed and examined as if they were at all the same
thing?

Can you explain the problems you have in simpler terms, perhaps? I do
want to help, but *I really don't understand your issues*.


-Otto


More information about the wp-hackers mailing list