ãRealm Tech Talk with JP Simard #1ãã«åå ãã¦ãã¾ãã
åéãã¼ã¸
Realm Tech Talk with JP Simard #1 - connpass
http://realm.connpass.com/event/11814/
Realm ã¨ã¯ï¼
Realm ã®èªã¿æ¹ã¯ãã¬ã«ã ããæè¿ããã®åä½é度ã®é¢ãªã©ã§è©±é¡ã«æã£ã¦ãã主ã«ã¢ãã¤ã«åããæ³å®ãã DB ãæ³å®ãããæ´»ç¨ã·ã¼ã³ã¯ç¾å¨ã SQLite ã使ã£ã¦ããæ§ãªå ´é¢ã
Realm: a mobile database that replaces Core Data & SQLite
http://realm.io/
iOS - 次ä¸ä»£mobileçãã¼ã¿ãã¼ã¹"Realm"ã使ã£ã¦ã¿ã - Qiita
http://qiita.com/moriyaman/items/1a2916f4c2b79e934370
Swift + Realm DBããCocoaPodsã§å°å ¥ããæé - Qiita
http://qiita.com/matscube/items/3ed7de879f4efd460c44
Togetter ã¾ã¨ã
Realm Tech Talk with JP Simard #1 - Togetterã¾ã¨ã
http://togetter.com/li/786086
ã»ãã·ã§ã³
Tech Talk with JP Simard from Realm ç»å£è ï¼JP Simard @simjp
â»éçºè ã®ä¸äºº JP Simard ã«ããã»ãã·ã§ã³
ç°å¢ã¯ iOS/Android ããµãã¼ã(çè æ³¨ï¼ Mac ã«ã対å¿)
å®å ¨ã«æ°è¦ä½æããããã®
ã¨ã³ã¸ã³é¨å㯠C++ 製
ãã«ãããã»ã¹ããµãã¼ãäºå®
ã©ã¤ã»ã³ã¹ã¯ Apache 2
Cocoa 㨠Java ãã¤ã³ãã£ã³ã°ãæã
æ°ãã DB ã¯2007å¹´ããæ¥å¢
PC ã§ã¯ KVS ããã«ãããã»ã¹ãªã©æ°ããã¤ããã¼ã·ã§ã³ãå«ãã å®è£ ãåºã¦ãã¦ãã
ãã®è¾ºããã¢ãã¤ã«ã«æã£ã¦æ¥ããã£ã
SQLite ã®ç¹å¾´
- FMDB
æ¬ä½ã®å¤æ´ãæã£ãæã«ä¿®æ£ãå¿ è¦
ccgus/fmdb
https://github.com/ccgus/fmdb
- YapDatabase
ã¯ã¨ãªã¼ãã¼ã¹ã§ãªãã¸ã§ã¯ããåå¾åºæ¥ãªãã O/R ãããã³ã°ãèªåã§ä½ãå¿ è¦ãæã
Views · yapstudios/YapDatabase Wiki
https://github.com/yapstudios/YapDatabase/wiki/Views
- Couchbase Lite
Couchbase Lite | Couchbase - Mobile Developers
http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/
- LevelDB
LevelDBå ¥é (åºæ¬ç·¨) - from scratch
http://yosuke-furukawa.hatenablog.com/entry/2014/05/05/095207
â 200k åã®ãã¼ã¿ã Insert ããæã®ãã³ããã¼ã¯
â Count ã®ãã³ããã¼ã¯
â Query ã«ä¸è´ããã¬ã³ã¼ããå復å¦çããæã®ãã³ããã¼ã¯
GUI ã使ã£ãã¨ãã£ã¿ããã³ã¼ããçæãããã¼ã«ããã
ãªãã¸ã§ã¯ãæå㧠DB ã使ãããã¨ããææ³ã§å®è£
DB ã«ã©ã == Objective-C ã®ããããã£
ignore ããããã£ãè¨å®ããã¨ä½¿ããªãã«ã©ã ãæå®ããäºãå¯è½
swift ã§æ¸ãå ´åã«ã¯ããããã£ã« dynamic å±æ§ãæå®
ä»ã® DB ã®å ´åã«ã¯è¤æ°ã®ã¹ããããå¿
è¦ãªãã®ãå¤ããã Realm ã§ã¯1ã¹ãããã§ç´ãã«æ¸ãè¾¼ã¾ãã
ããããã§ã¤ã³ã§æ¡ä»¶ãè¤æ°æå®å¯è½
DB ã®å¦çãããã°ã©ã ã®ä¸ã«èªç¶ãªå½¢ã§æ¸ããã¨ãå¯è½
ããã¯ã°ã©ã¦ã³ãå¦ç
ãã©ã³ã¶ã¯ã·ã§ã³æ©è½ãæã
éç¥ãæã度㫠Notification ãå¼ã°ãããã®æã«è¡ãå¦çãå®è£
å¯è½
ç¾ç¶ã NSDate ã¯ç§ã¾ã§ããå¦çåºæ¥ãªã(ããªç§é¨åãç¡è¦ããã)ãããã¯ãã«ããã©ãããã©ã¼ã ãçºã«çºçãã¦ãããæ¹åäºå®
代ããã« NSTimeInterval ã使ã£ã¦æ¬²ãã
é常ã¯ç¬èªã® Getter/Setter ã¯ä½¿ããªããå®ç¾©ãã¦ãä¸æ¸ãããã
ã¹ã¬ããéã®ãã¼ã¿ã®ããã¨ãã¯ä»ã¯åºæ¥ãªã
ç¾ç¶ã¯ãã¼ãºãã® Core ã®é¨åããããããªã¼ãã³ã½ã¼ã¹ã«ããäºå®
â Realm ã使ããã¦ããæ¥æ¬ã®ã¢ããª
macaroni [ãã«ãã]
https://itunes.apple.com/jp/app/gurumenotorendomatome-dumi/id871722891?mt=8
Aplos
https://itunes.apple.com/jp/app/aplos/id910000043?mt=8
â Where to find us
Facebook : j.mp/realmjp
Twitter : twitter.com/realm
GitHub : github.com/realm
StackOverflow : stackoverflow.com/questions/tagged/realm
â QA
Q : è¨èªã§è¤æ°ã®ãã©ãããã©ã¼ã åãã«æ¸ãäºã¯åºæ¥ãªããï¼
A : Cocoa 㨠Java ã¨ãã¤ã³ãã£ã³ã°ãæãã®ã⦠ããããçµ±ä¸åã§ããªããé å¼µã£ã¦ã
Q : ã¯ã¨ãªããã§ãã¯ããã³ãã³ãã©ã¤ã³ãã¼ã«ã¯æãï¼
A : ä»ã¯ãªãããã¹ã¯ãããã¢ããªã® Realm Browser ã¨ãããã¼ã«ãå
¬å¼ãã¼ã¸ãããã¦ã³ãã¼ãå¯è½
Q : ã³ã¢é¨å㯠SQLite ãã¼ã¹ããªãªã¸ãã«ãï¼
A : SQLite ã§ã¯ç¡ã TightDB ã¨ããå®è£
â»ç¬èªå®è£
ã®ã¨ã³ã¸ã³ã®ååã TightDB ã¿ãã
CoreDataã¯ããå¤ãï¼æ°ããã¢ãã¤ã«ããã¤ã¹åããã¼ã¿ãã¼ã¹ãRealmãã使ã£ã¦ã¿ã (Swift/Objective-C) - Qiita
http://qiita.com/caesar_cat/items/632d1e85a67f2c65a473
Q : Android ã®å¯¾å¿ç¶æ³ã¯ããããã iOS ã¨ã足並ã¿ãæãã¦è¡ãäºå®ã§ããï¼
A : åºæ¬çã¯ã©ã¡ããä¸ç·ã«ãã¦ããäºå®ãã§ã iOS ã®æ¹ãå
ã«å®è£
ããããã®ãåºã¦æ¥ããã
Q : Android ã§ã¯ãã«ãããæã«ã¨ã©ã¼ãã§ã¦ãã«ãã«å¤±æãããã ãã©â¦
A : å¾ã§ã³ã¼ãè¦ã¾ã
Q : ã¤ã³ã¡ã¢ãªã§ã®å®è¡ã¯ãµãã¼ãããããï¼
A : æ¢ã«æãã¾ã
Cocoa Docs â Realm: a mobile database that replaces Core Data & SQLite
http://realm.io/jp/docs/cocoa/0.87.1/
Q : æªå¯¾å¿ã®ã·ã³ã¿ãã¯ã¹ã¯ãããã対å¿ãããï¼
A : 対å¿æ¸ã¿ã®ãã®ã¯ãã¥ã¼ããªã¢ã«ã«è¨è¼ããµãã¼ãããªãäºå®ã®ãã®ã¯ããã°ã«ã¦å
¬éãã¦ããäºå®
Q : Facebook ã® Parse ã¨æ¯è¼ããäºãæããªããã³ããã¼ã¯ãæãã¦ä¸ãã
A : ãã¼ã«DBã®çºã ãã« Parse ã使ãã®ã¯ãªã¹ã¹ã¡åºæ¥ãªãã Parse èªä½ã¯è¯ããã®(ãã³ããã¼ã¯ã«ã¤ãã¦ã¯å
·ä½çãªè©±ã¯ç¡ã)
realm-javaã使ã£ã¦ã¿ã¦ã®çºè¡¨ ç»å£è ï¼Chatwork å®®ä¸ãã @ryugoo_
ä»ã®åæ§ã®ã©ã¤ãã©ãª
ãããã¼ã®æ¯è¼
ãã«ãã¹ã¬ããã«ã¯å¯¾å¿ãã¦ãªãã®ã§ãªãã¸ã§ã¯ãã® ID ã渡ãã¦ããããå ã«ãªãã¸ã§ã¯ããçæããå¦çã¨ãã¦å®è£ ããå¿ è¦æãã
ã¢ãããã¼ããæãã 0.01 ã¬ãã«ã®ã¢ãããã¼ãã§äºææ§ãç¡ãäºãæã£ã
â QA
Q : Realm 使ã£ã¦ã¦ä¸ç·ã«ä½¿ãã¨ç¸æ§ã®æªãããã±ã¼ã¸ã¯æãï¼
A : Butter Knife ã ãã¯ã¶ã¤ãã£ãäºãæã
A : toString ã = ããªã¼ãã¼ã©ã¤ãåºæ¥ãªãã®ã§ãããã°ã大å¤ã ãã©ã©ããã¦ãï¼
Q : å¥éDumpããå¦çãæºåãã¦ãã
ã¤ãã³ãåç¥
æå¾ã« Realm é¢é£ã®ã¤ãã³ãã®åç¥ãæãã¾ããã
Realm meetup #1 - connpass
http://realm.connpass.com/event/12028/
ä»ã®åå è ã®ããã°è¨äº
Realm Tech Talk with JP Simard 1 ã«è¡ã£ã¦ãã¾ãã #realm_jp - ãããªã¤ã«ï¼
http://nowsprinting.hatenablog.com/entry/2015/02/21/191139
é¢é£æ å ±
次ä¸ä»£ã¢ãã¤ã«åããã¼ã¿ãã¼ã¹Realmã使ã£ã¦ã¿ã-Realm Tech Talkã«è¡ã£ã¦ã¿ãï¼-ãï½ãGeekroidï¼ä»®ï¼
http://mynavi-agent.jp/it/geekroid/2015/03/realm-realm-tech-talk-.html