朝会では Google Meet を利用して会話しています。
Google Meetで画面共有をおこなってJiraのスクラムボードを全員で参照したり各自困っているコミットなどを共有して全員で認識を合わせられるように心がけています。
また、チームメンバーの顔や状況をわかりやすくするために外部カメラを繋いだり声が聞き取りやすいように外部スピーカーを使っています。
<?phpnamespace App\Events;
use App\Entities\User;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
class RegisterAccount
{use Dispatchable, InteractsWithSockets, SerializesModels;
/** * @var User */private$user;
/** * Create a new event instance. * * @param User $user */publicfunction__construct(User $user){$this->user=$user;
}publicfunction getUser(){return$this->user;
}}
メンバ変数のuserを定義して、getUser()でいつでも取り出せるようにしています。
リスナ定義
次に、リスナの定義です。
app/Listeners/SendRegisterAccountNotification.php
<?phpnamespace App\Listeners;
use App\Events\RegisterAccount;
use App\Notifications\RegisterAccountMailNotification;
class SendRegisterAccountNotification
{/** * Handle the event. * * @param RegisterAccount $event * * @return void */publicfunction handle(RegisterAccount $event){$user=$event->getUser();
$user->notify(new RegisterAccountMailNotification($user));
}}
<?phpnamespace App\Http\Controllers\Api\Company;
use App\Events\RegisterAccount;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class RegisterController extends Controller
{/** * Create a new user instance * * @param array $data * */protectedfunction create(Request $request){$user=(['email'=>$request['email'],
'password'=>$request['password'],
]);
RegisterAccount::dispatch($user);
}}
saml2aws login -a gsuite --username=username --password='password'
Using IDP Account gsuite to access GoogleApps <GSuite側のログインURL>
To use saved password just hit enter.
? Username username
? Password
Authenticating as username ...
Open the Google App, and tap 'Yes' on the prompt to sign in
MFAを有効にしている場合、こちらが出たら端末側でYesをおします。
? Please choose the role [Use arrows to move, type to filter]
Account: XXX / role1
Account: XXX / role2
Account: XXX / role3
❯ Account: XXX / role4
Account: XXX / role5
Account: XXX / role6
Account: XXX / role7
Delivering reliable, high-performance web experiences at Facebook's scale has required us to challenge some long-held assumptions about software development. Join us to learn how we abandoned the traditional MVC paradigm in favor of a more functional application architecture.
They borrowed practices that were already well established for server-side architecture. And at that moment, all the popular server-side frameworks involved some sort of implementation of the classic MVC model (also known as MV* because of its variations).