developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 10 years ago
Last modified 9 years ago
#1223 assigned enhancement
New router for URL
Reported by: | laurentj | Owned by: | laurentj |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | jelix:core | Version: | |
Severity: | major | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description (last modified by laurentj)
Current behaviors of URL engine should be improved.
The current simple url engine does not make sens any more and simple and basic significant engine are difficult to configure.
We should have only one URL engine, based on the current significant url engine. So we could remove the support of driver in jUrl. However, we could provide another kind of drivers, allowing to choice how urls informations are stored: in a php file like today, or a sql database etc...
In urls.xml, we should have a way to have simple url like for the basic url engine.
Change History (6)
comment:1 Changed 10 years ago by laurentj
- Description modified (diff)
comment:2 Changed 10 years ago by laurentj
- Milestone Jelix 1.3 deleted
comment:3 Changed 9 years ago by FlorianLB
comment:4 Changed 9 years ago by laurentj
- Milestone set to Jelix 1.4
- Status changed from new to assigned
comment:5 Changed 9 years ago by laurentj
Using annotations is not really a solution, because:
- we need to parse ALL controllers to create the list of the url
- we cannot parse all controllers, since many controllers have the same name (defaultController for example). We could do it in jelix 2 when controllers could have namespaces
- it is less obvious for the user of the module to change the url..
comment:6 Changed 9 years ago by laurentj
- Milestone Jelix 1.4 deleted
Note: See
TracTickets for help on using
tickets.
What about using annotations in controller method to easily define urls ?