Suche senden
Hochladen
PHPTAL with CakePHP
•
4 gefällt mir
•
4,177 views
Takashi Nojima
Folgen
第一回デザイナー向けCakePHP勉強会のLT発表資料です。PHPTALの概要、CakePHPでの利用方法について紹介します。
Weniger lesen
Mehr lesen
Technologie
News & Politik
Melden
Teilen
Melden
Teilen
1 von 45
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)
Linux User's Group
Html5 cheat sheet
Html5 cheat sheet
Tharun Kumar
basic knowledge abot html
basic knowledge abot html
Ankit Dubey
SQL: Querying Multiple Tables
SQL: Querying Multiple Tables
RJ Podeschi
Php File Operations
Php File Operations
Jamshid Hashimi
Ch1(introduction to php)
Ch1(introduction to php)
Chhom Karath
Table and Form HTML&CSS
Table and Form HTML&CSS
Yaowaluck Promdee
XML processing with perl
XML processing with perl
Joe Jiang
Empfohlen
Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)
Linux User's Group
Html5 cheat sheet
Html5 cheat sheet
Tharun Kumar
basic knowledge abot html
basic knowledge abot html
Ankit Dubey
SQL: Querying Multiple Tables
SQL: Querying Multiple Tables
RJ Podeschi
Php File Operations
Php File Operations
Jamshid Hashimi
Ch1(introduction to php)
Ch1(introduction to php)
Chhom Karath
Table and Form HTML&CSS
Table and Form HTML&CSS
Yaowaluck Promdee
XML processing with perl
XML processing with perl
Joe Jiang
Teri's Resume
Teri's Resume
teri louk
Can WordPress really do that? A case study of vierderduer.no
Can WordPress really do that? A case study of vierderduer.no
Morten Rand-Hendriksen
Secure your folder with password/without any software
Secure your folder with password/without any software
Mohd Sajjad
Using MySQL in a web-scale environment
Using MySQL in a web-scale environment
David Landgren
Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11
Goro Fuji
HTML Templates Using Clear Silver
HTML Templates Using Clear Silver
PaulWay
Popstat1 sh
Popstat1 sh
Ben Pope
PHP Filing
PHP Filing
Nisa Soomro
Cake php4designers
Cake php4designers
Seiji Ogawa
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
Kazuhiro Hara
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
VirtualTech Japan Inc.
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
Takatoshi Kakimoto
安全なPHPアプリケーションの作り方2016
安全なPHPアプリケーションの作り方2016
Hiroshi Tokumaru
PHPの今とこれから2016
PHPの今とこれから2016
Rui Hirokawa
PHP AST 徹底解説
PHP AST 徹底解説
do_aki
Xml and xslt
Xml and xslt
SadahAnjumShanto
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
Stephan Schmidt
XML Transformations With PHP
XML Transformations With PHP
Stephan Schmidt
APEX Themes and Templates
APEX Themes and Templates
InSync Conference
Introduction To Xml
Introduction To Xml
bdebruin
Forum Presentation
Forum Presentation
Angus Pratt
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Tatsuhiko Miyagawa
Weitere ähnliche Inhalte
Was ist angesagt?
Teri's Resume
Teri's Resume
teri louk
Can WordPress really do that? A case study of vierderduer.no
Can WordPress really do that? A case study of vierderduer.no
Morten Rand-Hendriksen
Secure your folder with password/without any software
Secure your folder with password/without any software
Mohd Sajjad
Using MySQL in a web-scale environment
Using MySQL in a web-scale environment
David Landgren
Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11
Goro Fuji
HTML Templates Using Clear Silver
HTML Templates Using Clear Silver
PaulWay
Popstat1 sh
Popstat1 sh
Ben Pope
PHP Filing
PHP Filing
Nisa Soomro
Was ist angesagt?
(8)
Teri's Resume
Teri's Resume
Can WordPress really do that? A case study of vierderduer.no
Can WordPress really do that? A case study of vierderduer.no
Secure your folder with password/without any software
Secure your folder with password/without any software
Using MySQL in a web-scale environment
Using MySQL in a web-scale environment
Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11
HTML Templates Using Clear Silver
HTML Templates Using Clear Silver
Popstat1 sh
Popstat1 sh
PHP Filing
PHP Filing
Andere mochten auch
Cake php4designers
Cake php4designers
Seiji Ogawa
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
Kazuhiro Hara
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
VirtualTech Japan Inc.
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
Takatoshi Kakimoto
安全なPHPアプリケーションの作り方2016
安全なPHPアプリケーションの作り方2016
Hiroshi Tokumaru
PHPの今とこれから2016
PHPの今とこれから2016
Rui Hirokawa
PHP AST 徹底解説
PHP AST 徹底解説
do_aki
Andere mochten auch
(7)
Cake php4designers
Cake php4designers
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
MVCのVを極めしWebデザイナーになる - CakePHP勉強会
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
アプリケーション性能管理(APM)ツールの新世代 「AppDynamics」のご紹介 – OpenStack最新情報セミナー 2015年7月
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
App Dynamics case study on U-NEXT at AppJam 2015 in TOKYO
安全なPHPアプリケーションの作り方2016
安全なPHPアプリケーションの作り方2016
PHPの今とこれから2016
PHPの今とこれから2016
PHP AST 徹底解説
PHP AST 徹底解説
Ähnlich wie PHPTAL with CakePHP
Xml and xslt
Xml and xslt
SadahAnjumShanto
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
Stephan Schmidt
XML Transformations With PHP
XML Transformations With PHP
Stephan Schmidt
APEX Themes and Templates
APEX Themes and Templates
InSync Conference
Introduction To Xml
Introduction To Xml
bdebruin
Forum Presentation
Forum Presentation
Angus Pratt
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Tatsuhiko Miyagawa
Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4
Stephan Schmidt
Html5 Overview
Html5 Overview
Owen Williams
Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)
Michiel Rook
13. view data
13. view data
Razvan Raducanu, PhD
PHP Presentation
PHP Presentation
Nikhil Jain
Changing Template Engine
Changing Template Engine
Takatsugu Shigeta
BITM3730 9-13.pptx
BITM3730 9-13.pptx
MattMarino13
REST, HTTP, and the PATCH verb (with kittens)
REST, HTTP, and the PATCH verb (with kittens)
almostobsolete
REST dojo Comet
REST dojo Comet
Carol McDonald
Tornado
Tornado
Cristian Andreica
20120424 b
20120424 b
slidesharepimp
Lab final
Lab final
Maddineni Nagabhushanam
PHPTAL introduction
PHPTAL introduction
'"">
Ähnlich wie PHPTAL with CakePHP
(20)
Xml and xslt
Xml and xslt
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
XML Transformations With PHP
XML Transformations With PHP
APEX Themes and Templates
APEX Themes and Templates
Introduction To Xml
Introduction To Xml
Forum Presentation
Forum Presentation
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4
Html5 Overview
Html5 Overview
Phing - A PHP Build Tool (An Introduction)
Phing - A PHP Build Tool (An Introduction)
13. view data
13. view data
PHP Presentation
PHP Presentation
Changing Template Engine
Changing Template Engine
BITM3730 9-13.pptx
BITM3730 9-13.pptx
REST, HTTP, and the PATCH verb (with kittens)
REST, HTTP, and the PATCH verb (with kittens)
REST dojo Comet
REST dojo Comet
Tornado
Tornado
20120424 b
20120424 b
Lab final
Lab final
PHPTAL introduction
PHPTAL introduction
Mehr von Takashi Nojima
Composerはじめました
Composerはじめました
Takashi Nojima
Plugin for CakePHP2.0
Plugin for CakePHP2.0
Takashi Nojima
jQuery プラグイン作成入門
jQuery プラグイン作成入門
Takashi Nojima
CakePHP SessionAcl Component
CakePHP SessionAcl Component
Takashi Nojima
Mixi kit
Mixi kit
Takashi Nojima
TwitterKitではじめる OAuthスピードクッキング
TwitterKitではじめる OAuthスピードクッキング
Takashi Nojima
Mehr von Takashi Nojima
(6)
Composerはじめました
Composerはじめました
Plugin for CakePHP2.0
Plugin for CakePHP2.0
jQuery プラグイン作成入門
jQuery プラグイン作成入門
CakePHP SessionAcl Component
CakePHP SessionAcl Component
Mixi kit
Mixi kit
TwitterKitではじめる OAuthスピードクッキング
TwitterKitではじめる OAuthスピードクッキング
Kürzlich hochgeladen
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
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
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Zilliz
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Kürzlich hochgeladen
(20)
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
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
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
PHPTAL with CakePHP
1.
PHPTAL with CakePHP
July 2011 CakePHP
2.
About Me •
WEB Developer / PHP / CakePHP / HTML / CSS / jQuery / MySQL / iPhone / / / / / / / / no more • BLOG: http://php-tips.com/ • TWITTER: @nojimage
3.
Template Engine
4.
Template Engine •
HTML • Smarty, Twig, PHP, PHPTAL, etc...
5.
Data
Template Template Engine HTML, RSS Feed, etc...
6.
PHPTAL
7.
TAL •
XHTML(XML) • http://wiki.zope.org/ZPT/TAL
8.
Templae Attribute Language •
XHTML(XML) • http://wiki.zope.org/ZPT/TAL
9.
PHPTAL • Zope
TAL PHP • http://phptal.org/ • http://phptal.org/manual/ja/
10.
code
11.
12.
Data
13.
$people = array(
array( ‘name’ => ‘Taro Yamada’, ‘phone’ => ‘090-0000-0000’ ), array( ‘name’ => ‘Hisateru Tanaka’, ‘phone’ => ’06-XXXX-XXXX’ ), // ... );
14.
HTML
15.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> <tr> <td>person's name</td> <td>person's phone</td> </tr> <tr> <td>sample name</td> <td>sample phone</td> </tr> </table>
16.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> <tr> <td>person's name</td> <td>person's phone</td> </tr> <tr> <td>sample name</td> <td>sample phone</td> </tr> </table>
17.
PHP
18.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> <?php foreach ($people as $person) : ?> <tr> <td><?php echo $person['name']; ?></td> <td><?php echo $person['phone']; ?></td> </tr> <?php endforeach; ?> </table>
19.
Smarty
is not smart...
20.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> {foreach from=$people item=person} <tr> <td>{$person.name}</td> <td>{$person.phone}</td> </tr> {/foreach} </table>
21.
PHPTAL
22.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> <tr tal:repeat="person people"> <td tal:content="person/name">person's name</td> <td tal:content="person/phone">person's phone</td> </tr> <tr tal:replace=""> <td>sample name</td> <td>sample phone</td> </tr> </table>
23.
<table>
<tr> <th>Name</th> <th>Phone</th> </tr> <tr tal:repeat="person people"> <td tal:content="person/name">person's HTML name</td> <td tal:content="person/phone">person's phone</td> </tr> <tr tal:replace=""> <td>sample name</td> <td>sample phone</td> </tr> </table>
24.
in Browser
25.
in Browser
26.
in Browser
27.
in Browser HTML
28.
HTML
29.
30.
PHPTAL •
1. tal:define 7. tal:attributes 2. tal:condition 8. tal:on-error 3. tal:repeat 9. metal:define-macro 4. tal:omit-tag 10. metal:use-macro 5. tal:replace 11. metal:define-slot 6. tal:content 12. metal:fill-slot
31.
PHPTAL is Smart!
32.
33.
PHPTAL
34.
35.
36.
PHPTAL with CakePHP
37.
CakePHP-TALTAL
plugin
38.
https://github.com/nojimage/
CakePHP-TALTAL
39.
Feature •
html, xhtml, zpt PHPTAL • ctp PHP OK •
40.
Feature • url,
fullurl • cake:helper
41.
Installation • git
clone or download • set to plugins/taltal • write to AppController class AppController extends Controller { // ...(snip) public $view = 'Taltal.Phptal'; // ...(snip) }
42.
Let’s Try PHPTAL!!
PHPTAL
43.
CakePHP-TALTAL • https://github.com/nojimage/CakePHP-TALTAL • since
2011/06/01 • version 0.3.1
Jetzt herunterladen