smith Posted September 27, 2022 Posted September 27, 2022 i am working on new Gaming Engine (Reactjs, Laravel, MUI). hope it will out soon 2 Quote
Dayo Posted September 27, 2022 Posted September 27, 2022 Looking forward to seeing it. Does it follow a theme like mafia/sci fi or is it generic? Quote
smith Posted September 27, 2022 Author Posted September 27, 2022 3 minutes ago, Dayo said: Looking forward to seeing it. Does it follow a theme like mafia/sci fi or is it generic? it will be basic engine like mccode and you can modify it as you want 1 Quote
Djkanna Posted September 27, 2022 Posted September 27, 2022 Any reasoning behind your choice of packages? (For those of us that have been on the slide lines for years what’s MUI, the benefits etc? ) all the best with your project looking forward to seeing what you produce, will this be a paid for engine or have tiers of releases etc? Quote
Canjucks Posted September 28, 2022 Posted September 28, 2022 Looking forward to seeing this also. Quote
rulerofzu Posted September 29, 2022 Posted September 29, 2022 On 9/27/2022 at 9:49 PM, Djkanna said: Any reasoning behind your choice of packages? (For those of us that have been on the slide lines for years what’s MUI, the benefits etc? ) all the best with your project looking forward to seeing what you produce, will this be a paid for engine or have tiers of releases etc? mui.com At a guess it would be a starting point for the admin backend and for general framework 1 Quote
smith Posted October 12, 2022 Author Posted October 12, 2022 (edited) On 9/28/2022 at 2:19 AM, Djkanna said: Any reasoning behind your choice of packages? (For those of us that have been on the slide lines for years what’s MUI, the benefits etc? ) all the best with your project looking forward to seeing what you produce, will this be a paid for engine or have tiers of releases etc? we need to move on new things instead out dated stuffs example :- /** * Store request and sync it as well with a resource. * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function Feed(StorePostRequest $request) { $data = $this->handleData($request); $role = new Role(); // dd($data); $roleSaved = $role->storeRole($data); $roleSaved->syncPermissions($data['permissions']); return response()->json([ 'data' => $roleSaved, ], 201); } Edited October 12, 2022 by smith 1 Quote
Script47 Posted October 16, 2022 Posted October 16, 2022 On 10/12/2022 at 3:58 AM, smith said: we need to move on new things instead out dated stuffs example :- /** * Store request and sync it as well with a resource. * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function Feed(StorePostRequest $request) { $data = $this->handleData($request); $role = new Role(); // dd($data); $roleSaved = $role->storeRole($data); $roleSaved->syncPermissions($data['permissions']); return response()->json([ 'data' => $roleSaved, ], 201); } What is `handleData` doing? To make your controllers cleaner: Separate your business logic into separate classes Use API Resources for your responses Quote
smith Posted October 17, 2022 Author Posted October 17, 2022 On 10/16/2022 at 7:10 AM, Script47 said: What is `handleData` doing? To make your controllers cleaner: Separate your business logic into separate classes Use API Resources for your responses like how's? my total business logic handing controller and model caring of DB stuff Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.