アプリ関連ニュース

Githubにコミット者情報を誤ってコミット/プッシュした場合の対処方法

今回は、Githubにコミット者情報を誤ってコミット/プッシュした場合の対処方法を記載します。

続きを読む

WebXRを便利に作れるA-Frameを使ってみました。

昨年の12月にVer1.0.0がリリースされたA-Frameを使ってみました。

360度動画であれば40行程度。
Body要素内だけなら、たったの6行程度で実現できてしまいます。

続きを読む

PSR (PHP Standards Recommendation)

Today, I would like to share about PSR called PHP Standards Recommendation which are also known as coding standards of PHP. Actually, PHP does not have coding rules and standards itself. Developers tend to create their code to be more maintainable & safer by using naming conventions and various coding styles. Some use frameworks like PEAR, Zend to standardize their code.

Just In Case If you don’t know about `coding standards`

Coding rules and guidelines ensure that software is:

  • Safe: It can be used without causing harm.
  • Secure: It can’t be hacked.
  • Reliable: It functions as it should, every time.
  • Testable: It can be tested at the code level.
  • Maintainable: It can be maintained, even as your codebase grows.
  • Portable: It works the same in every environment.

Standards are important for safety, security, and reliability.

Every development team should use a standard. Even the most experienced developer could introduce a coding defect — without realizing it. And that one defect could lead to a minor glitch. Or worse, a serious security breach.

There are four main drivers for using one:

  1. Compliance with industry standards (e.g., ISO).
  2. Consistent code quality – no matter who writes the code.
  3. Software security from the start.
  4. Reduced development costs and accelerated time to market.

In 2009, There was a conference about PHP (https://tek.phparch.com/). At that conference, developers discussed about their opinions on working PHP projects and their complexities upon them. Finally, they decided to create coding standards to follow. The name of that association was PHP Standards Group. They updated their name as Framework Interoperability Group(FIG) later.  You can see more detail about FIG here (https://www.php-fig.org/).

Currently there are 13 approved standards.

1  Basic Coding Standard

2  Coding Style Guide

3  Logger Interface

4  Autoloading Standard

6  Caching Interface

7  HTTP Message Interface

11  Container Interface

13  Hypermedia Links

14  Event Dispatcher

15  HTTP Handlers

16  Simple Cache

17  HTTP Factories

18  HTTP Client

If you are still curious to know about other standards that are currently reviewed, draft, abandoned. Check out this official link (https://www.php-fig.org/psr/).

By Yuuma.



CakePHP フォームヘルパー(2)

本記事は前回の「CakePHP フォームヘルパー(1)」の続きです。
前回はCakePHPの「フォームヘルパー」という機能を使用して、入力フォーム用のHTMLを作成しました。
今回はそのフォームを使用して送信(Submit)された値をコントローラー側で受け取る方法を説明いたします。

続きを読む

Hyper-V上でAndroid-x86を実行する

Windwos 10 Proの標準機能 Hyper-V を使って Android-x86 を実行してみました。

続きを読む

アプリ関連ニュース

お問い合わせはこちら

お問い合わせ・ご相談はお電話、またはお問い合わせフォームよりお受け付けいたしております。

tel. 06-6454-8833(平日 10:00~17:00)

お問い合わせフォーム