PHP是否需要为CMS的可安装模板(如Wordpress,Joomla或Drupal)提供良好的知识? [英] Is good knowledge of PHP needed to make an installable template for CMS's like Wordpress, Joomla, or Drupal?

查看:143
本文介绍了PHP是否需要为CMS的可安装模板(如Wordpress,Joomla或Drupal)提供良好的知识?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PHP是否需要为Wordpress,Joomla,Drupal等CMS制作一个可安装的模板?



还是对XHTML和CSS有很好的了解?从我的经验 - 我有很多与Wordpress,一些与Joomla - 我会推荐至少一些

em> php知识和对底层代码库的理解。对于视觉样式,只要你围绕PHP工作,HTML / CSS知识就足够了,但是当被要求改变模板的基本特征或实现新的函数时,你会非常有限。



这取决于你想要提供什么。如果你只满足于提供风格的自定义,你可能没有HTML,CSS和一点PHP。模板中使用的基本PHP函数很容易理解。



但是功能自定义,例如实现某些帖子,标签,类别,评论等的自定义行为需要PHP的良好的知识。如果你想提高你的市场价值,进入Wordpress Codex和Joomla或Drupal肯定是一个好主意。



在旁注中,由于许多膨胀和低代码质量,我个人不喜欢Wordpress及其API。我最近寻找一个更简约的博客平台(SO问题 此处 )。我接受的答案, Habari 是一个非常灵活的,即使它有一些粗糙的边缘在这里和那里和领先的0的版本号有时表明,优雅的平台。它需要一些理解PHP 5来实现它的模板功能,但一旦你得到你的头,它是无与伦比的灵活性。它可能不适合你,因为我知道你的目标是流行的平台来工作(这是完全正常的),但已经提到它。


Is good knowledge of PHP needed to make an installable template for CMS like Wordpress, Joomla, Drupal?

Or is good knowledge of XHTML and CSS enough?

解决方案

From my experience - I have a lot with Wordpress, and some with Joomla - I would recommend at least some PHP knowledge and understanding of the underlying code base. For visual styling, HTML/CSS knowledge is enough as long as you work "around" the PHP, but you will be extremely limited when asked to change fundamental characteristics of the template, or implement new functions.

It depends on what you want to offer really. If you are content with offering stylistic customizations only, you may be fine with HTML, CSS and a bit of PHP. The basic PHP functions used in the templates are easy to understand.

But functional customizations, like implementing custom behaviour for certain posts, tags, categories, comments etc., require good knowledge in PHP. If you want to increase your market value, getting into the Wordpress Codex and either Joomla or Drupal is certainly a good idea.

On a side note, I personally have come to dislike Wordpress and its API due to lots of bloat and low code quality. I looked for a more minimalistic blogging platform recently (SO question here). The answer I accepted, Habari, is a marvellously flexible and, even though it has some rough edges here and there and the leading "0" in the version number sometimes shows, elegant platform. It takes some understanding of PHP 5 to get into its templating capabilities, but once you get your head around it, it is unbeatably flexible. It may not be for you, as I know you are targeting popular platforms to get work (which is perfectly fine.) but to have mentioned it.

这篇关于PHP是否需要为CMS的可安装模板(如Wordpress,Joomla或Drupal)提供良好的知识?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆