资 源 简 介
Porte has been design to save time and simplify the development of relational database applications written in PHP.
Tired of writting repetitive sql to persist your object in the database, Porte will greatly simplify your life. Porte can retrieve, search and save object without a single line of Sql. We worked hard to deliver a framework natural and easy to use without being over intrusive.
A design goal of Porte was to avoid any external configuration (being XML or others). In its simplest form, create your PHP classes which extends "PorteBase" class, defined the "meta_fields" array and your ready to go. Getter and setter methods as well as a lot more of goodies will be automatically derived from the "meta_fields" settings including associations (many-to-many,one-to-many,one-to-one), events, table migration, hierarchy (nested set model), ordering and validation.
To some extends, Porte is inspired by Martin Fowler concept of Activ