アプリ関連ニュース
- 2022年6月07日
- 技術情報
3 Ways to group routes in laravel
Today, I would like to share about 3 ways to group routes in laravel. Let’s take a look.
1. Route::resource
We can create a resource controller and group routes for CRUD actions of that controller as follow.
Route::resource('books', BookController::class);
2. Route groups within another route group
We can groups routes within another route groups like nested ones.
Route::middleware('auth')->group(function() {
Route::middleware('admin')->prefix('admin')->group(function() {
Route::get(...)
});
Route::middleware('member')->prefix('member')->group(function() {
Route::get(...)
});
});
3. Route::controller() in Laravel 9
In laravel 9, we can group the routes without repeating controller name for the same controller.
Route::controller(PostController::class)->group(function() {
Route::get('posts', 'getPosts');
Route::put('posts/update', 'updatePost');
Route::delete('posts/delete/{id}', 'deletePost');
});
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年06月07日 10:00:00
- 2022年6月06日
- AI
What is ONNX
ONNX is a machine learning framework which acts like a medium to convert between different machine learning frameworks.
ONNX is designed to enable framework interoperability. There are many great machine learning libraries in multiple languages — PyTorch, TensorFlow, MXNet, and Caffe are just a few of the most popular ones in recent years, but there are many others.
The idea is that you can use one stack of tools to train your model and use another for inference and prediction to expand your model.
For example, once you’ve trained your model, you need to deploy it to a new iOS app so that anyone with a previously trained model can see the safety of their food. I first trained my model with PyTorch, but iOS expects to use CoreML for use within the app. ONNX is an intermediate representation of the model that allows you to easily move from one environment to another.
With tools such as ONNX-CoreML, you can now easily convert pre-trained models to files, import them into XCode, and integrate them seamlessly with your application.
This is just an overview of what ONNX is about. I will talk more detail in future.
Yuuma
yuuma at 2022年06月06日 10:00:00
- 2022年5月31日
- 技術情報
Differences Between Free SSL and Paid SSL
Today, I would like to share about differences between free and paid SSL. Let’s take a look.
When we deploy our website or web applications in production, we have to install SSL certificates for our website’s security. They come both free and paid. The followings are the differences of free and paid SSL.
1. Free SSL certificates only support DV (Domain Validation), not for EV(Extended Validation) and OV(Organization Validation).
2. Free SSL certificates validate only the ownership of the domain whereas paid SSL certificates verify the business identity of the website and with OV & EV certificates, it has in-depth verification by the certificate authority(CA).
3. Free SSL certificates are issued for 30-90 days and paid SSL certificates are for 1-2 years.
4. Free SSL certificates do not provide warranty when there are something wrong or errors on certificates authentication. But paid SSL certificates provide warranty limits.
5. Free SSL cerificate authorities(CAs) do not support customer services whereas paid SSL certificate authorities(CAs) support customer services.
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年05月31日 10:00:00
- 2022年5月30日
- Apple
Apple Developer app
Apple just released the latest apple developer app to help you create great apps for Mac, iPhone, iPad, Apple Watch, and Apple TV, and the best way to experience WWDC.

The Developer app is available for best practices, tips, tricks, and resources for every part of the process and Learn about the latest Apple technology and explore new ideas through video sessions, articles, and related documentation. Receive notifications for the latest news and announcements. You can also get inspiration from the stories of the Apple developer community.
This app will act like the home of this year’s online WWDC experience. Millions of developers around the world are joining on June 6th to learn about the future of the Apple platform at Keynote and Platforms State of the Union etc.
Throughout the week, you can visit the WWDC tab to see a complete schedule of daily video sessions, labs, digital room activities, coding and design challenges.
Now that the Developer app supports SharePlay, you can watch videos with your friends and colleagues. You just need to start the FaceTime call, then go to the Developer app and start playing. Once inside the app, you can choose to play the video on your device or share it with everyone in the call. On iOS and iPad OS, you can also start SharePlay from a shared sheet.
Yuuma
yuuma at 2022年05月30日 10:00:00
- 2022年5月27日
- 技術情報
知っておいていただきたいこと – 6
今回も、Laravelの知っておいた方がいいとおもったことをいくつか紹介します。
#Laravel Tip – join
Laravelの最新リリースでは、Arrファサードに新しい「join」メソッドが追加され、アイテムの配列を文としてフォーマットできるようになりました。このメソッドにより、配列を文としてフォーマットすることができます。
$team = ['John', 'Smith', 'Jesse', 'Bryan'];
$formatted = Arr::join(
$team,
', ',
' and '
);
echo "Such a fascinated team - {$formatted}!!";
//Such a fascinated team - John, Smith, Jesse and Bryan!!
ということで、今回はこれで終わります。
金曜担当 – Ami
asahi at 2022年05月27日 10:00:00