Welcome Guest, Not a member yet? Register   Sign In
installation suggestion
#11

[eluser]Johan André[/eluser]
[quote author="timaksu" date="1247666715"]
Quote:It works fine, but basically you don’t need it, and alot of the times I just edit the files directly instead.
no, i dont need it. non-developers however, do.


Smile[/quote]

I understand that you'll need a installation process for non-developers when you distribute your application, but installing and configurating the framework should not be needed since non-developers won't know what to do with it anyway...
#12

[eluser]timaksu[/eluser]
[quote author="Johan André" date="1247685507"][quote author="timaksu" date="1247666715"]
Quote:It works fine, but basically you don’t need it, and alot of the times I just edit the files directly instead.
no, i dont need it. non-developers however, do.


Smile[/quote]

I understand that you'll need a installation process for non-developers when you distribute your application, but installing and configurating the framework should not be needed since non-developers won't know what to do with it anyway...[/quote]

i really dont think we're on the same page here. non-developers would need an installer more than anyone else. it'd get their databases setup, config file configured correctly, and create any default database entries (such as a default user for the administration who's name , email and password would be configured through the setup procedure).

or are you suggesting that this is what non-developers won't know how to use..? again, refering back to PHPBB, its setup procedure is very simple and everyone (including the non-developers) can easily enter database information, the base URL, etc...

im sure everyone can fill out a form that requests the above information. not everyone can go through source code's and to edit in the correct information though. thats the point im trying to make, and thats why i am suggesting we should create a helper class to help developers write the code for this sort of installation/setup page.

i didnt think i was that bad at explaining something Smile
#13

[eluser]Michael Wales[/eluser]
The problem is, CodeIgniter has no idea what you are going to develop. How do we possibly assist you in creating an installer for it?

The DBForge class is there, the only thing I can think of would be a few methods added to the Config class that will actually let you write directly into the file - that's really the only piece that is missing.

Everything else you would have to do yourself:
- Installation logic (when should installer be displayed)
- Validating server configuration (will your app work on this server)
- Calling the DBForge class to build your database schema
- Building the controllers/models/view to display an interactive form to the user for appropriate information and acting upon that information
- Validating installation completion
- Cleanup of installation files / security post-installation

These are all very application-specific processes, it would be impossible for a framework to do much to assist in this process without knowing what you are developing.
#14

[eluser]Collb[/eluser]
Here's an installer for codeigniter apps:

https://github.com/collb/codeigniter-ins...all/master
https://github.com/collb/codeigniter-installer




Theme © iAndrew 2016 - Forum software by © MyBB