{"id":440,"date":"2006-11-02T23:06:43","date_gmt":"2006-11-03T04:06:43","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store"},"modified":"2006-11-03T23:58:03","modified_gmt":"2006-11-04T04:58:03","slug":"core-data-and-mysql-as-a-data-store","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store","title":{"rendered":"Core Data and MySQL as a data store?"},"content":{"rendered":"<p>I&#8217;ve been thinking a lot about <a href=\"http:\/\/developer.apple.com\/macosx\/coredata.html\">Core Data<\/a> recently. It supports SQLite out of the box, and its rather scalable and fast. Main reason being sqlite3 is included on every desktop and server of OS X that has shipped since 10.4 (Tiger).<\/p>\n<p>It got me thinking about using MySQL as a data store. It will involve work, as Core Data itself is not extensible. And if written, will we have to embed MySQL into the application? What kind of problems will this pose? Licensing is the least of my worries, I&#8217;m thinking more from an application perspective.<\/p>\n<p>I haven&#8217;t played with the Enterprise Objects Framework (EOF) yet, but it allows custom SQL, and is available in WebObjects so its probably time to take a gander. Only real problem is its not in Core Data, thus not available in desktop applications. Then there&#8217;s <a href=\"http:\/\/sourceforge.net\/projects\/ajrdatabase\/\">AJRDatabase<\/a> which allows you to use EOF via Objective-C, which seems to be the missing link.<\/p>\n<p>And then, why MySQL? Because it might be cool to use FEDERATED tables? Especially if FEDERATED is extended to allow local modifications&#8230;<\/p>\n<p>Some useful resources: <a href=\"http:\/\/www.macgeekery.com\/gspot\/2005-40\/core_data_as_a_cheap_database\">Core Data as a Cheap Database<\/a>, <a href=\"http:\/\/www.cocoadev.com\/index.pl?CoreDataWish\">CoreDataWish<\/a>.<br \/>\n<!-- technorati tags start --><\/p>\n<p style=\"text-align:right;font-size:10px;\">Technorati Tags: <a href=\"http:\/\/www.technorati.com\/tag\/coredata\" rel=\"tag\">coredata<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/macosx\" rel=\"tag\">macosx<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/mysql\" rel=\"tag\">mysql<\/a><\/p>\n<p><!-- technorati tags end --><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Core%20Data%20and%20MySQL%20as%20a%20data%20store%3F&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F11%2F02%2Fcore-data-and-mysql-as-a-data-store&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"3de23cb016\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-440\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-440\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-440\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been thinking a lot about Core Data recently. It supports SQLite out of the box, and its rather scalable and fast. Main reason being sqlite3 is included on every desktop and server of OS X that has shipped since 10.4 (Tiger). It got me thinking about using MySQL as a data store. It will [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Core%20Data%20and%20MySQL%20as%20a%20data%20store%3F&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F11%2F02%2Fcore-data-and-mysql-as-a-data-store&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"3de23cb016\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-440\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-440\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-440\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/11\/02\/core-data-and-mysql-as-a-data-store?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[23],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-76","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1336,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/02\/19\/kde-42-brings-the-mysql-server-to-the-desktop","url_meta":{"origin":440,"position":0},"title":"KDE 4.2 brings the MySQL server to the desktop","date":"19\/2\/2009","format":false,"excerpt":"If you're using Fedora 10, and are a KDE desktop user, you'll notice that your latest KDE 4.2 update, requires having a local MySQL server installed. This is due to Akonadi, part of the KDE PIM packages, that now rely on MySQL as a default server, for storing PIM data.\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":594,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/07\/26\/mysql-related-resources-that-you-will-enjoy-reading","url_meta":{"origin":440,"position":1},"title":"MySQL-related resources that you will enjoy reading","date":"26\/7\/2007","format":false,"excerpt":"The great Internet is littered with some really useful MySQL-related articles, that I think you'll enjoy reading just as much as I did.I've not given Google Gears too much of a look yet, but its definitely interesting and the tutorials at O'Reilly's ONLamp site help one play with it: The\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1349,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/02\/27\/dictionary-data-for-mysql","url_meta":{"origin":440,"position":2},"title":"Dictionary data for MySQL?","date":"27\/2\/2009","format":false,"excerpt":"I'm told WordWeb, a dictionary application for Windows, allows you to find words, quite unlike the MacOSX dictionary. I've never even found a usable dictionary when I use Linux, that doesn't require me to go online. The whole idea is that if I search for the phrase cure all, I\u2026","rel":"","context":"In &quot;Databases&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":550,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/07\/yahoo-pipes-the-edwin-pipe-in-under-15-minutes","url_meta":{"origin":440,"position":3},"title":"Yahoo! Pipes &#8211; the Edwin Pipe in under 15 minutes","date":"7\/5\/2007","format":false,"excerpt":"At the MySQL Conference the closing keynote was on Yahoo! Pipes, by Pasha Sadri, a Principal Software Engineer, Advanced Development Division, Yahoo!. I wanted to try it, but I was on Firefox 1.5 on Fedora Core 6 and there was no way I was going to build a pipe during\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1347,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/02\/24\/on-magnolia-and-data-recovery","url_meta":{"origin":440,"position":4},"title":"On Ma.gnolia, and data recovery","date":"24\/2\/2009","format":false,"excerpt":"There's a good podcast from Chris Messina and Larry Halff, about what really happened at Ma.gnolia. If you're at all interested in what happened (i.e. how did they lose all their bookmark data), don't hesitate to watch the video. I took some quick notes: half a terabyte database file got\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2832,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/11\/30\/groonga-fulltext-search-library-for-cloud-web","url_meta":{"origin":440,"position":5},"title":"groonga &#8211; fulltext search library for cloud &#038; web","date":"30\/11\/2013","format":false,"excerpt":"This is an incomplete fragment from 2011. Figure its worth publishing this now, considering MariaDB is likely to get groonga in the near future. The groonga team have released MariaDB 10.0.6 binaries as well. This is all part of the mroonga\u00a0project. These were my quick notes from the groonga talk\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/440"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/440\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}