Changeset 12993


Ignore:
Timestamp:
22 May 2015, 10:39:19 (9 years ago)
Author:
Henrik Bettermann
Message:

First adjustments for the upcoming Ikoba User Handbook.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/doctests
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/app.txt

    r12988 r12993  
    1 :mod:`waeup.ikoba.app` -- central components for Ikoba
    2 ******************************************************
     1Central Components
     2******************
    33
    44.. :doctest:
     
    66
    77.. module:: waeup.ikoba.app
    8 
    9 .. class:: Company
    10 
    11   The main Ikoba application object is given with
    12   :class:`Company`. It provides the main containers as faculties,
    13   hostels, etc.
    14 
    15   .. attribute:: name
    16 
    17      A string. The name of a company.
    18 
    19   .. attribute:: faculties
    20 
    21      An arbitrary object containing "faculties". In the case of
    22      `Company` it is a container of type
    23      `waeup.ikoba.interfaces.IFacultiesContainer`.
    248
    259
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/authentication.txt

    r12988 r12993  
    1 Ikoba authentication
    2 *******************
     1Authentication
     2**************
    33
    44We need to protect most pieces of our portals from unauthenticated
     
    2424  >>> browser.handleErrors = False
    2525
    26 Creating users (principals)
    27 ===========================
     26Creating officers
     27=================
    2828
    2929Before we can login, we have to provide a user (``principal`` in Zope
     
    4242See ``userscontainer.txt`` for details about the UsersContainer we use here.
    4343
    44 Users and local roles
    45 =====================
     44Officers and local roles
     45========================
    4646
    4747Accounts also hold infos about local roles assigned to a user. In the
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/batchprocessing.txt

    r12991 r12993  
    1 :mod:`waeup.ikoba.utils.batching` -- Batch processing
    2 ****************************************************
     1Batch Processing
     2****************
    33
    44Batch processing is much more than pure data import.
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/batchprocessing_browser.txt

    r12991 r12993  
    1 Batch processing via browser
     1Batch Processing via Browser
    22****************************
    33
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/catalog.txt

    r12988 r12993  
    1 :mod:`waeup.ikoba.catalog` -- Cataloging support Ikoba
    2 ****************************************************
     1Cataloging Support
     2******************
    33
    44.. module:: waeup.ikoba.catalog
     
    1818------------------
    1919
    20 .. class:: IkobaQuery()
    21 
    22    .. attribute:: grok.implements(hurry.query.interfaces.IQuery)
    23 
    24    A `hurry.query.query.Query` compatible query that also supports
    25    retrival of plain ``Bree`` result sets as used inside a catalog.
    26 
    27    Like `hurry.query.query.Query` objects, `IkobaQuery` is some kind
    28    of a meta query or 'compound query' that can give the cataloged
    29    objects (or their int ids) matching one or more 'subqueries'.
    30 
    31    This way you can search for objects (or their int ids) that match
    32    several criteria at the same time. See ``examples`` section below.
    33 
    34    A singleton instance of this class is also available as global
    35    utility.
    36 
    37    .. method:: searchResults(query)
    38 
    39      Get the cataloged objects determined by ``query``.
    40 
    41    .. method:: apply(query)
    42 
    43      Get the list of int ids (a `BTree` result set) for objects
    44      determined by ``query``.
    45 
    46      The list of int ids is less expensive to compute than the
    47      complete search results and sufficient, for instance, when you
    48      only need the number of objects that match a query and not the
    49      objects themselves.
    50 
    51 Examples
    52 ========
    53 
    5420Getting a general query object
    55 ------------------------------
     21==============================
    5622
    5723We can get a IkobaQuery object by asking for an unnamed global utility
     
    6935
    7036Setting up a catalog and feeding it
    71 -----------------------------------
     37===================================
    7238
    7339    >>> from zope.catalog.interfaces import ICatalog
     
    148114
    149115Searching for result sets
    150 -------------------------
     116=========================
    151117
    152118Finally we can perform queries:
     
    198164
    199165Searching for objects
    200 ---------------------
     166=====================
    201167
    202168Very often we don't want to know the catalog-internal 'ids' of
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/datacenter.txt

    r12988 r12993  
    1 Ikoba Data Center
    2 ****************
     1Data Center
     2***********
    33
    44The Ikoba data center cares for managing CSV files and importing then.
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/helpers.txt

    r12990 r12993  
    1 :mod:`waeup.ikoba.utils.helpers` -- Helpers for Ikoba
    2 ***************************************************
     1Helpers for Ikoba
     2*****************
    33
    44.. module:: waeup.ikoba.utils.helpers
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/pages.txt

    r12991 r12993  
    55
    66Company
    7 ==========
     7=======
    88
    99We can watch universities in the browser.
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/permissions.txt

    r12988 r12993  
    1 Ikoba permissions and roles
    2 **************************
     1Permissions and Roles
     2*********************
    33
    44Permissions and roles used in a Ikoba portal.
     
    77.. :layer: waeup.ikoba.testing.IkobaUnitTestLayer
    88
    9 Convenience functions
     9Convenience Functions
    1010=====================
    1111
  • main/waeup.ikoba/trunk/src/waeup/ikoba/doctests/userscontainer.txt

    r12988 r12993  
    1 User container for the Ikoba
    2 ****************************
     1Users Container
     2***************
    33
    44.. :doctest:
Note: See TracChangeset for help on using the changeset viewer.