Drupal移动站点架构
-
Upload
robbin-zhao -
Category
Technology
-
view
1.534 -
download
9
description
Transcript of Drupal移动站点架构
Drupal 移动站点架构同时开发Desktop和Mobile站点的思路
赵高欣 (Robbin Zhao)http://www.drupal001.com
Friday, 13 December, 13
内容大纲
⼀一招鲜 - Responsive设计独立主题 - Custom Theme多站点结构SAAS - App-like 架构
独立移动域名?Drupal相关模块和工具常见问题
Friday, 13 December, 13
响应式设计
响应式设计 - Responsive Web Design
One For All
Friday, 13 December, 13
响应式设计
响应式设计 - Responsive Web Design
A. 开发测试难度
B. Responsive本身的缺陷
Friday, 13 December, 13
独立主题
★ One menu_callback for BOTH
★ Two menu_callbacks for EACH
1 code + 2 themes
return theme(‘table’);return db_page_range();
Mobile站点展示的数据和桌面站点数据有些不同,方案A失效!
Friday, 13 December, 13
多站点架构
Drupal的multiple site架构 => 缺点:内容共享
Domain_Access模块
灵活、工作量大、升级困难
Friday, 13 December, 13
APP-Like架构
SAAS架构
使用Service模块,将Drupal搭建成数据中心
Mobile App Web APIsFriday, 13 December, 13
架构演变
Friday, 13 December, 13
独立域名?
缓存/Boost缓存:独立域名 用户感官体验:统一域名
SEO分辨识别:独立域名服务器设置:统一域名
代码开发难度:我不知道
。。。。
Friday, 13 December, 13
常用工具及模块
✓Mobile Tools✓Mobile Switch✓Domain/Domain Access✓DrupalGap = Drupal + PhoneGap + jQuery Mobile✓MAG = Mobile App Generator✓Mobify.com
Friday, 13 December, 13
问题、讨论
Friday, 13 December, 13
谢谢大家!
赵高欣Drupal与高性能网站架构
http://www.drupal001.com
Friday, 13 December, 13