Enviar pesquisa
Carregar
Pecha Kucha
•
Transferir como KEY, PDF
•
0 gostou
•
453 visualizações
Jose Diaz-Gonzalez
Seguir
Awesome-sauce CakePHP Pecha Kucha Talk by yours truly
Leia menos
Leia mais
Tecnologia
Diversão e humor
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 20
Baixar agora
Recomendados
Cpsh sh
Cpsh sh
Ben Pope
Nomethoderror talk
Nomethoderror talk
Jan Berdajs
Ecmascript 6
Ecmascript 6
Gatuk S. Chattanon
Ruby ile tanışma!
Ruby ile tanışma!
Uğur Özyılmazel
Rails by example
Rails by example
Angelo van der Sijpt
My First Ruby
My First Ruby
Murray Steele
Device deployment
Device deployment
Angelo van der Sijpt
Software Dendrology by Brandon Bloom
Software Dendrology by Brandon Bloom
Hakka Labs
Recomendados
Cpsh sh
Cpsh sh
Ben Pope
Nomethoderror talk
Nomethoderror talk
Jan Berdajs
Ecmascript 6
Ecmascript 6
Gatuk S. Chattanon
Ruby ile tanışma!
Ruby ile tanışma!
Uğur Özyılmazel
Rails by example
Rails by example
Angelo van der Sijpt
My First Ruby
My First Ruby
Murray Steele
Device deployment
Device deployment
Angelo van der Sijpt
Software Dendrology by Brandon Bloom
Software Dendrology by Brandon Bloom
Hakka Labs
ภาษา C
ภาษา C
Noppanon YourJust'one
Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011
Angelo van der Sijpt
Noung — Snakes of the Tonle Sap
Noung — Snakes of the Tonle Sap
Nerd Nite Siem Reap
Barcelona.pm Curs1211 sess01
Barcelona.pm Curs1211 sess01
Javier Arturo Rodríguez
Getfilestruct zbksh(1)
Getfilestruct zbksh(1)
Ben Pope
Тройничок: Selenide для Web, Android и iOS
Тройничок: Selenide для Web, Android и iOS
Andrei Solntsev
Ruby Robots
Ruby Robots
Daniel Cukier
Cheap frontend tricks
Cheap frontend tricks
ambiescent
Bringing characters to life for immersive storytelling
Bringing characters to life for immersive storytelling
Dioselin Gonzalez
Gem christmas calendar
Gem christmas calendar
erichsen
Evolving systems and the link to service orientation
Evolving systems and the link to service orientation
Angelo van der Sijpt
Java & Script ─ 清羽
Java & Script ─ 清羽
taobao.com
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Adolfo Sanz De Diego
Islam House
Islam House
Haris Padinharethil
Starting out with Ember.js
Starting out with Ember.js
Anirudh Shivanand
Bash and regular expressions
Bash and regular expressions
plarsen67
Protecting the Future of Mobile Payments
Protecting the Future of Mobile Payments
Jonathan LeBlanc
☣ ppencode ♨
☣ ppencode ♨
Audrey Tang
Beginner's Sinatra
Beginner's Sinatra
Tomokazu Kiyohara
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Mais conteúdo relacionado
Mais procurados
ภาษา C
ภาษา C
Noppanon YourJust'one
Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011
Angelo van der Sijpt
Noung — Snakes of the Tonle Sap
Noung — Snakes of the Tonle Sap
Nerd Nite Siem Reap
Barcelona.pm Curs1211 sess01
Barcelona.pm Curs1211 sess01
Javier Arturo Rodríguez
Getfilestruct zbksh(1)
Getfilestruct zbksh(1)
Ben Pope
Тройничок: Selenide для Web, Android и iOS
Тройничок: Selenide для Web, Android и iOS
Andrei Solntsev
Ruby Robots
Ruby Robots
Daniel Cukier
Cheap frontend tricks
Cheap frontend tricks
ambiescent
Bringing characters to life for immersive storytelling
Bringing characters to life for immersive storytelling
Dioselin Gonzalez
Gem christmas calendar
Gem christmas calendar
erichsen
Evolving systems and the link to service orientation
Evolving systems and the link to service orientation
Angelo van der Sijpt
Java & Script ─ 清羽
Java & Script ─ 清羽
taobao.com
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Adolfo Sanz De Diego
Islam House
Islam House
Haris Padinharethil
Starting out with Ember.js
Starting out with Ember.js
Anirudh Shivanand
Bash and regular expressions
Bash and regular expressions
plarsen67
Protecting the Future of Mobile Payments
Protecting the Future of Mobile Payments
Jonathan LeBlanc
☣ ppencode ♨
☣ ppencode ♨
Audrey Tang
Beginner's Sinatra
Beginner's Sinatra
Tomokazu Kiyohara
Mais procurados
(19)
ภาษา C
ภาษา C
Massive device deployment - EclipseCon 2011
Massive device deployment - EclipseCon 2011
Noung — Snakes of the Tonle Sap
Noung — Snakes of the Tonle Sap
Barcelona.pm Curs1211 sess01
Barcelona.pm Curs1211 sess01
Getfilestruct zbksh(1)
Getfilestruct zbksh(1)
Тройничок: Selenide для Web, Android и iOS
Тройничок: Selenide для Web, Android и iOS
Ruby Robots
Ruby Robots
Cheap frontend tricks
Cheap frontend tricks
Bringing characters to life for immersive storytelling
Bringing characters to life for immersive storytelling
Gem christmas calendar
Gem christmas calendar
Evolving systems and the link to service orientation
Evolving systems and the link to service orientation
Java & Script ─ 清羽
Java & Script ─ 清羽
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Islam House
Islam House
Starting out with Ember.js
Starting out with Ember.js
Bash and regular expressions
Bash and regular expressions
Protecting the Future of Mobile Payments
Protecting the Future of Mobile Payments
☣ ppencode ♨
☣ ppencode ♨
Beginner's Sinatra
Beginner's Sinatra
Último
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
lior mazor
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Último
(20)
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Pecha Kucha
1.
AUTHSOME PLUGINS FOR
CAKEPHP
2.
~WHOAMI • Jose
Diaz-Gonzalez • Resident IRC Troll (savant) • Rants at http://josediazgonzalez.com ➘ • Harasses as @savant me • Codes as josegonzalez on github • EMPLOYED at @seatgeek not me ➘ I’m also hot like sriracha sauce
3.
4.
AUTHSOME https://github.com/felixge/cakephp-authsome /** * Finds the current user for the dashboard * * @param string $state Either "before" or "after" * @param array $query * @return mixed array of results or false if none found * @return array */ function _findUser($state, $query, $results = array()) { if ($state == 'before') { $user_id = false; if (!empty($query[0])) { $user_id = $query[0]; } elseif (!empty($query['id'])){ $user_id = $query['id']; } else { $user_id = Authsome::get($this‐>primaryKey); } if (empty($user_id)) { throw new OutOfBoundsException(__('Invalid maintainer', true)); } $query['contain'] = false; $query['conditions'] = array("{$this‐>alias}.{$this‐>primaryKey}" => $user_id); $query['limit'] = 1; return $query; } elseif ($state == 'after') { if (empty($results[0])) { throw new OutOfBoundsException(__('Invalid user', true)); } return $results[0]; } }
5.
6.
7.
SEARCH <?php
https://github.com/CakeDC/Search class Article extends AppModel { public $actsAs = array('Search.Searchable'); public $belongsTo = array('User'); public $hasAndBelongsToMany = array('Tag' => array('with' => 'Tagged')); public $filterArgs = array( array('name' => 'title', 'type' => 'like'), array('name' => 'status', 'type' => 'value'), array('name' => 'blog_id', 'type' => 'value'), array('name' => 'search', 'type' => 'like', 'field' => 'Article.description'), array('name' => 'username', 'type' => 'like', 'field' => 'User.username'), array('name' => 'tags', 'type' => 'subquery', 'method' => 'findByTags', 'field' => 'Article.id'), array('name' => 'filter', 'type' => 'query', 'method' => 'orConditions'), ); public function findByTags($data = array()) { $this‐>Tagged‐>Behaviors‐>attach('Containable', array('autoFields' => false)); $this‐>Tagged‐>Behaviors‐>attach('Search.Searchable'); $query = $this‐>Tagged‐>getQuery('all', array( 'conditions' => array('Tag.name' => $data['tags']), 'fields' => array('foreign_key'), 'contain' => array('Tag') )); return $query; } public function orConditions($data = array()) { $filter = $data['filter']; $cond = array( 'OR' => array( $this‐>alias . '.title LIKE' => '%' . $filter . '%', $this‐>alias . '.body LIKE' => '%' . $filter . '%', )); return $cond; } }
8.
9.
LAZY MODEL https://github.com/Phally/lazy_model
10.
11.
12.
13.
ASSET COMPRESS https://github.com/markstory/asset_compress
14.
15.
DEBUG KIT https://github.com/cakephp/debug_kit
16.
17.
CODE CHECK https://github.com/petteyg/code_check
18.
19.
RESQUE PLUGIN https://github.com/mikesmullin/CakePHP-PHP-Resque-Plugin
Notas do Editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Baixar agora