oSoc13 / tdt-Installer

an installer for The DataTank built at open Summer of code 2013
http://thedatatank.com
0 stars 0 forks source link

Question about javascript/ajax #5

Closed jenssegers closed 11 years ago

jenssegers commented 11 years ago

What is the advantage of using javascript/ajax for the installer. Would it not be easier to let "render" PHP everything? Or am I missing some cool functionality that requires ajax?

Poke @coreation

coreation commented 11 years ago

Right now everything is in PHP? Or am I missing something?

jenssegers commented 11 years ago

@coreation Check the scripts folder

dive-michiel commented 11 years ago

An installer without page refreshes, why not? That and live updates of things that are running (I'm thinking about composer for example, fetching and appending the composer logs)

coreation commented 11 years ago

I was typing the same answer so... :+1: (+1)

jenssegers commented 11 years ago

Seems like overkill for an installer. I think pages are reloaded atm, but I could be wrong.

coreation commented 11 years ago

I think so as well, but later on we could add ajax hooks that check using a "recheck" button that only checks that specific dependency no? Then it would be handy that there's already javascript checking the dependencies.

jenssegers commented 11 years ago

Still overkill for a one-time installer imo :)

@NtynMichiel Composer log viewing would be nice indeed, but other than that I don't see any point of using ajax for all pages.

pietercolpaert commented 11 years ago

@jenssegers :+1:

I'm really afraid of security issues as well btw.