Skip to content

A full php database modeling system based on ActiveRecord. Includes a basic Model class as well as a Factory, ModelMapper, DatabaseManager and logging.

Notifications You must be signed in to change notification settings

mindtonic/ShabdaModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=Shabda Model

A set of php5 Model Mapping classes based on Active Record and extracted from the Shabda Content Management System.

=To Test Shabda Model

* Download the classes
* Create a Database (I call mine shabda_model)
* Set the database connection information in config.php
* Import the quotes.sql data into your database
* load up index.php in your browser

=Class Overview

MODEL

The main Model class.  All of your database models will inherit from this class.

DATABASE MANAGER

Handles the database connection and is a single conduit for all queries.

MODEL MAPPER

Stores and clones new blank models when they are needed.

FACTORY

Handles all of the Find functionality for locating Models.

OBSERVER

Different classes for observing and recording the activity of the system.

=Documentation

Further documentation will be coming soon as well as a set of tests to cover the code.

Jay Sanders
mindtonic (at) gmail (dot) com

About

A full php database modeling system based on ActiveRecord. Includes a basic Model class as well as a Factory, ModelMapper, DatabaseManager and logging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages