Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMF Routing #24

Closed
isometriks opened this issue Oct 15, 2014 · 6 comments
Closed

CMF Routing #24

isometriks opened this issue Oct 15, 2014 · 6 comments

Comments

@isometriks
Copy link
Member

Store all routes for page controllers in some kind of cache and then when using route provider try to match the path and return all the page controller routes with the prefix attached

@isometriks
Copy link
Member Author

Or just return the page itself

@isometriks
Copy link
Member Author

The special page controllers will be like

symedit-blog:
- blog
- blog_view_slug

Remove them from the main routing and only use them in the caches and just grab from the route collection when asked in the provider. We can run it at the end to remove the routes

@isometriks
Copy link
Member Author

We can add labels to these so we can have a dropdown instead and ask if multiple is allowed etc

@isometriks
Copy link
Member Author

Find all page controllers and then check their paths against the request path and see if those match first

@isometriks
Copy link
Member Author

If no page matches exactly match to page controllers on say.. /blog/category/general, /blog/category, /blog and sort asc and make sure that the matching page is

@isometriks
Copy link
Member Author

isometriks@812a1c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant