• 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter 4 Playground

#37
(12-05-2019, 06:07 AM)John_Betong Wrote: Another hurdle completed Smile

I eventually managed to import the PlayGround into my ci4-strict application.

Once the original PlayGround tables were created they were exported as SQL files and MySqli used to  create the DataBase because I could not find any CI4 methods.

When the DataBase was created the tables were created and populated from the SQL scripts.

A SQL =  "DROP DATABASE CI4"  was used to ensure the database and tables were created from scratch.

You could run the migrations from the cli if you have shell access to the server. It was intended as something to play in for a local environment to learn from, not really something to be live on servers so installation doesn't cover all of those features Smile The real benefit, we feel, is from exploring the code and the comments. Our aim is to show how to do things in different ways in the code. For example, the "Heroes" section of that page is handled through arrays returned from the database calls, while the "Dungeons" section uses Entity instances.

(12-05-2019, 06:07 AM)John_Betong Wrote: Now the tables are created I am curious to know what supposed to happen when links are clicked and also the image source for "pirate.png" and "ursula.png".

Nothing yet - it's still very much early days for the playground. We are adding to it as we have time. My next intentions are to add forms for each of those. One using simple HTML/PHP for the form, and the other using the form helper objects. After that - not sure yet, but ideas are always welcome.
Reply


Messages In This Thread
CodeIgniter 4 Playground - by jlp - 11-25-2019, 09:53 AM
RE: CodeIgniter 4 Playground - by MGatner - 11-25-2019, 10:54 AM
RE: CodeIgniter 4 Playground - by salahAit - 11-25-2019, 12:44 PM
RE: CodeIgniter 4 Playground - by Poetawd - 11-25-2019, 03:55 PM
RE: CodeIgniter 4 Playground - by Avega Soft - 11-25-2019, 05:56 PM
RE: CodeIgniter 4 Playground - by msjagan - 11-25-2019, 08:51 PM
RE: CodeIgniter 4 Playground - by php_rocs - 11-25-2019, 09:02 PM
RE: CodeIgniter 4 Playground - by Bessalitskykh - 11-26-2019, 07:43 AM
RE: CodeIgniter 4 Playground - by trollfalgar - 11-26-2019, 09:10 AM
RE: CodeIgniter 4 Playground - by InsiteFX - 11-27-2019, 04:30 AM
RE: CodeIgniter 4 Playground - by muuucho - 11-27-2019, 07:15 AM
RE: CodeIgniter 4 Playground - by MGatner - 11-27-2019, 07:50 AM
RE: CodeIgniter 4 Playground - by jasonzig - 11-27-2019, 11:00 AM
RE: CodeIgniter 4 Playground - by Poetawd - 11-27-2019, 08:11 PM
RE: CodeIgniter 4 Playground - by MGatner - 11-27-2019, 11:19 AM
RE: CodeIgniter 4 Playground - by Digital_Wolf - 11-27-2019, 12:58 PM
RE: CodeIgniter 4 Playground - by includebeer - 11-27-2019, 06:31 PM
RE: CodeIgniter 4 Playground - by jasonzig - 11-27-2019, 07:44 PM
RE: CodeIgniter 4 Playground - by adelbak - 11-27-2019, 06:36 PM
RE: CodeIgniter 4 Playground - by John_Betong - 11-27-2019, 08:06 PM
RE: CodeIgniter 4 Playground - by jasonzig - 11-27-2019, 08:13 PM
RE: CodeIgniter 4 Playground - by John_Betong - 11-28-2019, 09:26 PM
RE: CodeIgniter 4 Playground - by jasonzig - 11-27-2019, 08:11 PM
RE: CodeIgniter 4 Playground - by jimpannell - 11-28-2019, 05:53 AM
RE: CodeIgniter 4 Playground - by MGatner - 11-28-2019, 05:57 AM
RE: CodeIgniter 4 Playground - by MGatner - 11-29-2019, 05:14 AM
RE: CodeIgniter 4 Playground - by John_Betong - 11-29-2019, 07:30 AM
RE: CodeIgniter 4 Playground - by MGatner - 11-29-2019, 07:34 AM
RE: CodeIgniter 4 Playground - by triluminos - 12-01-2019, 12:04 AM
RE: CodeIgniter 4 Playground - by MGatner - 12-01-2019, 12:50 PM
RE: CodeIgniter 4 Playground - by miiscan - 12-01-2019, 03:46 PM
RE: CodeIgniter 4 Playground - by hainm - 12-01-2019, 09:16 PM
RE: CodeIgniter 4 Playground - by triluminos - 12-02-2019, 10:39 PM
RE: CodeIgniter 4 Playground - by John_Betong - 12-02-2019, 08:37 AM
RE: CodeIgniter 4 Playground - by MGatner - 12-03-2019, 04:39 AM
RE: CodeIgniter 4 Playground - by muuucho - 12-07-2019, 04:52 AM
RE: CodeIgniter 4 Playground - by John_Betong - 12-05-2019, 06:07 AM
RE: CodeIgniter 4 Playground - by kilishan - 12-05-2019, 07:31 AM
RE: CodeIgniter 4 Playground - by InsiteFX - 12-07-2019, 07:44 AM
RE: CodeIgniter 4 Playground - by muuucho - 12-08-2019, 10:59 AM
RE: CodeIgniter 4 Playground - by ankurjain.me - 12-20-2019, 12:50 AM
RE: CodeIgniter 4 Playground - by muuucho - 12-09-2019, 07:08 AM
RE: CodeIgniter 4 Playground - by John_Betong - 12-09-2019, 07:22 AM
RE: CodeIgniter 4 Playground - by muuucho - 12-09-2019, 08:32 AM
RE: CodeIgniter 4 Playground - by John_Betong - 12-09-2019, 08:40 AM
RE: CodeIgniter 4 Playground - by muuucho - 12-09-2019, 09:17 AM
RE: CodeIgniter 4 Playground - by MGatner - 12-09-2019, 09:29 AM
RE: CodeIgniter 4 Playground - by Wouter60 - 12-24-2019, 07:06 AM
RE: CodeIgniter 4 Playground - by MGatner - 12-24-2019, 07:43 AM
RE: CodeIgniter 4 Playground - by John_Betong - 12-24-2019, 08:33 AM
RE: CodeIgniter 4 Playground - by rhubka - 12-29-2019, 03:24 PM
RE: CodeIgniter 4 Playground - by John_Betong - 01-02-2020, 05:16 AM
RE: CodeIgniter 4 Playground - by muuucho - 01-02-2020, 05:33 AM
RE: CodeIgniter 4 Playground - by tapan29bd - 01-02-2020, 02:28 AM
RE: CodeIgniter 4 Playground - by abrkof - 01-04-2020, 09:56 AM
RE: CodeIgniter 4 Playground - by jasonzig - 01-24-2020, 02:10 PM
RE: CodeIgniter 4 Playground - by kilishan - 01-24-2020, 02:39 PM
RE: CodeIgniter 4 Playground - by Bessalitskykh - 01-27-2020, 03:33 AM
RE: CodeIgniter 4 Playground - by edwardbailey - 01-31-2020, 05:56 AM
RE: CodeIgniter 4 Playground - by kyleojay - 02-07-2020, 04:08 AM
RE: CodeIgniter 4 Playground - by manishareddy333 - 02-12-2020, 02:49 AM
RE: CodeIgniter 4 Playground - by manishareddy333 - 02-12-2020, 02:49 AM
RE: CodeIgniter 4 Playground - by manishareddy333 - 03-12-2020, 04:11 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.