Open Source CakePHP Lessons for Japanese: Part 1 - Downloading and Folder Structure

in #utopian-io7 years ago (edited)

CakePHP is an open-source framework for PHP. I started to make Japanese tutorials for the project. I hope this serie will be usefull for who want's to learn cakePHP. This is part 1.

Lessons for Part 1:


  • What is CakePHP ?
  • How can we download and use it ?
  • Folder Structure

オープンソースcakephpフレームワークのチュートリアル


CakePHPはPHP用のオープンソースフレームワークです。 これは、アプリケーションの開発、配備、および保守をはるかに容易にすることを目的としています。 CakePHPは、強力で把握しやすいMVCのようなアーキテクチャに基づいています。 モデル、ビュー、およびコントローラは、データとプレゼンテーションレイヤーからのビジネスロジックの厳密ではあるが自然な分離を保証します。

インストール


CakePHPのインストールは簡単で簡単です。 あなたは作曲家からインストールすることも、githubからダウンロードすることもできます:

ディレクトリlogs、tmp、およびそのすべてのサブディレクトリに、CakePHPがさまざまな操作にこれらのディレクトリを使用するため、書き込み権限があることを確認してください。
解凍後、正しくインストールされているかどうかをブラウザで確認してみましょう: http://localhost:85/CakePHP/

上記のURLをクリックすると、次のような画面が表示されます。 これは、CakePHPが正常にインストールされたことを示しています。

フォルダ構造


次のスクリーンショットを見てください。 CakePHPのフォルダ構造を示しています。

Bin:binフォルダには、Cakeコンソールの実行ファイルが格納されます。
Config: configフォルダには、CakePHPが使用する(少数の)設定ファイルが格納されています。 データベース接続の詳細、ブートストラップ、コア構成ファイルなどがここに格納されます。
Logs:通常、logsフォルダにはログ設定が含まれています。
Plugins:pluginsフォルダは、アプリケーションが使用するプラグインが格納されている場所です。
src:srcフォルダはあなたの魔法を働かせる場所です:アプリケーションのファイルが置かれる場所です。 CakePHPのsrcフォルダは、アプリケーション開発の大部分を行います。 src内のフォルダを少し見てみましょう。
tests:テストフォルダは、アプリケーションのテストケースを配置する場所です。
tmp: tmpフォルダは、CakePHPが一時的なデータを格納する場所です。 実際に保存されるデータは、CakePHPの設定方法によって異なりますが、通常、このフォルダはモデルの説明やセッション情報を格納するために使用されます。
vendor:ベンダフォルダは、CakePHPと他のアプリケーションの依存関係がインストールされる場所です。 このフォルダ内のファイルを編集しないという個人的な約束をしてください。 コアを変更した場合はお手伝いできません。
webroot: Webrootディレクトリは、アプリケーションのパブリックなドキュメントルートです。 それは、公開可能にしたいすべてのファイルを含んでいます。



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you.

Congratulations @benjiro! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the total payout received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

  • Please remove the github Image on top of the post.
  • 上記のURLをクリックすると、次のような画面が表示されます。 これは、CakePHPが正常にインストールされたことを示しています。
    Which screen? Can you please put the screenshot of the result.

Oh, I forgot screenshot. It's done.

Hey @benjiro I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 58440.50
ETH 2618.70
USDT 1.00
SBD 2.39