Suche senden
Hochladen
Kiosk / PHP
•
Als KEY, PDF herunterladen
•
2 gefällt mir
•
1,376 views
Basuke Suzuki
Folgen
Kiosk is the PHP Library for both MongoDB + traditional RDB.
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 30
Jetzt herunterladen
Empfohlen
Shankar's mongo db presentation
Shankar's mongo db presentation
Shankar Kamble
第一回MongoDBソースコードリーディング
第一回MongoDBソースコードリーディング
nobu_k
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
Philip Stehlik
CouchDB Open Source Bridge
CouchDB Open Source Bridge
Chris Anderson
アジャイルな開発をチームで やってみた(2010年版) - PHP Matsuri編
アジャイルな開発をチームで やってみた(2010年版) - PHP Matsuri編
Hiroki Ohtsuka
MongoDB at RuPy
MongoDB at RuPy
Mike Dirolf
Couchdb Nosql
Couchdb Nosql
elliando dias
龍華大學前端技術分享 Part1
龍華大學前端技術分享 Part1
Jia-Long Yeh
Empfohlen
Shankar's mongo db presentation
Shankar's mongo db presentation
Shankar Kamble
第一回MongoDBソースコードリーディング
第一回MongoDBソースコードリーディング
nobu_k
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
Philip Stehlik
CouchDB Open Source Bridge
CouchDB Open Source Bridge
Chris Anderson
アジャイルな開発をチームで やってみた(2010年版) - PHP Matsuri編
アジャイルな開発をチームで やってみた(2010年版) - PHP Matsuri編
Hiroki Ohtsuka
MongoDB at RuPy
MongoDB at RuPy
Mike Dirolf
Couchdb Nosql
Couchdb Nosql
elliando dias
龍華大學前端技術分享 Part1
龍華大學前端技術分享 Part1
Jia-Long Yeh
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Julian Viereck
Redis At 6Wunderkinder
Redis At 6Wunderkinder
Sebastian Kreutzberger
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Myles Braithwaite
Administration
Administration
MongoSF
NoSQL - An introduction to CouchDB
NoSQL - An introduction to CouchDB
Jonathan Weiss
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
MongoDB at GUL
MongoDB at GUL
Israel Gutiérrez
Redis
Redis
Ramon Wartala
FrozenRails Training
FrozenRails Training
Mike Dirolf
Create a RESTful API with NodeJS, Express and MongoDB
Create a RESTful API with NodeJS, Express and MongoDB
Hengki Sihombing
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
Mike Dirolf
MongoDB: How it Works
MongoDB: How it Works
Mike Dirolf
Rails with MongoDB - RORLab 47th
Rails with MongoDB - RORLab 47th
Eugene Park
A simple introduction to redis
A simple introduction to redis
Zhichao Liang
Python Files
Python Files
Vikram Nandini
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
GAURAV SHROFF
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
Andrey Rebrov
Heroku Dockerの使い所
Heroku Dockerの使い所
Yusuke Kon
Redis Overview
Redis Overview
Hoang Long
iEvoBio 2010 cdaostore
iEvoBio 2010 cdaostore
Brandon Chisham
Android community which takes a lead in the virtuous cycle structure establis...
Android community which takes a lead in the virtuous cycle structure establis...
동호 한
Weitere ähnliche Inhalte
Was ist angesagt?
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Julian Viereck
Redis At 6Wunderkinder
Redis At 6Wunderkinder
Sebastian Kreutzberger
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Myles Braithwaite
Administration
Administration
MongoSF
NoSQL - An introduction to CouchDB
NoSQL - An introduction to CouchDB
Jonathan Weiss
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
MongoDB at GUL
MongoDB at GUL
Israel Gutiérrez
Redis
Redis
Ramon Wartala
FrozenRails Training
FrozenRails Training
Mike Dirolf
Create a RESTful API with NodeJS, Express and MongoDB
Create a RESTful API with NodeJS, Express and MongoDB
Hengki Sihombing
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
Mike Dirolf
MongoDB: How it Works
MongoDB: How it Works
Mike Dirolf
Rails with MongoDB - RORLab 47th
Rails with MongoDB - RORLab 47th
Eugene Park
A simple introduction to redis
A simple introduction to redis
Zhichao Liang
Python Files
Python Files
Vikram Nandini
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
GAURAV SHROFF
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
Andrey Rebrov
Heroku Dockerの使い所
Heroku Dockerの使い所
Yusuke Kon
Redis Overview
Redis Overview
Hoang Long
Was ist angesagt?
(20)
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Redis At 6Wunderkinder
Redis At 6Wunderkinder
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Administration
Administration
NoSQL - An introduction to CouchDB
NoSQL - An introduction to CouchDB
Getting Started with MongoDB
Getting Started with MongoDB
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoDB at GUL
MongoDB at GUL
Redis
Redis
FrozenRails Training
FrozenRails Training
Create a RESTful API with NodeJS, Express and MongoDB
Create a RESTful API with NodeJS, Express and MongoDB
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
MongoDB: How it Works
MongoDB: How it Works
Rails with MongoDB - RORLab 47th
Rails with MongoDB - RORLab 47th
A simple introduction to redis
A simple introduction to redis
Python Files
Python Files
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
Ui5 con@Banglore - UI5 App with Offline Storage using PouchDB
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
Heroku Dockerの使い所
Heroku Dockerの使い所
Redis Overview
Redis Overview
Andere mochten auch
iEvoBio 2010 cdaostore
iEvoBio 2010 cdaostore
Brandon Chisham
Android community which takes a lead in the virtuous cycle structure establis...
Android community which takes a lead in the virtuous cycle structure establis...
동호 한
Technology Basics
Technology Basics
smborer
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
Basuke Suzuki
Women's week on Techstory.in
Women's week on Techstory.in
diptigore
Cdao Obo Workshop 2010 (3)
Cdao Obo Workshop 2010 (3)
Brandon Chisham
Cdao Evolution08
Cdao Evolution08
Brandon Chisham
Andere mochten auch
(7)
iEvoBio 2010 cdaostore
iEvoBio 2010 cdaostore
Android community which takes a lead in the virtuous cycle structure establis...
Android community which takes a lead in the virtuous cycle structure establis...
Technology Basics
Technology Basics
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
iPhoneのオモチャ箱 - 刊行記念イベント@ジュンク堂新宿 - バスケ
Women's week on Techstory.in
Women's week on Techstory.in
Cdao Obo Workshop 2010 (3)
Cdao Obo Workshop 2010 (3)
Cdao Evolution08
Cdao Evolution08
Ähnlich wie Kiosk / PHP
MongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overview
Antonio Pintus
Building APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
Antonio Peric-Mazar
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
DevLOVE Beautiful Development - 第一幕 陽の巻
DevLOVE Beautiful Development - 第一幕 陽の巻
都元ダイスケ Miyamoto
REST easy with API Platform
REST easy with API Platform
Antonio Peric-Mazar
PHPカンファレンス関西2011/スマートフォン時代のWebシステム
PHPカンファレンス関西2011/スマートフォン時代のWebシステム
kumatch kumatch
Mongo NYC PHP Development
Mongo NYC PHP Development
Fitz Agard
Phpstormを使いこなす
Phpstormを使いこなす
Yutaka Tachibana
Mongo db admin_20110329
Mongo db admin_20110329
radiocats
How dojo works
How dojo works
Amit Tyagi
Letswift19-clean-architecture
Letswift19-clean-architecture
Jung Kim
Introduction to protocol buffer
Introduction to protocol buffer
Tim (文昌)
IVS CTO Night And Day 2018 Winter - [re:Cap] Serverless & Mobile
IVS CTO Night And Day 2018 Winter - [re:Cap] Serverless & Mobile
Amazon Web Services Japan
Top ten-list
Top ten-list
Brian DeShong
On the Edge Systems Administration with Golang
On the Edge Systems Administration with Golang
Chris McEniry
MongoDB on CloudFoundry
MongoDB on CloudFoundry
Yohei Sasaki
MongoDB on CloudFoundry
MongoDB on CloudFoundry
Yohei Sasaki
Building APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
Antonio Peric-Mazar
Service stack all the things
Service stack all the things
cyberzeddk
Introduction to FIWARE IoT
Introduction to FIWARE IoT
Fernando Lopez Aguilar
Ähnlich wie Kiosk / PHP
(20)
MongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overview
Building APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
DevLOVE Beautiful Development - 第一幕 陽の巻
DevLOVE Beautiful Development - 第一幕 陽の巻
REST easy with API Platform
REST easy with API Platform
PHPカンファレンス関西2011/スマートフォン時代のWebシステム
PHPカンファレンス関西2011/スマートフォン時代のWebシステム
Mongo NYC PHP Development
Mongo NYC PHP Development
Phpstormを使いこなす
Phpstormを使いこなす
Mongo db admin_20110329
Mongo db admin_20110329
How dojo works
How dojo works
Letswift19-clean-architecture
Letswift19-clean-architecture
Introduction to protocol buffer
Introduction to protocol buffer
IVS CTO Night And Day 2018 Winter - [re:Cap] Serverless & Mobile
IVS CTO Night And Day 2018 Winter - [re:Cap] Serverless & Mobile
Top ten-list
Top ten-list
On the Edge Systems Administration with Golang
On the Edge Systems Administration with Golang
MongoDB on CloudFoundry
MongoDB on CloudFoundry
MongoDB on CloudFoundry
MongoDB on CloudFoundry
Building APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
Service stack all the things
Service stack all the things
Introduction to FIWARE IoT
Introduction to FIWARE IoT
Mehr von Basuke Suzuki
CoAP Talk
CoAP Talk
Basuke Suzuki
初めての単体テスト
初めての単体テスト
Basuke Suzuki
Introducing CakeEntity
Introducing CakeEntity
Basuke Suzuki
Introducing CakeEntity
Introducing CakeEntity
Basuke Suzuki
PostgreSQLからMongoDBへ
PostgreSQLからMongoDBへ
Basuke Suzuki
iOS4時代の位置情報サービスの使い方
iOS4時代の位置情報サービスの使い方
Basuke Suzuki
Mehr von Basuke Suzuki
(6)
CoAP Talk
CoAP Talk
初めての単体テスト
初めての単体テスト
Introducing CakeEntity
Introducing CakeEntity
Introducing CakeEntity
Introducing CakeEntity
PostgreSQLからMongoDBへ
PostgreSQLからMongoDBへ
iOS4時代の位置情報サービスの使い方
iOS4時代の位置情報サービスの使い方
Kürzlich hochgeladen
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
+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@
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Kürzlich hochgeladen
(20)
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Kiosk / PHP
1.
Kiosk / PHP The
Schema Layer for @basuke CTO https://github.com/basuke/kiosk
2.
Schema is not
Your Enemy
3.
•
@basuke • Mac / iPhone / Newton • PHP : 10+ years • • Pythonist
4.
•
http://www.kanshin.com/ 2001 • AssistOn http://www.assiston.co.jp/ 2004 • https://tabidachi.ana.co.jp/ 2006 • http://app.rmbl.in/ 2009
5.
Kiosk • PHP • Active
Record • MongoDB • GitHub • https://github.com/basuke/kiosk
6.
MongoDB
(1) • • 2009 Twitter • Python • TokyoTyrant • 2010 5 MongoDB • MondoDB
7.
MongoDB
(2) • AssistOn • http://www.assiston.co.jp/ • • 2010 PostgreSQL • 2011 • • Lithium Kiosk
8.
MongoDB •
• • PHP Mongo • • •
9.
• Running code
is the only clue for the structure. • RDB • • •
10.
PHP • MongoDB •
• • $doc = $_POST; •
11.
•
• • { name: "Taro", age: 30, tags:["iPod", "MacBookAir"]} • { n:"Taro", a: 30, t:["iPod", "MacBookAir"]} • • $doc = $db->users->find(array('t'=>'iPod')); • $name = $doc['n']; • w
12.
Kiosk •
Active Record • PHP • • MongoDB • • •
13.
Kiosk • CakePHP conditions
• 'weight >' => 50.0 • • • • GitHub
14.
Active Record ActiveRecord is
"an object that wraps a row in a database table or view, encapsulates database access and adds domain logic on that data". Fowler, 2003 http://www.martinfowler.com/books.html
15.
Active Record • • •
MVC V C • PHP5
16.
• collection and
entity • • • •
17.
configuration •
bind • class User extends Kiosk { } • User::bind($source, array( ... ));
18.
configuration (cont.) • PHP
• Ruby • • User User
19.
configuration (cont.) •
Kiosk • Kiosk • ActiveRecord • Kiosk_find('User', array( ... )) • Kiosk_save($entity);
20.
configuration (cont.) • PHP
5.3 • User::find • User_find
21.
CRUD • User::create() • User::import() •
User::find() • User::count() • $user->save() • $user->fetch() • $user->destroy()
22.
configuration details • • •
23.
associations • DBRef • •
typed column • • hasOne / hasMany pseudo column •
24.
• • • Many to
Many •
25.
Migration!
26.
• •
RDB • RDB
27.
Kiosk
RDB ORM • PostgreSQL Sqlite MySQL pdo • • RDB+MongoDB •
28.
PHP4
w • • User::find() • MongoDB • MongoDB PHP5
29.
PHP4 •
• Exception • • •
30.
Thanks https://github.com/basuke/kiosk
Hinweis der Redaktion
\n
\n
\n
\n
\n
\n
\n
\n
スタートアップ時は、いろいろいじる\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
現場レベルで一番の関心事\n
AssistOnでもそこがネック\n
\n
\n
\n
\n
Jetzt herunterladen