J4 Issue ? ?
avatar PhilETaylor
PhilETaylor
3 May 2017

Joomla 4 would be a great time to seed the initial state of Joomla with PHP instead of a SQL dump.

Advantages

  • Set published timestamps that are recent
  • Set correct author id on items based on the random user id generated
  • Greater control over the content
  • Using the Joomla Database API to insert data will mean less relying on making non-mysql sql dumps
  • etc...

Discuss.

avatar PhilETaylor PhilETaylor - open - 3 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Category Feature Request SQL
avatar brianteeman
brianteeman - comment - 3 May 2017

Set correct author id on items based on the random user id generated

This is already done in 3.7 isnt it?

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Status New Discussion
avatar PhilETaylor
PhilETaylor - comment - 3 May 2017

maybe, but this is about 4, and moving to a PHP seed which would have allowed that bug to be resolved in seconds instead of years

avatar elkuku
elkuku - comment - 4 May 2017

BIG ?
Might be a cool GSOC project ?

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 21 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Aug 2018
Title
[4.0RFC] Move away from SQL to PHP Seeding of initial database states
[4.0] [RFC] Move away from SQL to PHP Seeding of initial database states
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 21 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Aug 2018
avatar brianteeman brianteeman - change - 28 Aug 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 28 Aug 2018
avatar PhilETaylor PhilETaylor - change - 10 Feb 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-02-10 21:31:37
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 10 Feb 2019

Add a Comment

Login with GitHub to post a comment