[documentation] PHP snippets & coding standards
Kieran Lal
kieran at civicspacelabs.org
Sat May 6 18:38:26 UTC 2006
On May 6, 2006, at 11:10 AM, Heine Deelstra wrote:
> On Sat, 06 May 2006 18:35:32 +0200, Laura Scott <laura at pingv.com>
> wrote:
>
>> [snip]
>> I would suggest that changes be noted (e.g., "This snippet was
>> revised 2006/05/06") to alert users who browse by a snippet
>> they've used. (Sort of like how people can see if a module has
>> been updated.)
>
> Very good idea Laura!
>
> When modifying snippets (now and then one or two) I'll also look
> for db_queries bypassing node_access.
Another approach would be to require snippets to be checked into
Drupal CVS and then pulling them into the page from CVS. This is
currently done with Drupal install instructions.
This would allow people to manage the snippets and see revisions.
Kieran
>
> Heine
> --
> Pending work: http://drupal.org/project/issues/documentation/
> List archives: http://lists.drupal.org/pipermail/documentation/
>
More information about the documentation
mailing list