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
95
Compression Streams API によるブラウザネイティブなデータ圧縮 /phpstudy-182
sizuhiko
0
98
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
260
@swc-node/jest を使って テストを高速化する/jsfes-2022
sizuhiko
0
440
Rails 7の採用提案で注目を集め始めた Import maps の過去、現在、そして未来について/de radio 2
sizuhiko
2
1.5k
Other Decks in Technology
See All in Technology
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
280
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
150
Claude起点の仕様駆動開発
tanakaseiya
0
300
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
160
プラットフォームを「作る」、 チームに「入り込む」
sansantech
PRO
0
540
形式手法を使って仕様をコーディングしよう
mikanichinose
0
170
行動するAIのためのオントロジー | DevRev — Encraft #26.pdf
dvrv_tknrszk
2
670
[2026 Oracle Technical Deep Dive] エンタープライズAIエージェントを支えるOCIソリューション。ラインナップと特徴を理解しよう! (2026年9月17日開催)
oracle4engineer
PRO
0
280
[2026 Oracle Technical Deep Dive] オンプレミスDBのCloud移行アプローチ:移行計画に基づくメソッドとツールの選択 (2026年9月17日開催)
oracle4engineer
PRO
0
110
AWS FinOps Agent 結局何が得意なの?
siromi
0
230
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
320
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
130
Featured
See All Featured
Test your architecture with Archunit
thirion
2
2.4k
Are puppies a ranking factor?
jonoalderson
2
4k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Designing for Performance
lara
611
70k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Technical Leadership for Architectural Decision Making
baasie
3
590
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
A Soul's Torment
seathinner
8
3.7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
550
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