技術情報

CakePHP Windows10環境構築ガイド

CakePHPフレームワークをWindows10で使用する際の環境構築ガイドです。

続きを読む

Lodash Js Array & Object – Part 3 (Final)

Today I will talk about dealing with array and object in Lodash Js.

Filter

  • Filtering a list to transform the elements we want to get back

Reduce

  • Reducing a list of objects to a single value.
  • Ex=>A group of people can buy a meal or not. In that case we have to check out they have the enough amount by the sum of money they have.
  • (Each’s money => sum money)

Some

  • If there is at least one record in a collection that meets some criteria.

Map

  • Useful for changing a list into a different list in a purely declarative way.
  • Can just specify how you want to manipulate an element of a list.
  • Make a new list transformed by providing a function

By Yuuma



[php] printf sprintf vprintf vsprintf の違いについて(その2)

PHPでフォーマットした文字列の出力をおこなう際に使用する関数、
printf sprintf vprintf vsprintf の使い分けについて記載します。

続きを読む

Lodash Js Part 2(Chaining and has method)

Today I will talk about chaining functions and has method.

Chaining

Without Chaining

With Chaining

  • The chaining is more efficient.
  • no intermediate results are created.

Slight Changes for Explicit Chain & Implicit Chain

Explicit chaining

Still need to unwrap the result with .value().

Implicit chaining

The “unwrapping” of the single value is implied. (there is no need to call .value().)

has

  • Determine if an object has (or contains) a key.
  • Arrays can be used to split up parts.

By Yuuma



[php] printf sprintf vprintf vsprintf の違いについて(その1)

PHPでフォーマットした文字列の出力をおこなう際に使用する関数、
printf sprintf vprintf vsprintf の使い分けについて記載します。

続きを読む


アプリ関連ニュース

お問い合わせはこちら

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

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

お問い合わせフォーム