dkorso: переводы
Integrating Wordpress and Yii: still another approach, using Yii as the router/controller / Интеграция Wordpress и Yii: еще один метод, использующий Yii в качестве роутера/контроллера.
→What we're going to do is place Yii in front of WordPress to act as a router/controller. We'll then load WordPress up partially underneath the hood (enough that Yii can use headers, etc) but not hand off to WordPress unless Yii can't resolve the route. If Yii can't resolve the route, we'll have WordPress act as a custom error handler (for 404s only). Having wrapped Yii around WordPress allows us to use Yii objects / models / databases within WordPress plugins, functions and themes. It's pretty cool!
0 Что мы собираемся сделать так это расположить Yii с лицевой стороны Wordpress чтобы взаимодействовать с ним как router/controller. После этого мы будем загружать WordPress неявно, а при помощи роутов Yii.
Резюме
- Пол:
- мужчина
- Родной язык:
- русский
- С нами:
-
с 16 ноября 2013 г.
(4719 дней)
Не является членом клуба. - Деятельность:
-
1 версия перевода
с общим рейтингом 0
