Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomshaw/zend-doctrine-demonstration
A Zend Framework 1.11.11 / Doctrine 1.2 sample application.
https://github.com/tomshaw/zend-doctrine-demonstration
Last synced: 11 days ago
JSON representation
A Zend Framework 1.11.11 / Doctrine 1.2 sample application.
- Host: GitHub
- URL: https://github.com/tomshaw/zend-doctrine-demonstration
- Owner: tomshaw
- Created: 2013-01-01T03:27:20.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T00:49:40.000Z (over 2 years ago)
- Last Synced: 2024-04-14T04:44:29.323Z (7 months ago)
- Language: PHP
- Size: 528 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Introduction
This is a simple project developed to learn how to incorporate Doctrine ORM into a Zend Framework, Zend Tool created application. The application demonstrates some of Doctrines most basic concepts including, creating successful YAML schema files, and one-to-one, one-to-many, and many-to-many CRUD operations.
Immediate goals of the application besides learning how to use Doctrine, were to ensure that result sets could be easily manipulated with Zend Form, Zend Paginator, modules that you would typically interact with in a Zend Framework daily work flow.
# Requirements
This application was developed and tested using [PHP 5.4](http://www.php.net), [Zend Framework 1.11.11](http://framework.zend.com) and an [Doctrine 1.2.0](http://www.doctrine-project.org/).
# Deploying
You will need to follow the official Zend Framework guidelines on creating an application including creating an entry in your servers hosts file and defining an Apache virtual host configuration entry that points to the applications public root directory. Refer to the docs directory for further information. To build the database you will need to use the Doctrine Command Line Interface script located in the application/scripts directory.
To get a list of commands:
doctrine
To build the database issue this command:
doctrine build-all
To insert the default data, read from data yaml file.
doctrine load-data
To dump the data to the data fixture yaml file.
doctrine dump-data## License
(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.