CodeIgniter Forums
CodeIgniter 4 Playground - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: News & Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=2)
+--- Thread: CodeIgniter 4 Playground (/showthread.php?tid=74919)

Pages: 1 2 3 4 5 6 7 8


RE: CodeIgniter 4 Playground - muuucho - 11-27-2019

Great news, thanks!


RE: CodeIgniter 4 Playground - MGatner - 11-27-2019

We have LOTS to add, but if anyone has requests for examples they would like to see implemented this would be a good place to ask.


RE: CodeIgniter 4 Playground - jasonzig - 11-27-2019

(11-27-2019, 07:50 AM)MGatner Wrote: We have LOTS to add, but if anyone has requests for examples they would like to see implemented this would be a good place to ask.

Thank you SO much for this!

I think one nice addition would be to add the Doctrine-as-service as described here (Doctrine as a C4 Service)
by MGatner and ScientiFist, along with a quick example of proper usage all the way through a controller and view, of course.


RE: CodeIgniter 4 Playground - MGatner - 11-27-2019

We will definitely cover how to use third-party packages, including using Service wrappers and other ways to “make them native.” Doctrine actually replicates a lot of functionality of the framework, so I don’t know that it makes a lot of sense to go in-depth on. Basically once you’ve loaded it you are using it as an alternative layer to the framework’s database-model-entity trio.
If there’s a lot of ORM demand I could see a section covering how one might approach this functionality, either in the playground or the User Guide.


RE: CodeIgniter 4 Playground - Digital_Wolf - 11-27-2019

It's really awesome, thanks for your hard work !
Times here can be send their themes for implementation, then perhaps I leave 2 of them:
And so the first thing I would most like to see is an authentication system without the use of third-party libraries and the "ThirdParty" folder.
Well, the second is how to change the structure of the sessions table using the database driver, although I think that this does not apply to this topic and if so then excuse me and accept my first question about authentication.


RE: CodeIgniter 4 Playground - includebeer - 11-27-2019

(11-25-2019, 09:53 AM)jlp Wrote: This playground is here to help you learn CodeIgniter 4 by example. We try to cover use cases for the most common tasks you'll find yourself doing in web applications. Where there are multiple ways to do something, we've tried to give examples of doing things in each way.

Am I missing something or the playground is just an empty CI app? I don’t see any example code?


RE: CodeIgniter 4 Playground - adelbak - 11-27-2019

"the first thing I would most like to see is an authentication system without the use of third-party libraries and the "ThirdParty" folder"

Heart


RE: CodeIgniter 4 Playground - jasonzig - 11-27-2019

(11-27-2019, 06:31 PM)includebeer Wrote:
(11-25-2019, 09:53 AM)jlp Wrote: This playground is here to help you learn CodeIgniter 4 by example. We try to cover use cases for the most common tasks you'll find yourself doing in web applications. Where there are multiple ways to do something, we've tried to give examples of doing things in each way.

Am I missing something or the playground is just an empty CI app? I don’t see any example code?

The Heroes Model has some example code, and there is some spark code that loads sample data into SQLite, though there's no example code showing how to call the model and present its data in a view.


RE: CodeIgniter 4 Playground - John_Betong - 11-27-2019

@includebeer

I followed the additional playground/README.md instructions.

Composer downloaded lots of files, I set the .env->Database with relevant login details and still failed Sad

@MGatner
The GitHub README.md file was not copied and pasted accurately.

Some of the instructions are not crystal clear Sad

cd playground composer install

CI_ENVIRONMENT = development app.baseURL = 'http://localhost:8080/'

php spark migrate php spark dbConfusedeed PlaygroundSeeder


RE: CodeIgniter 4 Playground - jasonzig - 11-27-2019

On the topic of an authentication system, I would really enjoy seeing example integrations of Myth Auth and Skunkbad's Community Auth.