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

[eluser]timaksu[/eluser]
maybe you guys could create an "install" helper which helps you create something similar to the installation screen you get when your "installing" phpbb etc. it'd give a user friendly way of editing the base URL, database settings etc with the additional possibility to give the scripter the power to include custom screens (for example, to set up your administrator account).

no idea how it'd be done, so thats why im putting it out to you guys to think it over. i just figured we needed an easier way to get the script running thats all. to "intall" an application, i need to edit all the database settings and baseURL's (twice - both on codeigniter and on the install script which is not a part of the application and is deleted after) and then run the install script. its easy for *me* but for those who dont completely understand..it can be hard Smile
#2

[eluser]skunkbad[/eluser]
I'd think that the average CI user can install CI blindfolded, with both hands tied behind their back.
#3

[eluser]timaksu[/eluser]
your missing the point. it wont be targeted at us (the developers) but it'll be used to help others install their scripts. im not going to go into the benifits of an install script because pretty much all successful applications have it (phpbb, joomla, wordpress, list goes on and on). yet codeigniter doesnt really give the average php scripter the power to create these install scripts. Smile
#4

[eluser]Iván Argulo[/eluser]
There is no comparison between these examples you give and CodeIgniter.

All the apps you mention are ready-to-use applications, CodeIgniter is a framework for developers, to develop custom applications...

If a php scripter, as you call it, can't install properly CodeIgniter, barely would develop something WITH CodeIgniter.

I mean, it's really worth the effort to create such an installer?
#5

[eluser]Johan André[/eluser]
I created a script (for my own personal use) to write the config.php and database.php.
It works fine, but basically you don't need it, and alot of the times I just edit the files directly instead.
#6

[eluser]timaksu[/eluser]
Quote:All the apps you mention are ready-to-use applications, CodeIgniter is a framework for developers, to develop custom applications…

err yes, i know. so your suggesting that codeigniter will never be used to create a "ready-to-use application"? lets say i make a phpbb clone with codeigniter. not for myself or some client, but as an opensource project, aiming to create an application that is "ready-to-use". those who are not developers will need a way of installing. giving them a list of instructions to tell them which parts of the source code they need edited isnt practicle

Quote:I created a script (for my own personal use) to write the config.php and database.php.

thats what this helper class would essentially do.

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
#7

[eluser]Iván Argulo[/eluser]
So you'll have to create your own installing system, because you'll need to create your tables, your files and directories. Having a "global installer" for CodeIgniter won't install YOUR application, it will just install CodeIgniter.

I think that Derek Allard has already done something like that, in BambooInvoce (if I'm not wrong).

Anyway, it's not so difficult to do that Wink
#8

[eluser]timaksu[/eluser]
going about editing the actual configs is whats throwing me off. i can go and study up on all that (fopen and stuff..?). i just figured it'd be a nice little addition to codeigniter is all.
#9

[eluser]Iván Argulo[/eluser]
[quote author="timaksu" date="1247668059"]going about editing the actual configs is whats throwing me off. i can go and study up on all that (fopen and stuff..?). i just figured it'd be a nice little addition to codeigniter is all.[/quote]

I'll try it in my next project Big Grin
#10

[eluser]timaksu[/eluser]
[quote author="Iván Argulo" date="1247670952"][quote author="timaksu" date="1247668059"]going about editing the actual configs is whats throwing me off. i can go and study up on all that (fopen and stuff..?). i just figured it'd be a nice little addition to codeigniter is all.[/quote]

I'll try it in my next project Big Grin[/quote]

nice. please keep me posted on that if you can Smile




Theme © iAndrew 2016 - Forum software by © MyBB