Web Installer
From Aikiframework wiki
Web installer must have a main menu with this options:
|
- 0. Welcome message
- 1. Check Requirements
- 2. Set connection
- 3. Create Database
- 4. More configuration (optional)
- 5. Load examples (optional)
0. Welcome A short introduction with links..
1. Requirements A brief list of them with a indicator if passed (for example a green sign for ok, red for nok). Step 0 and 1 can be done in the same page if aiki have few requirements.
2. Database connections. Ask for server, database, user, and password, tables prefix, (99% of web hosting services don't give access to SQL root, so..)
Between step 2 and 3 two thing must be done:
- test connection
- write config file.
3. Create Database
4. More configuration (optional)
5. Load example (optional): A example (or two) is the best help for future site administrators, or developers.
Advantages
- Simply / Robust: A process that doesn't need copy, move or create files or directory can't fails.
- Adequate for remote hosting installation.
- Platform independent.
- More easy development: source files = live files
- Better installation on desktop and system: we can concentrate all efforts in desktop links, apache configuration, etc.
- Installation, Update and upgrade can support each other.
related improvements
- save all configurations in database allows multi-site config.
- uploader-install.
- repair utility.
Changes needed
- move (again) source files for aiki (sorry)
- change philosophy: the settings should be stored in the database (except connection data).
- touch install.php
Test
I made some test, changing install.php and the change is possible and easy (in aiki terms). But we need Steven for modify installation script.

