--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
----- Original Message -----From: Johan JanssensSent: Tuesday, April 22, 2014 4:18 PMSubject: [jcms] Re: ARGH! the jooma router strikes back!
Cyril,The router in Joomla can definitely be improved. Not sure though bold statements like : 'the router is in very had shape and a real obstacle' are the best start of a productive solution.Lets try to put things in context a little bit :- Joomla's menu system uses a composite architecture. A menu item links to an entity or a collection of entities using a 'has a' relationship. This is called composition.- Drupal's menu system uses an 'is a' relationship, where each menu item is an entity and is represented by a node id. This is called inheritance.
- In the very early days of Mambo a menu system didn't even exist. There was a hardcoded menu had one level and was just a list of links. In Mambo 4.5.1 or 2 (unsure) the menu manager was added to the core allowing the add different menu's and manage menu items for each. At the same time the Itemid was also introduced.
Note : I wrote one of the very early menu managers for Mambo before the core had this concept.- The composite approach that Joomla follows for menu management is has both it's advantages and disadvantages. One of the advantages is that is very easy to fit anything in the menu system; at the same time this is a disadvantages in certain contexts.About your suggestions :1. Make Jooml
On Wednesday, April 16, 2014 3:22:42 PM UTC+2, Cyril Thibout wrote:
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
> > <mailto:joomla-dev-cms+unsub...@googlegroups.com <javascript:>>.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.To post to this group, send email to joomla-...@googlegroups.com.
> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
One of the big goals is preventing false 200 responses, so
actually throwing a 404 when the URL is wrong (think of
domain.tld/menu-item/42-the-truth-is-o instead of
domain.tld/menu-item/42-the-truth-is-out-there)
--To post to this group, send email to joomla-...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
Purity aside (not to debate whether 301 or 404 is technically proper), websites exist for users, and when user clicks on a link, they expect either to reach an existing page or if the page they wanted to open is somewhere else, to be redirected to it. I'm sure user would not care about any of our technicalities if we give them 404 when we know what is the page they want. 404 should be given to them only if the page they want to view is completely dead and nothing else makes sense, as that visitor will most likely be lost.
The way to handle the old bad urls, i think is better put on a plugin and give admin the option to select between the actual proper link with a 301, or render a 404 error.
Dmitry
> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
> To post to this group, send email to
> joomla-...@googlegroups.com
> <mailto:joomla-...@googlegroups.com>.
>
> Visit this group at http://groups.google.com/group/joomla-dev-cms.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! CMS Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to joomla-dev-cm...@googlegroups.com
> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
> > <mailto:joomla-dev-cms+unsub...@googlegroups.com <javascript:>>.
--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Thanks again,
Sergio
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
To solve these problems, I also gave my (small) contribution and, therefore, these are the goals that I'd like to see implemented.What are the problems?
The routing in Joomla has a few issues, namely for the end-user:
- Unnecessary IDs in the URLs
- Different URLs for the same content a.k.a. Duplicate Content
- Because of false URLs to some content, the wrong modules are loaded
- No choice in URL style
For the developers:
- Not object oriented, still pretty strictly procedural code
- A component router is extremely complicated to write
- The current code is pretty slow
Would be so much simpler than trying to guess what menu item to use.
how about staying on topic
...
@sergio : The 'correct' was simply related to the fact that this is indeed what is Hannes wrote on Indiegogo. What Hannes intends to do with his Indiegogo campaign is up to him. I'm approaching the router question from a project and architecture perspective.
...
Hi Hannes
Any news on your progess? :)
Den fredag den 25. april 2014 20.02.59 UTC+2 skrev Hannes Papenberg:Hi folks,
I just wanted to spread the exciting news, that we just reached the
initial goal for the Indiegogo campaign! So this is definitely going to
become reality!
https://www.indiegogo.com/projects/advance-the-joomla-url-router/x/7199684#activity
I'm very excited and thankfull. Thanks to everyone who contributed so
far and also to those that spread the word and made this possible. You
guys are awesome!
Regards,
Hannes
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joomla-dev-cms/pCAPIs980kk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joomla-dev-cm...@googlegroups.com.
>> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
>> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.