我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

将symfony路由存储在数据库中

How can I store the routes in a database instead of the routing.yml standard file? Should I create a custom route loader?

You could check this previous question. The only answer gives a basic idea how to do it.

Also, there is a bundle called DbRoutingBundle that could help you. I just made a search on KnpBundles to find it so, I did test it or know how it works.

It could be a good starting point to do your own implementation.

Regards,
Matt

近期文章

  • PHP年龄计算器错误的年龄
  • Symfony-2.0错误登录重定向网址
  • PHP SQL注入预防语法
  • 创建和显示完整的详细信息
  • 将Google Maps API V2升级到V3
  • 复杂的MySQL SORT基于时间
  • Ajax如何将Javascript字符串传递给php
  • PHP的图像库,用于处理元数据,调整大小和裁剪
  • 如果用户浏览到子域,PHP将重定向到移动版本
  • PHP PNG到JPG转换问题,图像失真
  • cakePHP的目的是模型parentNode()函数?
  • 设置无法从解析请求中识别的参数
  • 从文件夹内容中读取单个img src到HTML
  • 在ajax调用jplayer之后检索文件位置返回字符串
  • 在jquery中将php代码插入到src图像中
  • 由于PHP类,Internet Explorer无法正确呈现页面
  • 如何在没有表单或Javascript的情况下触发logout.php脚本?
  • 如何在完成php循环后将更多数据推入数组?
  • 不能用远程服务器中的utf编码在html页面中用阿拉伯语写
  • 在php javascript中找到没有onload函数的动态文本框值的count char

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华