Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CakePHPアプリケーションの作り方 〜これまでと、これから
Search
Kenichiro Kishida
June 17, 2015
Technology
840
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CakePHPアプリケーションの作り方 〜これまでと、これから
PHP Framework 最新バージョン使ってみた LT 発表資料
http://connpass.com/event/16016/
Kenichiro Kishida
June 17, 2015
More Decks by Kenichiro Kishida
See All by Kenichiro Kishida
Compression Streams API によるブラウザネイティブなデータ圧縮/jsfes2025
sizuhiko
0
100
Compression Streams API によるブラウザネイティブなデータ圧縮 /phpstudy-182
sizuhiko
0
99
Code兄弟での CI/CDをいい感じにする方法 / phpstudy-2024-06
sizuhiko
0
240
Webアクセシビリティワークショップを社内でやってみた / phpconfuk-2024
sizuhiko
1
440
デベロッパーよ 健康でいるためには 寝て 旅をして 趣味を持って メンタル大切に / DE-RADIO-2023-06-26
sizuhiko
0
220
ヘビータブユーザーが ワークスペースの利用でどのように変わったか / 2023-05-16 Vivaldi User Meetup TOKYO 2023
sizuhiko
0
400
Node.js v18 ベースイメージを使った AWS Lambda アプリ開発におけつ光と影 / 2023-04-23 JavaScript Fes
sizuhiko
0
270
@swc-node/jest を使って テストを高速化する/jsfes-2022
sizuhiko
0
450
Rails 7の採用提案で注目を集め始めた Import maps の過去、現在、そして未来について/de radio 2
sizuhiko
2
1.5k
Other Decks in Technology
See All in Technology
React改造してみた
tsukina_7mochi
0
160
顧客価値を追いかけたら、プライシングにたどり着いた
sansantech
PRO
2
730
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
390
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
360
「Learning Outcome」を書きたくない私が、Learning Outcomeと折り合いをつけるまで
mhlyc
0
140
Classmethod Company Deck
satoshi7
1
830
Introduction to Microsoft for Startups
satakeyusuke19920527
0
100
Claude Code on Bedrock で統制をかける小ネタ集/claude-code-bedrock-governance-tips
emiki
1
470
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
410
Claude for Google Workspaces ポン出し/claude-for-google-workspace-slide-conversion
emiki
0
370
アカウント統制の健康診断
kenichinakamura
1
150
シンプルな設定ファイルで実現する AWS IAM Identity Center の ユーザー管理Terraformフレームワークを公開しました / Simplifying AWS IAM Identity Center User Management: An Open-Source Terraform Framework
yamaguchitk333
0
240
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
740
HDC tutorial
michielstock
2
970
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
WCS-LA-2024
lcolladotor
0
900
Ruling the World: When Life Gets Gamed
codingconduct
0
410
We Are The Robots
honzajavorek
0
400
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
580
Designing for Performance
lara
612
70k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
How to train your dragon (web standard)
notwaldorf
96
6.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Transcript
$BLF1)1ΞϓϦέ ʔγϣϯͷ࡞Γํ ͜Ε·Ͱͱɺ͜Ε͔Β 1)1'SBNFXPSL࠷৽όʔδϣϯͬͯΈͨ-5CZ!TJ[VIJLP
,FOJDIJSP,JTIJEB 5PLZP +"1"/ TJ[VIJLP!HNBJMDPN !TJ[VIJLP IUUQTHJUIVCDPNTJ[VIJLP IUUQCMPHPQFOUPLZPKQ +1POMZ
.BZ
None
2 0DU
͜Ε·Ͱ • XAMPPMAMPPɺvagrant • μϯϩʔυͯ͠Πϯετʔϧ ComposerΛ͏ʹΧελϚΠζ͕ඞཁ • BakeͰܗΛੜ • Console/cake͔ΒCLIΛ࣮ߦ
• ComposerͰґଘؔΛղܾ • ϓϥάΠϯҎ֎ͷύοέʔδ͕͍͍
$BLF1)1 CakePHP2 App Cake CLI CakePHP2 Core Vendor Package Web
Server CakePHP2 Plugin
.BS
$BLF1)1 CakePHP3 App PHP CLI CakePHP3 Core Vendor Package Web
Server CakePHP3 Plugin
͜Ε͔Β • CakeboxͰָʑڥߏங • migrationͱDebugKit͕ॳظಋೖ • BakeͰܗΛੜ • Composerͷར༻͕ඞਢ •
PSR-4ରԠͰͲ͔͜ΒͰCakePHPΛ ݺͼग़͠Մೳʹ
ڥߏங https://github.com/alt3/cakebox
# ڥߏங git clone https://github.com/alt3/cakebox.git cd cakebox cp Cakebox.yaml.default Cakebox.yaml
vagrant up # ৽نΞϓϦέʔγϣϯੜ vagrant ssh cakebox application add ΞϓϦ໊ # طଘΞϓϦέʔγϣϯΠϯετʔϧ cakebox application add ΞϓϦ໊ \ --source https://github.com/hoge.git \ --webroot /var/www/application/hoge http://blog.open.tokyo.jp/2015/04/19/cakebox-is-awesome.html
None
None
None
None
# ςετ࣮ߦ phpunit # Behat࣮ߦ vendor/bin/behat
{ "name": "cakephp/app", "type": "project", "license": "MIT", "require": { "php":
">=5.4.16", "cakephp/cakephp": "3.0.*-dev", "mobiledetect/mobiledetectlib": "2.*", "cakephp/migrations": "dev-master", "cakephp/plugin-installer": "*" }, "require-dev": { "d11wtq/boris": "1.0.*", "cakephp/debug_kit": "3.0.*-dev", "cakephp/bake": "dev-master" }, "suggest": { "phpunit/phpunit": "Allows automated tests to be run without system-wide install.", "cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP." }, "autoload": { "psr-4": { "App\\": "src" } }, "autoload-dev": { "psr-4": { "App\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/cakephp/tests" } }, "scripts": { "post-install-cmd": "App\\Console\\Installer::postInstall", "post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump" }, "minimum-stability": "dev", "prefer-stable": true }
"require": { "php": ">=5.4.16", "cakephp/cakephp": "~3.0", "mobiledetect/mobiledetectlib": "2.*", "cakephp/migrations": "~1.0",
"cakephp/plugin-installer": "*" }, "require-dev": { "psy/psysh": "@stable", "cakephp/debug_kit": "~3.0", "cakephp/bake": "~1.0" },
"autoload": { "psr-4": { "App\\": "src" } }, "autoload-dev": {
"psr-4": { "App\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/ cakephp/tests" } },
03.
XxTable CakePHP3 Core XxEntity App Iterator array $BLFͱͷޓੑ
ΧελϜϑΝΠϯμʔ • find(“groupByUserId”) • findGroupByUserId() ͱ͍͏ϝιου ΛXxxTableΫϥεʹ࣮͢Δ • find(“age”, [30,
40])- >find(“groupByUserId”) ͷΑ͏ʹϝι ουνΣΠϯՄೳ
·ͩෆ҆ͩ
$BLF1)1&OUJUZ 1MVHJO https://github.com/josegonzalez/cakephp-entity
$BLF1)1&OUJUZ • CakePHP2ͰCakePHP3෩ʹTableͱ EntityΛ͑Δ • কདྷతͳCakePHP3ͷҠߦΛ༰қʹ • ΧελϜϑΝΠϯμʔͳͲͷػೳͳ ͍
Mark Story - CakePHP 3.0.0 and beyond (Conference) Slides: http://www.slideshare.net/markstory/cakephp-30-and-beyond
WJTJUNZCMPHHJUIVC https://github.com/sizuhiko 5IBOLZPV http://blog.open.tokyo.jp