The Usefull Simple : Javascript

The usefull Code that help you to write big code, there is it:

1. Remove property from the Object

let’s say we have object like this

then, we want to save this data to db, but we don’t need “_inserted_by” property there. To do that we can do something like bellow.

that simple, but helpfull.

 

Super Simple Laravel 5.x Layout

Create folder structure like this

laravel-view-structure
Laravel View Structure

On the layouts folder create main layout named it master.blade.php, and copy paste this code

On partials folder create new file named it header-media.blade.php, and copy paste this code

On partials folder create new file named it footer.blade.php, and copy paste this code

On modules/user folder create 2 files named it form.blade.php and index.blade.php

open file form.blade.php then copy this code

open file index.blade.php then copy this code

from your controller call the view like this

Ok, That’s its! Pretty simple right? See you in next tutorials.

Just Tracing Laravel Cashier

Hahhahahahaha.. What’s the point in this post??? But it’s very usefull for me.. and for you?

For client side you just add this code.. simple huuh?

Okeeyyyy, let’s me see behind that code! Trace… trace… and trace.. (how i can make a clean code like this!)
Read More