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
830
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
86
Compression Streams API によるブラウザネイティブなデータ圧縮 /phpstudy-182
sizuhiko
0
90
Code兄弟での CI/CDをいい感じにする方法 / phpstudy-2024-06
sizuhiko
0
230
Webアクセシビリティワークショップを社内でやってみた / phpconfuk-2024
sizuhiko
1
430
デベロッパーよ 健康でいるためには 寝て 旅をして 趣味を持って メンタル大切に / DE-RADIO-2023-06-26
sizuhiko
0
210
ヘビータブユーザーが ワークスペースの利用でどのように変わったか / 2023-05-16 Vivaldi User Meetup TOKYO 2023
sizuhiko
0
390
Node.js v18 ベースイメージを使った AWS Lambda アプリ開発におけつ光と影 / 2023-04-23 JavaScript Fes
sizuhiko
0
260
@swc-node/jest を使って テストを高速化する/jsfes-2022
sizuhiko
0
430
Rails 7の採用提案で注目を集め始めた Import maps の過去、現在、そして未来について/de radio 2
sizuhiko
2
1.5k
Other Decks in Technology
See All in Technology
AIで開発は速くなったのに、なぜ現場は楽にならないのか 〜あなたの組織のボトルネックを突き止めるワークショップ〜
jacopen
1
310
Where Is JetBrains AI Heading- — Central CLI, Air Alpha, and the Agentic Development Stack
x5gtrn
PRO
0
150
【視聴者参加型!】AWSセキュリティアンチパターンクイズ
syoshie
1
490
コーディングエージェントでM5Stack系の開発を少し試した時の話 / M5 Japan Tour 2026 Autumn 東京
you
PRO
0
140
Sigmaで作る業務アプリ
kazushiro_honma
0
110
SQL文一行も書けない人事がCortexもろもろを使って人事業務を楽にしてみる
ponponmikankan
1
210
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
600
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
300
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
670
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
130
10分で知る最近のOmarchy
komagata
0
250
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
820
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Making the Leap to Tech Lead
cromwellryan
135
10k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
A Tale of Four Properties
chriscoyier
163
24k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
WENDY [Excerpt]
tessaabrams
13
39k
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