Jump to content
MakeWebGames

Recommended Posts

Posted
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

  • Like 1
Posted

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? 
 

 

Posted
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

  • Like 1
  • 2 weeks later...
Posted (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 by smith
  • Like 1
Posted
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
Posted
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

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...