Maxxus PRO SPK-23 Spezifikationen Seite 10

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 893
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 9
PHP AND MYSQL WEB DEVELOPMENT
x
Returning Values from Functions ......................................................141
Code Blocks ..................................................................................142
Recursion ............................................................................................143
Further Reading ..................................................................................145
Next ....................................................................................................145
6 Object-Oriented PHP 147
Object-Oriented Concepts ..................................................................148
Classes and Objects ......................................................................148
Polymorphism ................................................................................149
Inheritance ....................................................................................150
Creating Classes, Attributes, Operations in PHP ..............................150
Structure of a Class ......................................................................151
Constructors ..................................................................................151
Instantiation ........................................................................................152
Using Class Attributes ........................................................................152
Calling Class Operations ....................................................................154
Implementing Inheritance in PHP ......................................................155
Overriding ......................................................................................156
Multiple Inheritance ......................................................................157
Designing Classes ..............................................................................158
Writing the Code for Your Class ........................................................159
Next ....................................................................................................168
PART II Using MySQL 169
7 Designing Your Web Database 171
Relational Database Concepts ............................................................172
Tables ............................................................................................173
Columns ........................................................................................173
Rows ..............................................................................................173
Values ............................................................................................173
Keys ..............................................................................................173
Schemas ........................................................................................175
Relationships ................................................................................175
How to Design Your Web Database ....................................................176
Think About the Real World Objects You Are Modeling ............176
Avoid Storing Redundant Data ....................................................176
Use Atomic Column Values ..........................................................178
Choose Sensible Keys ..................................................................179
Think About the Questions You Want to Ask the Database ..........179
Avoid Designs with Many Empty Attributes ................................179
Summary of Table Types ..............................................................180
00 7842 FM 3/6/01 3:38 PM Page x
Seitenansicht 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 892 893

Kommentare zu diesen Handbüchern

Keine Kommentare