HackMD
    • Create new note
    • Create a note from template
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Customize slides
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Commenting & Invitee
    • Publishing
      Please check the box to agree to the Community Guidelines.
      Everyone on the web can find and read all notes of this public team.
      After the note is published, everyone on the web can find and read this note.
      See all published notes on profile page.
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions and GitHub Sync
    • Transfer ownership
    • Delete this note
    • Note settings
    • Template
    • Save as template
    • Insert from template
    • Export
    • Dropbox
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Dropbox
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Note settings Sharing Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Transfer ownership Delete this note
Export
Dropbox Google Drive Export to Google Drive Gist
Import
Dropbox Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Comment & Invitee
Publishing
Please check the box to agree to the Community Guidelines.
Everyone on the web can find and read all notes of this public team.
After the note is published, everyone on the web can find and read this note.
See all published notes on profile page.
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with GitHub
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# ShowNote:【オンライン】PHPerによるPHPerのための「PHPニュース他まとめ」TechCafe @ RAKUS 8月 ## PHP最新情報/技術的Tips - **[Qiita【PHP8.0】非厳密な比較演算子`==`の挙動が今さら変更になる](https://qiita.com/rana_kualu/items/82cc8295d2102d14b88a)** - 各バージョンのPHP実行結果をみることができるサイト - https://3v4l.org/ - **[Microsoftが「PHP」サポートを縮小 ~「PHP 8.0」バイナリは公式提供せず](https://forest.watch.impress.co.jp/docs/news/1264900.html)** - MicrosoftによるPHPの公式サポートはPHP7.4までとなり、PHP8.0からはサポートしなくなる。 - **[How Can PHP Strict Types Help Preventing Bugs When Migrating to PHP 7 or PHP 8](https://www.phpclasses.org/blog/package/11698/post/1-How-Can-PHP-Strict-Types-Help-Preventing-Bugs-When-Migrating-to-PHP-7-or-PHP-8.html)** - PHPの厳密な型がPHP 7またはPHP 8への移行時にバグを防ぐのにどのように役立つか - 結局は泥臭いリファクタリングが必要であるという戒めになる - **[LaravelなどのFWにも使えるPHP処理のパフォーマンスを計測するツール【Blackfire】が最高だった](https://qiita.com/Daara_y/items/0c3d2449c67da1ff55b1)** - PHPのプロファイラについておさらい - 簡単にプロファイリングと結果の確認ができる - [Profiling Tools For PHP7](https://qiita.com/takahashi-yugo/items/8f141e6ca0259a2bd2c8) - SaaS型:Blackfire, tideways - tidewaysはプロファイラ自体はローカルで動き、結果も確認できる。便利な可視化ツールがSaaS。 - サンプリング型:xdebug(+webgrind), XHProf(+XHGui) - xdebugは重く、本番環境でも使えるものとして作られたXHProf - ただしXHProfはFacebookが開発を止めており、PHP7以降の対応がされていない→XHProfの後継がtideways - [Laravel 8 Will Be Released on September 8th!](https://laravel-news.com/laravel-8-release-date) - Laravel 8は9月8日にリリースされます! - そのほかにどんな機能がリリースされるのか - [【PHP8.0】PHP8.0の新機能](https://qiita.com/rana_kualu/items/fe7998fbe773544d5d25) - **[Laravel で Docker 使って開発したいなら Vessel にしておこう](https://qiita.com/localdisk/items/80763fcc803f66e1fc52)** - Laradockについて - Laravel開発を中心に「これ一つあればだいたいなんでもできる」環境 - であるがゆえに、デカい・重い・複雑というデメリットがある - https://www.fendo181.me/entry/whats-wrong-with-laradock - もともとはそうじゃなかったんだけど、ニーズに合わせていった結果巨大になった - https://laradock.io/ - サポートしている機能は充実しまくっている - Vesselについて - Laravelで開発するのに必要十分な環境 - https://vessel.shippingdocker.com/docs/get-started/ - VesselはLaravelプロジェクトが既にある前提のイメージ - https://vessel.shippingdocker.com/docs/common-issues/#catch22 - そもそもLaravelプロジェクトを作る環境(PHP,Composerなど)が無く、Dockerで開発したい場合は下記(php-composer)を使う - どうでもいいが``catch-22``って、「どうどうめぐり」の比喩表現らしい - php-composer - https://hub.docker.com/r/shippingdocker/php-composer/ - RFC関連(**R**equest **F**or **C**omment。PHPの次期バージョンについての機能変更提案) - **実装完了 [PHP 8.0 RFC: Nullsafe operator ](https://twitter.com/PHPRFCBot/status/1290912831634673664)** - ECMAScript(JavaScript)でも同様の提案がある。 - RFC見ていると、ソフトウェア開発のトレンドが分かる - 実装完了 [PHP 8.0: Named Arguments](https://twitter.com/PHPRFCBot/status/1289707389051006976) - 名前付き引数 - 実装完了 [RFC: Saner string to number comparisons](https://twitter.com/PHPRFCBot/status/1284059151291711488) - 『非厳密な比較演算子`==`の挙動が今さら変更になる』の話 - 実装完了 [PHP 8.0: Saner numeric strings](https://twitter.com/PHPRFCBot/status/1289175356629348353) - 『非厳密な比較演算子`==`の挙動が今さら変更になる』の話 - **否決:[StackFrame class ](https://twitter.com/PHPRFCBot/status/1285543747544059905)** - エラー発生時のbacktraceを配列ではなくオブジェクトにしようという提案 - 採択されると思いきや否決 ## PHPよもやまばなし - **[10 Cool Features You Get After Switching From YAML to PHP Configs](https://tomasvotruba.com/blog/2020/07/16/10-cool-features-you-get-after-switching-from-yaml-to-php-configs/)** * YAMLからPHP構成に切り替えた後に得られる10のクールな機能 * IDEによる補完機能を利用できるなど、メリットは大きい - [Top Common Mistakes that PHP Development Companies Make](https://www.etatvasoft.com/blog/top-common-mistakes-that-php-development-companies-make/) * PHP開発会社が犯すよくある間違い * 私もやってしまいがち ## PHP以外の最新情報/技術的Tips - **[「誕生パーティーでWi−Fiに…」モーリシャス座礁…をエンジニア視点で](https://news.tv-asahi.co.jp/news_international/articles/000190769.html)** - 正式に発表された情報ではないので、鵜呑みは禁物! - 船舶を安全に航行するために必要な情報は多い - その全てを適切に人間が処理することには限界がある - 顕在化した「モラル」というリスク - 実は既にある自動運転システム → 今後どう改善されていくか? - [ほぼ日ITエンジニアニュース](https://www.youtube.com/channel/UCv1AIkCCrRB_Tcz_1ZgSoFg) - https://www.youtube.com/watch?v=hA-lrtxaDk4 ## エンジニア・開発一般論 - **[技術書・方法論とのお付き合い](https://speakerdeck.com/tooppoo/how-to-learn-theory)** - 技術書や方法論を学ぶ上で重要なポイント - 書籍に書かれている手順や方法が「正解」ではなく、その思想や理論から「問題解決の視点を増やす」のが良い - **[Webアプリケーション負荷試験実践入門](https://www.slideshare.net/taruhachi/20150224-45099119)** - パフォーマンステストを行う際の考え方、手順などがまとめられている。 - パフォーマンステストの目的は「どれだけの負荷に耐えられるか」ではなく「期待通りスケールできるか」 - いきなりシステム全体に対してテストすると問題の切り分けが難しいので、段階的(まずは静的ページから)に行う方が良い - **[テストを自動化するのをやめ、自動テストを作ろう](https://speakerdeck.com/tsuemura/tesutowozi-dong-hua-surufalsewoyame-zi-dong-tesutowozuo-rou)** - なぜE2Eテストの自動化がうまくいかないのか。E2Eテストは本来どうあるべきなのか。 - ただ手動テストを自動化しても恩恵は得られにくく、腐っていきがち。 - 壊れがちだが開発の終盤で実行されるため、メンテナンスがスルーされる - 手動テストがカバーしている観点が十分に自動化されたテストに反映しきれていない - 以下のアプローチが必要 - かっちりしたテスト:(UnitTestと同じように)開発のサイクルと密接に関わり、高頻度で実行される - ふんわりしたテスト:HTML要素のIDなどを指定するのではなく、ラベルやメッセージを検証対象にする、AIや画像認識などで人間によるテストを疑似的に再現する、など - テストは網の目的に考え、E2Eテストで何を担保したいのかを認識し使い分けると良い - [エンジニアなら誰でも配信を](https://speakerdeck.com/tnk4on/serial-experiments-live) - オンライン配信が盛んにおこなわれている現状。私たちのこのイベントもまさにオンライン配信。 ## 小ネタ - **議論中:[Attriuteの記法についてまだ議論してる](https://twitter.com/PHPRFCBot/status/1288122229708869633)** - 最初は``<<attr>>``記法で採択 → からの物言いがついて ``@@attr``に決着 - さらに物言いがついて議論中 ⇐ 今ココ - PSRの方でも議論中 - https://github.com/php-fig/fig-standards/pull/1218

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template is not available.


Upgrade

All
  • All
  • Team
No template found.

Create custom template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Tutorials

Book Mode Tutorial

Slide Mode Tutorial

YAML Metadata

Contacts

Facebook

Twitter

Discord

Feedback

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions and GitHub Sync

Sign in to link this note to GitHub Learn more
This note is not linked with GitHub Learn more
 
Add badge Pull Push GitHub Link Settings
Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub

      Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

       Sign in to GitHub

      HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Available push count

      Upgrade

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully