You are not logged in Log in Join
You are here: Home » Members » k_vertigo » ShortStories » ZopeNoNos » FrontPage

Log in
Name

Password

 
 

History for FrontPage

??changed:
-
Welcome

  This Wiki is dedicated to things you *don't* want to do in Zope, 
  because doing so could possible start the Spanish Inquisition.

  Feel Free to add your own.

  
  Thou Shalt Not

    - return mutable attributes from a method, for fear of security,
      return copies if you must return a mutable object.

    - untar or install ZOPE as *root* or run ZOPE as *root* without -u 

    - use aq_base() unless much wisdom you have

    - iterate over a large set of objects repeatedly if you are returning a
     result set.  Its usually better to keep your information in a ZCatalog and 
     query that.  This way Catalog objects are only cached.

    - if you plan on having hundreds of objects in a folder, DO NOT use a standard 
       Folder or ObjectManager.  Please look at using BTreeFolders.

    - start win32 zope as a service unless you plan to go into production.  its very
      difficult to debug zope when its running as a service.  run it manually and then when
       you are ready to go into production flip the service switch.
 
    - if you are starting zope from the command line inside of win32.  you
       must type start.bat in quotes.  i.e. "start.bat"::

            Ah. You are getting bitten by a command name collision. "start" will start a new
       a command prompt, which is what you see, butnot what you want to happen. You
       need to run the "start.bat" command file. The most reliable way to do this is to 
       double-click it in the explorer. Try that, it should solve your problem.

    - never register a persistent object with a transaction via subclassing TM, use
       a TM subclass as a volatile attribute. 
   

  - RecentChanges

  This is a ZWiki web. See the ZWikiLinks and the
  HelpPage for more information about ZWiki.