Exercises, examples and other material relating to training module S154. This topic is presented on public course
MySQL
Data will be at the heart of your applications. Whilst it is possible to alter data structures later on without losing data, it is much better to get your design right at the start. This module covers the principles of analysing your database-destined data and designing a good structure for it.
Related technical and longer articles
When to denormalise your MySQL dataMapping database rows to objects in a classReplicating servers in MySQL - Why and howExample - PHP form, Image upload. Store in MySQL database. Retrieve.Many to many table mapping (Pivot tables)
Examples from our training material
authors.tab | Author table |
books.tab | Book table |
docdata.sql | Data for design / complex join example |
docjoin.sql | Select for design / complex join example |
docs.sql | Database and table setup for design / complex join example |
just.php | Skeleton application - design / complex join example |
pivot.sql | SQL to load book, author and pivot tables |
pivots.tab | Pivot table |
sql | Table Design - Restaurants / Category / Line item |
tabled.php | Display normalised MySQL tables on a web page |
Pictures
We offer MySQL courses as well ...
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
Topics covered in this module
Interfacing an SQL database to applications.
Interfacing to SQL via PHP.
Other Clients.
Relational database design.
Database normalisation.
Principles of a relational database.
CoddÕs Rules for a Truly Relational Database System.
Hiding passwords in client programs.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Ruby,
Lua,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.