[drupal-docs] PHP Template Best Practices should follow WordPress Docs example WAS:Re: New php snippets page

Roland Bryght Tanglao roland at bryght.com
Sat Jun 4 06:51:06 UTC 2005


Hi Liza:

Drupal is just as "easy" as those other systems you mention. In fact,  
PHP Template, the Drupal template language
Bryght (Bryght is hosted Drupal) supports is more flexible and easier  
than those other systems.

Instead of you figuring out how to pound your design through the  
square pegs that the starting point that the templating language  
defines, with PHP Template you basically
use your CSS/HTML design as a starting point and put the PHP Template  
stuff in, in other words reversed from the systems you are used to.

I've written an intro at:
http://support.bryght.com/articles/converting-css-html-design- 
phptemplate-introduction

And I agree that:
http://codex.wordpress.org/Designing_Headers

is fantastic

This is one of the best practices that I will be converting to Drupal  
as part of my role as "Drupal Docs Best Practices Coordinator" (along  
with Kieran)

If anybody has some best practices that they would like converted  
from WordPress (or any other system) or that they feel "Drupal should  
have one of those" or if somebody wants to write a best practice,  
please let us know on drupal.org or on this list!

Cheers!
--
...Roland Tanglao, Chief Blogging Officer, Bryght, www.bryght.com
HOSTED 'Web 2.0' websites for organizations and communities
+1 604 729 7924 Skype/AIM/iChat: rtanglao
  rolandtanglao.com UrbanVancouver.com
this email is: [ ] bloggable [x] ask first [ ] private


On 3-Jun-05, at 12:58 PM, Liza Sabater wrote:


> Hi Laura,
>
> I'd like to see a page where you use this. I unfortunately don't  
> get in
> which situation I should be using this. Please keep in mind that there
> may be a lot of designers out there who are not PHP literate BUT have
> hacked away at templates elsewhere.
>
> I am CSS-heavy and have learned to hack away at Textpattern,
> MovableType and WordPress templates thanks to their metalanguages. At
> Drupal, I am lost. So for the sake of designers like me, it would be
> awesome to say :
>
> DO YOU WANT TO CREATE __________?
> [ Insert an Image and
> summary of coding or design challenge
> Explain on what we would be using it
> Links and/or snapshots to live samples on the web]
>
>
> THIS IS HOW YOU DO IT:
> [ Proceed to the technical explanation ]
>
> Chris Messina offered a link to the best example of this kind of
> tutorial. He pointed to this document developed for WordPress :
>
> http://codex.wordpress.org/Designing_Headers
>
> Even if it is not as detailed, I really recommend we follow this model
> as Best Practices in tutorial documentation.
>
> Best,
> liza
>
>
> On Jun 03 2005, at 03:39 PM, Laura Scott wrote:
>
>
>
>> FYI, I created a new php snippets page at http://drupal.org/node/ 
>> 24258
>> .
>>
>>  I hope I didn't break protocol on this. I had the option, and the
>> issue arose for me today, so I thought I'd share the info for others.
>>
>>  Laura
>>
>>  --
>> [ drupal-docs | http://lists.drupal.org/listinfo/drupal-docs ]
>>
>>
>>
> Liza Sabater
> Blog Publisher
> www.culturekitchen.com
>
> AIM - cultkitdiva
> SKYPE - lizasabater
> -- 
> [ drupal-docs | http://lists.drupal.org/listinfo/drupal-docs ]
>
>





More information about the drupal-docs mailing list