Raised This Month: $32 Target: $400
 8% 

View Poll Results: Where are you running the Webpanel ?
Shared Webhosting with CLI (SSH) Access 5 4.63%
Shared Webhosting without CLI Access 6 5.56%
Linux Server 69 63.89%
Windows Server 14 12.96%
Windows Desktop (using XAMPP / WAMP / ...) 14 12.96%
Voters: 108. You may not vote on this poll

[POLL] Framework Change for the Webpanel


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 04-19-2015 , 14:36   [POLL] Framework Change for the Webpanel
Reply With Quote #1

The current framework of the WebPanel (Codeigniter v2.x) is no longer maintained by the original authors and it has a few bugs that have not been fixed.

Codeigniter v3.0 has been released, by the British Columbia Institute of Technology.
But upgrading to 3.0 is quite difficult and would require most users to reinstall the webpanel. (because its easier and faster).

Another option would be to switch to the laravel framework.
This framework has got a few advantages:
* (CLI) installer and updater included
* Routing is more flexible
* Easier to add new features
* Possible to add a plugin architecture
But you need to have CLI access to get all the laravel features.
(It might be possible to put the webpanel an all requirements into a docker container, that can run on your desktop machine)

To be able to make a choice I need some more information.
Please vote at the poll and tell me your opinion about the framework change / upgrade
If you are running the webpanel on multiple machines, please vote for your production machine and mention any other hosting option you are using in a post
__________________

Last edited by Arrow768; 04-19-2015 at 15:41.
Arrow768 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-19-2015 , 18:09   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #2

this would "Only" speed up the webpanel speed? or would it "actually" change performance within the server? and if so would that be less lagg within the server when having 30 ppl or load the store faster as you do !shop or goto ur inventory?

would be nice to ask why as for everything already being pretty sweet as it is?


oh and for smartasses like me this? Shared Webhosting with CLI (SSH) Access
or windows / linux server?

im pretty sure Shared Webhosting with CLI (SSH) Access is hosted on either a linux or windows server. or is there some OS called webhosting too now? :>

Last edited by Robin955; 04-19-2015 at 18:12.
Robin955 is offline
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 04-19-2015 , 19:48   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #3

CI 2.1 has been released in 2011. So the technology its based on is outdated and wont be supported anymore at some point.
No matter which option I am going to select, the current webpanel will be supported until the new version works properly

There will be most likely performance improvements in the webpanel, but it wont effect the server.

The difference between shared hosting with cli access and a linux server can be significant
On a linux server you usually have full root access.
A shard hosting with ssh access is usually locked down and some required commands might not be available.
__________________
Arrow768 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-20-2015 , 08:25   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #4

Quote:
Originally Posted by Arrow768 View Post
But you need to have CLI access to get all the laravel features.
Sounds to be a requirement which would cause a lot of PEBCAK issues.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 04-21-2015 , 04:31   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #5

Installing the new WebPanel would be as simple as running these commands

On Linux:
Code:
cd DIR_WHERE_IT_SHOULD_BE_INSTALLED
git clone LINK_TO_GITHUB
php composer.phar install
php artisan migrate --force
On Windows:
You enter the same commands, but you have to add the dir of the php.exe and the git.exe to the path variable before you can run the commands.

Without CLI Access:
* Download a archive with all the dependencies.
* Upload it to the webspace
* Import a db dump.
But there are a few problems:
* Automatic updating of the WebPanel and the DB is not possible (I might be able to add automatic updating of the db)
* A archive with the dependencies is required (they are not commited to github; But that could be provided in the release thread)
* A mysql dump is required (the db is stored in php files --> So the system is not fixed on one db type)

Another Alternative would be to provide a docker container that contains the webpanel and all requirements.
__________________

Last edited by Arrow768; 04-21-2015 at 04:55.
Arrow768 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-21-2015 , 07:03   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #6

using the cmd? to install

Last edited by Robin955; 04-21-2015 at 07:03.
Robin955 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-21-2015 , 08:30   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #7

Quote:
Originally Posted by Arrow768 View Post
Installing the new WebPanel would be as simple as running these commands
I didn't doubt that it would be simple (for some people) to do, however:

The more advanced requirements you have, the more questions and issues you will get from the public who cannot handle it on their own.

Quote:
Originally Posted by Arrow768 View Post
Another Alternative would be to provide a docker container that contains the webpanel and all requirements.
While looking through this (Store!) forum, this way seems to be the best one for most.

Unless you include it all, there will be a million of those "where do I find the command line in my web hosting?" and similar questions.


Quote:
Originally Posted by Robin955 View Post
using the cmd? to install
Eh, are you sober?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-21-2015 , 10:15   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #8

no i just got no clue what this would mean annyway then for "windows"
cd DIR_WHERE_IT_SHOULD_BE_INSTALLED
git clone LINK_TO_GITHUB
php composer.phar install
php artisan migrate --force

ITS
working flawlessly (in my opinion)
very nice layout
easy to use
its fast (might depend on webhost)
install is copy paste the files over and connect to DB
and its stable
has error correcting for lows
and reedem code

just confused why bother when the improvement will make no significant or real improvement towards us noobs who simply has it and uses it for making stuff for the store, giving people items wich is what its made for. thats all.

changing install method will just make the forum
HELP! how to install or help or error installing etc
and the real improvements for changing webpanel like the post wants us to would be?

Last edited by Robin955; 04-21-2015 at 10:23.
Robin955 is offline
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 04-21-2015 , 13:42   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #9

@arne1288
I still have to check if thats possible and if that simplifies the installation.
(I have not worked with docker until now)

@Robin955
The reasons for the change are mentioned in the main thread, but I will go into more detail:

I have to invest quite some time to update the framework from 2.1.3 to 2.1.4 to 2.2 to 3.0 and then test if everything is working properly after each step.

Or I could choose to take a bit more time and rewrite it in a framework that:
* is currently one of the best frameworks
* offers regular updates
* has a included way to install / update (Writing an installer / updater would take me again quite some time)
* allows to install new features by editing a file and running a command
* simplifies development
* allows to use different db systems. (MySQL is no longer the only db system supported)
* makes debugging easier
* offers flexible routing
* makes it easy to implement templates (so you can change the design)

Running the commands on windows:
Of course you have to run the commands in cmd ? - Where else would you run them on windows ?


Well about increased support:
* There are currently alot of support requests of people unable to install the proper db version
** There are even people hitting (db) problems that have been resolved two years ago
* If someone is running his own server (which everyone is doing accroding to the poll) then he should be able to run 4 commands on this server
** If someone who is running his own server is unable to enter 4 commands, he shouldnt be running a server. (I just say security)
* If a docker container is not ideal, another option would be to ship a preconfigured wamp/xampp server
__________________
Arrow768 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-21-2015 , 20:55   Re: [POLL] Framework Change for the Webpanel
Reply With Quote #10

Sure but remember

by today you can
Reload items in the server after adding a new item in the webpanel, even with store 1.1 alpha
you can gift items to others via webpanel, wich alpha 1.1 modded and 1.2 beta (Both)
make items etc and put them in each category they belong.
reedem codes that reads ur steam ID and gives you the credits instantly
you can give credits via the panel,
you can remove items from players.

and i dont see mysql databases has anything to do with installing webpanel since you still need to give same connection information.
i dont know what you plan on adding to the panel that is not mentioned above in the order of needing a better debugging than you already have. etc.

i wont stop you obviously, but i wonder, did annyone request this? got a feeling it was one specific person =)

Last edited by Robin955; 04-21-2015 at 20:57.
Robin955 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode