Hauptseite: Unterschied zwischen den Versionen

Aus CodeCoupler Wiki
Zur Navigation springen Zur Suche springen
Tm (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Tm (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
* jQuery UI 1.8.21
* jQuery UI 1.8.21
* jsTree Pre 1.0 Fix 1
* jsTree Pre 1.0 Fix 1
== Some Basic Rules ==
# All functions of libaries and models should fire an exception if something goes wrong. Do not return "false" or something similar to represent an error.
# All database-queries should be executed via "dbquery($query)". This helper-function provides a pattern for database queries including a correct exception handling. Read more here: [[Helper: dbquery]]
== Helper ==
* [[Helper: dbquery|dbquery]]:<br />Pattern for database queries.


== Model ==
== Model ==

Version vom 16. August 2012, 15:42 Uhr

Benutzte Bibliotheken

  • CodeIgniter 2.1.1
  • jQuery 1.7.2
  • jQuery UI 1.8.21
  • jsTree Pre 1.0 Fix 1

Some Basic Rules

  1. All functions of libaries and models should fire an exception if something goes wrong. Do not return "false" or something similar to represent an error.
  2. All database-queries should be executed via "dbquery($query)". This helper-function provides a pattern for database queries including a correct exception handling. Read more here: Helper: dbquery

Helper

  • dbquery:
    Pattern for database queries.

Model

  • Tree:
    Abstract class to build a model interacting with a table representing data in a hierachical structure.

Starthilfen