Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shannah/xftips-tutorial-easier-relationships
Tutorial for easier editing of relationships in Xataface
https://github.com/shannah/xftips-tutorial-easier-relationships
Last synced: 8 days ago
JSON representation
Tutorial for easier editing of relationships in Xataface
- Host: GitHub
- URL: https://github.com/shannah/xftips-tutorial-easier-relationships
- Owner: shannah
- Created: 2013-09-06T16:20:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-06T20:39:14.000Z (over 11 years ago)
- Last Synced: 2024-12-24T05:05:01.792Z (18 days ago)
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xataface-Tips Tutorial: Making Adding/Removing Related Records Easier
This repository provides the source code that accompanies [this blog post]http://xataface-tips.blogspot.ca/2013/09/making-addingremoving-related-records.html) It uses
branches for different versions of the app, each branch demonstrating a different way of using
relationships in a Xataface application.## Installation
1. Check out the branch you want to work with from Github.
2. Either copy or symlink a Xataface distribution as the "xataface" directory directly inside the app.
3. Make sure the templates_c directory is writable by the webserver.
4. Create an empty database for the app.
5. Copy the conf.db.ini-sample file to conf.db.ini and change the connection information to connect
to your database.
## Switching BranchesDifferent branches of this repo use different database structures. When you first run the app, it will
execute the update_1() method in the conf/Installer.php to create the tables of the database. Since
this will conflict for different branches, you should use a different database for each branch if you
are setting tests for each version simulataneously.