Feel free to describe a universal component router in less words. Considering complexity of the code: The new router for com_content has 216 lines compared to 477 + 234 lines (router and ContentHelperRoute), is able to "remove" the IDs from the URLs und provides the same URLs everywhere, regardless of you using ContentHelperRoute or not.
Hannes
Am 10.08.2016 um 14:32 schrieb JoeforJoomla Boy:
Mmm this sounds really complex... at first look more complex than the
current router for components.
Also i'm not confident that it will work in a stable way.
On Monday, August 8, 2016 at 10:34:39 AM UTC+2, Dave wrote:
Hi, I have created a number of components with routers. Most of
these routers are view based.
I was wondering if someone could explain or direct me to some kind
of documentation/tutorial about how the new view based router
classes (such as JComponentRouterView,
JComponentRouterViewconfiguration, etc) are used and if there are
any conventions I should follow (class names, filenames, file
locations, etc).
--
You received this message because you are subscribed to the Google
Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to joomla-dev-general+unsubscribe@googlegroups.com
<mailto:joomla-dev-general+unsubsc...@googlegroups.com>.
To post to this group, send email to joomla-dev-general@googlegroups.com
<mailto:joomla-dev-general@googlegroups.com>.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
There is an additional switch to switch between ID- and non-ID-URLs. The new routing is NOT there to remove the IDs. Its goal is to finally get code that is worthy for this decade. (The original routing code is basically from 2005.) With the new routing enabled, we can then easily add additional features, in this case removing the IDs. So that is an additional option.
Am 10.08.2016 um 16:38 schrieb Allon Moritz:
@Hannes I tried to test the 3.7 branch, but I was not able to remove the
id's in the url event tough I have set use new router in the content
config to yes. What else do I need to change?
On Wed, Aug 10, 2016 at 3:02 PM, 'Hannes Papenberg' via Joomla! General
Development <joomla-dev-general@googlegroups.com
To post to this group, send email to
Visit this group at
https://groups.google.com/group/joomla-dev-general
<https://groups.google.com/group/joomla-dev-general>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to joomla-dev-general+unsubscribe@googlegroups.com
<mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>.
To post to this group, send an email to
Visit this group at
https://groups.google.com/group/joomla-dev-general
<https://groups.google.com/group/joomla-dev-general>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to joomla-dev-general+unsubscribe@googlegroups.com
<mailto:joomla-dev-general+unsubsc...@googlegroups.com>.
To post to this group, send email to joomla-dev-general@googlegroups.com
<mailto:joomla-dev-general@googlegroups.com>.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
No, there is no convention for that. The expectation is that you don't really need component specific rules. But in any case, they are normally autoloaded from the libraries folder. If you have custom rules, you can simply require_once the file.
Hannes
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.To post to this group, send email to joomla-dev-general@googlegroups.com.
> joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>
>
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com
> <mailto:joomla-dev-general%252Bunsubscribe@googlegroups.com>>
> <mailto:joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>
>
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com
> <mailto:joomla-dev-general%252Bunsubscribe@googlegroups.com>>>.
> joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com
> <mailto:joomla-dev-general%252Bunsubscribe@googlegroups.com>>.
> To post to this group, send an email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>
> <mailto:joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>>.
>
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>
> <https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>
> <https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from
> it, send
> an email to joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>
> <mailto:joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>>.
> To post to this group, send email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>
> <mailto:joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>>.
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>.
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to joomla-dev-general+unsub...@googlegroups.com
> <mailto:joomla-dev-general+unsub...@googlegroups.com>.
> joomla-dev-general+unsubscribe@googlegroups.com
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>
>
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com
> <mailto:joomla-dev-general%252Bunsub...@googlegroups.com>>
> <mailto:joomla-dev-general+unsubsc...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>
>
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com
> <mailto:joomla-dev-general%252Bunsub...@googlegroups.com>>>.
> To post to this group, send an email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>
> <mailto:joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>>.
>
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>
> <https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>
> <https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from
> it, send
> an email to joomla-dev-general+unsubscribe@googlegroups.com
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>
> <mailto:joomla-dev-general+unsubsc...@googlegroups.com
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>>.
> To post to this group, send email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>
> <mailto:joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>>.
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to joomla-dev-general+unsubscribe@googlegroups.com
> <mailto:joomla-dev-general%2Bunsubs...@googlegroups.com>.
> To post to this group, send an email to
> joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>.
> Visit this group at
> https://groups.google.com/group/joomla-dev-general
> <https://groups.google.com/group/joomla-dev-general>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to joomla-dev-general+unsubscribe@googlegroups.com
> <mailto:joomla-dev-general+unsubsc...@googlegroups.com>.
> To post to this group, send email to joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/joomla-dev-general.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.