In this video I add PHP sessions as an option to my ChatWTF ChatGPT clone so that you can use it without a database.
GitHub: https://github.com/unconv/chat-wtf
Support: https://buymeacoffee.com/unconv
Consultations: https://www.buymeacoffee.com/unconv/e...
Memberships: https://www.buymeacoffee.com/unconv/m...
00:00 Intro
01:51 Creating SQLConversation class
14:00 Updating message endpoint to use new class
16:46 Updating index.php to use new class
18:44 Testing new class
21:22 Debugging
26:26 It works!
26:55 Debugging title creation issue
29:25 Creating SessionConversation class
34:49 Testing & debugging session version
42:41 It works!
43:31 Adding setting for selecting storage type
46:37 Implementing ConversationInterface
52:17 Adding autoloading
53:06 Final testing & Outro
Watch video ChatWTF: Using OOP and Interfaces to add PHP Sessions Option for Message Storage online without registration, duration hours minute second in high quality. This video was added by user Unconventional Coding 07 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 398 once and liked it 13 people.