| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- # 做一个企业主页
- 有次我要做一個企业的官网首页,当时有几个可选的方案。我势必要在其中选择:
- - Wordpress 及同类型的 CMS 方案
- - Hugo 及同类型的静态方案
- - html 模板
- 最终我选择了 html 模板方案,对我来说 Wordpress 过于强大,而一般的企业官网并不需要非常频繁的更新,
- 而往往,对于网站的设计风格和文案有更高的要求。
- 有的企业网站可能需要一个博客子系统或论坛,问答子系统,那么 Wordpress 可以作为博客模块使用。而
- 对于一般性的展示型网站,用 Wordpress 和 Hugo 都不合适。因为它们都设计为对发布友好。而且 Wordpress 使用
- PHP 和 Mysql,这增加了管理成本,从而必须配置Nginx, MySQL, PHP 等一系列工具,而且往往有版本兼容性问题。这适合有更高需求的运营者。
- 于是,我选择了 html 模板;但是当你需要做一个企业网站之后,很快,你就会需要做另一个。html 的弱点
- 就很快显现:很弱的模块化能力,可重用能力。
- Wordpress, Hugo 的特点是,通过同时提供美观的主题,网站运营者只需要“发表文章”即可。而小型企业网站
- 内容不多,更新频率低,而不同的企业往往需要与众不同的主题。
- 可以认为,企业官网模板需要一个简单的页面布局,以发表主题为主。
- graff 就应运而生了。
- graff 其实是一个标准(或原则)下的一个实现。这个标准定义如下:
- 1. 由模板生成所有 html 网页,通过直接编辑模板文件更新。
- 不使用后台系统,不使用动态语言及数据库
- 2. 支持更换主题。
- 3. 提供主题开发的详细文档
- 4. 一个实现不能提供过多功能。
- 有博客,论坛等需求的,博客,论坛建议由其他产品作为子系统提供。
- 5. 首次接触的技术人员必须能够在 5 分钟内掌握。
- # Question
- Once upon a time i was planning to build a website for my company when i faced
- a problem is that i had to make a choice from so many candidates. while in my opinion
- each of them have its problems.
- Lets see what's the point of a business homepage. some introduction pages, contacts.
- about us, career and hires. there may be a blog or/and forum for some bigger ones.
- - Wordpress. WP is one of the most famous and popular tools to build a homepage. most
- of the time it suits for building a blog. its dynamic fundations and many dependencies
- makes it more complicated for a simple homepage.
- - Hugo. Hugo is simpler than Wordpress, but it is also suit for blog, the real writer.
- but not for a business homepage.
- Then, what for a business homepage? Both Wordpress and Hugo does more efforts on article
- or post. It encourages users to download theme from some its support providers.
- but the business tools exactly the opposite: it should encourage user to create kinds of
- themes, the 'article' or 'post' is always easy.
- So, this is where graff comes.
|