NoPic eZine
  
Home
Impressum/Imprint
Datenschutz/Policies
 
1.Issue 2006.06/1
 1.1.phpWebSite 1.0.0RC1 released
 1.2.Installing pWS 1.0.0rc1
 1.3.Running thru install
 1.4.First anonymous touch
 1.5.Exploring fallout surface inside
 1.6.Module substitution
 1.7.Directory Tree
 1.8.Database Tables
 1.9.ReadMe summary
   Access.txt
   bbcode.txt
   Cache_Lite.txt
   Categories.txt
   Clipboard.txt
   ControlPanel.txt
   Converting_Modules.txt
   Cookie.txt
   CREDITS.txt
   Database_Class.txt
   DB_Pager.txt
   Demographics.txt
   devdoc.modlayout.txt
   Developer_Rules.txt
   Editor.txt
   Forms.txt
   INSTALL.doc.txt
   Key.txt
   Known_Errors.txt
   Language.txt
   LICENSE.txt
   MiniAdmin.txt
   Mod_Rewrite.txt
   Module_Development.txt
   My_Page.txt
   README.doc.txt
   README.txt
   Related.txt
   Search.txt
   Settings_Class.txt
   SmartTags.txt
   Style_Format.txt
   template.txt
   Theme_Creation.txt
   Using_Javascript.txt
   Version.txt
   WYSIWYG.txt
 1.10.Using module WebPages
 1.11.Using module MenuManager
 1.12.Using webPages Editor
 1.13.Styling and Themes

    en

Developer_Rules.txt

1) Sessions should be at a minimum and removed from memory as soon as they are
   no longer in use.

2) Sessions should be hidden from the module developer. If your module is
   accessible by other developers, let them access information by using
   an instanced method. Keep track of your sessions separately. 0.9 - 0.10
   used this far too often.

3) Module developers should also not need to know the name of your
   GLOBAL variables.

4) Use the error class functionality. It makes it easier to debug your code.
   Do not allow most errors to be seen by the user. Deal with them internally
   by logging the errors and/or serving a non specific message to the user.

5) When making a database dump, make it generic. For example, KEY doesn't work
   in postgres. Postgres also ignores capitalization when creating db columns.
   Also, giving sizes to integers (e.g. INT(11)) doesn't working in MicrosoftSQL. 

6) When a user (not an admin) is entering ANY data, you should not
   allow html tags. Use the parseText function as anonymous. They
   should use BBCode or Wiki parsing only.

7) Always parse user submitted information. Don't let bad information
   make it to the database query. If it does and it returns a negative
   result, recover gracefully. Let me repeat, parse ALL user
   data. Every GET, every POST.

8) Use the database class when you can. It has security measures built
   in. If you use a straight query, you are expected to scour any user
   data that makes it to the query string. Very important.

    en

Copyright © 2006, VbID Verlagsbüro GmbH
pWS modules dcP, dcT, dc4db, Copyright © 2006, VbID Verlagsbüro GmbH
This Site is powered by phpWebSite © The Web Technology Group, Appalachian State University