|
The reason for this - the first page of the install could be used to select a language (and maybe a theme), without necessarily having a db connection, preferences or users for that matter.
|
|
-If we can build the kernel to support these functions, without a database or users, it would be perfect for the installer and provide and even more stable kernel for Tikipro. If we can present smarty templates, in different languages, different themes, default preferences, no database, no users - we will have a rock solid foundation to build clyde upon.
|
+If we can build the kernel to support these functions, without a database or users, it would be perfect for the installer and provide and even more stable kernel for bitweaver. If we can present smarty templates, in different languages, different themes, default preferences, no database, no users - we will have a rock solid foundation to build ReleaseOne upon. |
|
I have suggested we move AdoDB and Smarty to utils/, as they are 3rd party code and libraries and should be kept seperately for updating seperately.
|
|
!The Future
|
-This is the future of Tikipro (as I see it anyway). If you have ideas for fundamental changes, this is the place to raise them, and submit if majority agrees.
|
+This is the future of bitweaver (as I see it anyway). If you have ideas for fundamental changes, this is the place to raise them, and submit if majority agrees. |
|
-Visit [http://www.tikipro.org/forums/viewforum.php?f=10|the forum] and have your say.
|
+Visit [http://www.bitweaver.org/forums/viewforum.php?f=10|the forum] and have your say. |
|
!Preflight Sequence of Initialisation
|
-!!What to Check
|
+Packages should be able to register check required for them to work for any of the items below. Registered checks for package version dependencies, etc should be utilised. |
+ |
+!!System Requirements Check |
+!!!Preflight library functions |
+!!!Writable temp and storage directories |
!!!PHP.INI settings
|
The code here should __ini_get__ settings and compare with recommended values. If they do not meet recommended values, either (to be decided) set dynamically or advise to change in the PHP.INI file.
|
-!!PHP Libraries
|
+!!!PHP Libraries |
Check to see if suitable libraries and versions are available, such as GD, ImageMagick, LDAP, MySQL, PgSQL - possible even AdoDB and Smarty (I've noticed FC2 now comes with an AdoDB rpm).
|
-!!Database Connection
|
+!!!Compatibility Functions |
+The PHPCompat library could be used for older versions of PHP to allow functionality with checks for function existence. |
+!!!AdoDB, Smarty and other required 3rd party libraries |
+Rather than hardcode includes, we should use the library path to find these libraries. This will allow system wide references to a single library install. |
+ |
+!!Install checks |
+Check for essential packages such as kernel, users, themes, langs and util. Possibly include package version checking. |
+Check for suitable libraries (under /util/) and versioning. |
+Check for temp folder r/w access (templates_c, cache). |
+ |
+!!Administrator User |
+Is an admin set? Do we need to use admin password to continue installation. |
+!!!Database Connection |
Using TikiDB, check for valid database settings/URI and connection.
|
-!!Database Tables
|
+The installer and preflight will probably have to do different types of checks - at least during the first install. Perhaps the checks on revisiting the installer can be the same, i.e. if the file config_inc.php is already present. |
+!!!Database Tables |
Check if core database tables exists, such as users_users (for admin account), tiki_preferences (for preferences), etc. |
+ |
+!!Initialisation settings |
+Check if important things are set, such as storage path. |
+ |
+!!Package selection |
+What packages are installed / are they working? can we check that? is it worth checking? |
+ |