Jump to content
MakeWebGames

Cyberia Engine


smith

Recommended Posts

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? 
 

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...
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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 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...