rywa/silverstripe-foundation
Composer 安装命令:
composer require rywa/silverstripe-foundation
包简介
Foundation 5 Prototyping Theme for SilverStripe
README 文档
README
Foundation 5 + Compass/Grunt, packaged up into a clean SilverStripe theme suitable for rapid prototyping or as a solid base for your own responsive theme.
Based on the Foundation Compass Template and Foundation libsass template.
Live Theme Demo
http://silverstripe-foundation.com
Working with the Theme
You can use the theme in two distinct ways.
-
Manage the theme using Composer and update using
composer update. This method should be used if you are using the theme for prototyping and do not need to edit the theme files directly. -
Use the theme as a starting point for your own custom theme. In this case, you're best off installing with git and committing changes to your git repo.
Composer Installation
"require": { "rywa/silverstripe-foundation": "1.1.*" }
Add themes/foundation to your .gitignore
Git Installation
cd themes
git clone git://github.com/ryanwachtl/silverstripe-foundation-theme.git foundation
Enable Theme
SSViewer:
theme: 'foundation'
in /mysite/_config/config.yml
Using Compass and Bower
If you're editing the Sass files, just run the following command:
compass watch
If you'd like to upgrade to a newer version of Foundation down the road just run:
bower update
Using Grunt & Libsass (instead of Compass)
Instead of using Compass, you can use Grunt and Libsass.
You need the npm packages set up, in order to do so do, cd into the theme directory and run:
npm install
Now, run:
grunt
Requirements
SilverStripe 3.1.x
Optional
For using Compass:
- Ruby 1.9+
- compass:
gem install compass
For using Grunt:
- Grunt:
npm install -g grunt-cli
Recommended
While not required, you'll get the best experience with this theme by installing the foundationforms module below. The Foundation Forms module is also compatible with, and makes a great companion to, the User Forms module.
SilverStripe ZURB Foundation Forms Module
Use .ss templates with Interchange
SilverStripe ZURB Foundation Interchange Module
The Gist linked below is a custom Editor Config that I use. It is a single line of buttons with Foundation specific styles.
SilverStripe Foundation HtmlEditorConfig Gist
About Foundation 5
Foundation is the most advanced responsive front-end framework in the world. With Foundation you can quickly prototype and build sites or apps that work on any kind of device, with tons of included layout constructs (like a full responsive grid), elements and best practices.
rywa/silverstripe-foundation 适用场景与选型建议
rywa/silverstripe-foundation 是一款 基于 Scheme 开发的 Composer 扩展包,目前已累计 2.6k 次下载、GitHub Stars 达 38, 最近一次更新时间为 2013 年 02 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「theme」 「responsive」 「prototyping」 「foundation theme」 「silverstripe foundation」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rywa/silverstripe-foundation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rywa/silverstripe-foundation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rywa/silverstripe-foundation 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Simple minimal but useful set of utils (properties, strings, datetimes, etc.)
ResponsiveImages Plugin for October CMS
TYPO3 extension for sending responsive email templates
A Bootstrap 4.x base theme for SilverStripe
Flexible HTTP mocking application for testing and fast prototyping
Lucency Theme
统计信息
- 总下载量: 2.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 15
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-02-05