<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>I tried YII framework before aswell as DOOPHP framework and Zend Framework... i was not very happy with any of them, and CakePHP is too heavy and slow ( and no support for NOSQL )... that's why i decided to build my own framework with a minimal core and taking what i love from CakePHP and taking out what i hate form it. Riak is also just the first NOSQL i implement on it, models for others like Cassandra, CouchBase, etc... could be implemented later, then you can just use any databases you want in a same app just extending their models like:<br /><br />class UserModel extends RiakModel {}<br />class MessageModel extends CassandraModel {} <- this one doesn't exist at the moment, just example<br />class WhateverModel extends SQLModel {} <- for traditional relational databases<br />etc...<br /><br />Hope the examples on my ppt can help you with your "<span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;">filtering by object column partially working</span></span></span>" : )<br /><br />Rohman</p>
<p>On Tue, 26 Jul 2011 22:32:56 -0400, Jonathan Langevin wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Ominous reference to "virus-free" aside, interesting ppt.</p>
<div><br />
<div>I'm actually working on an ActiveRecord-style implementation for Riak in Yii Framework, functions like so:</div>
<div>$user = new User;</div>
<div>$user->attributes = $_POST['User']; // massively assigning attributes</div>
<div>$user->name = 'Joe Dirt'; // individual attribute assignment</div>
<div>$user->save();</div>
<div>
<div><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;"><br /></span></span></span></div>
<div>$user = User::model()->findByPk($id);</div>
<div>$user->name = 'Joe Dirt';</div>
<div>$user->save();</div>
<div><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;">I have result sorting functioning, and I have filtering by object column partially working. Hopefully I'll have a stable result in a month or so.</span></span></span></div>
<div><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;">Building the extension so that it's not limited to just Riak, but hopefully a variety of storage methods (Riak just happens to be my specific use case).</span></span></span></div>
<div><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;"><br /></span></span></span></div>
<div><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;">Cheers, good luck on your CakePHP-style rendition.</span></span></span></div>
<div><span style="color: #000000; font-family: arial;"><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;"><br /></span></span></span></span>
<table style="width: 100%;" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td style="font-family: arial; margin: 0px;" rowspan="2" colspan="1" valign="top"><a style="color: #2a5db0;" href="http://www.loomlearning.com/"><img src="cid:317e345964d128d6a6a45620232bdf1b@mahalostudio.com" alt="" /></a></td>
<td style="font-family: arial; margin: 0px;" valign="top">
<table style="font-family: arial; font-size: 13px; border-collapse: collapse; width: 100%;" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td style="font-family: arial; margin: 0px;" valign="top"><span style="font-family: Helvetica,Arial,sans-serif;"><em><strong lang="sr-Latn-RS">Jonathan Langevin</strong></em><br /><span style="color: gray;"><small>Systems Administrator</small></span></span></td>
</tr>
<tr>
<td style="font-family: arial; border-top-width: 1px; border-top-style: solid; border-top-color: black; margin: 0px;" valign="top"><span style="color: gray;"><small><span style="font-family: Helvetica,Arial,sans-serif;"><strong>Loom Inc.</strong><br />Wilmington, NC: (910) 241-0433 - <a style="color: #2a5db0;" href="mailto:jlangevin@loomlearning.com">jlangevin@loomlearning.com</a> - <a style="color: #2a5db0;" href="http://www.loomlearning.com/">www.loomlearning.com</a> - Skype: intel352</span></small></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br /><br /><br />
<div class="gmail_quote">On Tue, Jul 26, 2011 at 10:21 PM, Kev Burns <span><<a href="mailto:kevburnsjr@gmail.com">kevburnsjr@gmail.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">Here's a virus-free version of Antonio's slide deck (Google Docs)<br /><a href="https://docs.google.com/present/view?id=dhpxng6q_51gdj6r9wn">https://docs.google.com/present/view?id=dhpxng6q_51gdj6r9wn</a><br /><br clear="all" /> - Kev<br />c: <a>+001 (650) 521-7791</a>
<div>
<div class="h5"><br /><br /><br />
<div class="gmail_quote">On Tue, Jul 26, 2011 at 6:23 PM, Antonio Rohman Fernandez <span><<a href="mailto:rohman@mahalostudio.com">rohman@mahalostudio.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;"><span style="text-decoration: underline;"></span>
<div>
<p>for PHP you can take a look at this slides i made, is about "phpCloud Framework" a new PHP5 MVC framework i'm building with Riak integration in place : ) is based on CakePHP that borrows heavily on Ruby on Rails.<br /> You can download the slides on this address ( seems the file is too big for the distribution list as my last mail couldn't be sent ):<br /><br /><a href="http://mahalostudio.com/Riak_phpCloud.pptx">http://mahalostudio.com/Riak_phpCloud.pptx</a><br /><br />Rohman</p>
<p>--</p>
<div><img alt="line" width="643" height="7" />
<table style="margin-bottom: 7px; width: 643px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="190"><a href="http://mahalostudio.com/"><img style="margin-left: 10px;" alt="logo" width="162" height="44" border="0" /></a></td>
<td width="10"> </td>
<td valign="top" width="225"><span style="color: #5f5f5f; font-family: Verdana; font-size: small;"><strong>Antonio Rohman Fernandez</strong></span><br /><span style="color: #5f5f5f; font-family: Arial; font-size: xx-small;"><span style="font-size: 8.5pt; color: #5f5f5f;">CEO, Founder & Lead Engineer</span><br /><a style="text-decoration: none;" href="mailto:rohman@mahalostudio.com"><span style="font-size: 8.5pt; color: #519f3f;">rohman@mahalostudio.com</span></a></span></td>
<td width="10"> </td>
<td valign="top" width="225"><span style="color: #5f5f5f; font-family: Verdana; font-size: small;"><strong>Projects</strong></span><br /><span style="color: #5f5f5f; font-family: Arial; font-size: xx-small;"><a style="text-decoration: none;" href="http://marubatsu.es/"><span style="font-size: 8.5pt; color: #2e974d;">MaruBatsu.es</span></a><br /><a style="text-decoration: none;" href="http://pupcloud.com/"><span style="font-size: 8.5pt; color: #519f3f;">PupCloud.com</span></a><br /><a style="text-decoration: none;" href="http://wedding.mahalostudio.com/"><span style="font-size: 8.5pt; color: #519f3f;">Wedding Album</span></a></span></td>
</tr>
</tbody>
</table>
<img alt="line" width="643" height="7" /></div>
<div>
<p>On Tue, 26 Jul 2011 20:00:27 -0400, Jonathan Langevin wrote:</p>
</div>
<blockquote style="padding-left: 5px; border-left: #1010ff  2px  solid; margin-left: 5px; width: 100%;">
<div>
<p>Looks interesting, but doesn't appear very intuitive (at least, to a PHP dev)<span style="font-family: Helvetica; font-size: medium;"><strong><span style="color: #255afc;"></span></strong></span></p>
<div><span style="color: #000000; font-family: arial;"><span style="color: #000000; font-family: arial;"><span style="font-weight: normal; font-size: small;"><span style="font-family: arial; font-size: 13px; border-collapse: collapse;"><br /></span></span></span></span>
<table style="width: 100%;" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td style="font-family: arial; margin: 0px;" rowspan="2" colspan="1" valign="top"><a style="color: #2a5db0;" href="http://www.loomlearning.com/"><img alt="" /></a></td>
<td style="font-family: arial; margin: 0px;" valign="top">
<table style="font-family: arial; font-size: 13px; border-collapse: collapse; width: 100%;" border="0" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td style="font-family: arial; margin: 0px;" valign="top"><span style="font-family: Helvetica;"><em><strong lang="sr-Latn-RS">Jonathan Langevin</strong></em><br /><span style="color: gray;"><small>Systems Administrator</small></span></span></td>
</tr>
<tr>
<td style="font-family: arial; border-top-width: 1px; border-top-style: solid; border-top-color: black; margin: 0px;" valign="top"><span style="color: gray;"><small><span style="font-family: Helvetica;"><strong>Loom Inc.</strong><br /> Wilmington, NC: <a>(910) 241-0433</a> - <a style="color: #2a5db0;" href="mailto:jlangevin@loomlearning.com">jlangevin@loomlearning.com</a> - <a style="color: #2a5db0;" href="http://www.loomlearning.com/">www.loomlearning.com</a> - Skype: intel352</span></small></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-family: Helvetica; font-size: medium;"><strong><span style="color: #255afc;"></span></strong></span><br /><br /><br /></p>
</div>
<div class="gmail_quote">
<div>On Mon, Jul 25, 2011 at 9:40 AM, francisco treacy <span><<a href="mailto:francisco.treacy@gmail.com">francisco.treacy@gmail.com</a>></span> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div>It's awesome for ad-hoc querying, at least. An example can better explain.<br /><br /> Consider this:<br /><br /> db.add('users').map('query', '.address .street where</div>
.weight:expr(x !.expired').run()
<div>
<div><br /><br /> as opposed to:<br /><br /> db.add('users').map(function(v) {<br />  v = Riak.mapValuesJson(v)[0];<br />  var result = [];<br />  if ((v.weight < 180 || v.exempt) && v.acl && v.acl.state === '1101'<br /> && !v.expired) {<br />    if (v.address) {<br />      result.push(v.address.street);<br />    }<br />  }<br />  return result;<br /> }).run()<br /><br /><br /> riak-ql is basically adding some query sugar (where, &&) on top of<br /> JSONSelect... which you can try it out here:<br /><a href="http://jsonselect.org/#tryit">http://jsonselect.org/#tryit</a><br /><br /><br /> 2011/7/25 Mark Phillips <<a href="mailto:mark@basho.com">mark@basho.com</a>>:<br />
<div>
<div>> Hey Francisco,<br /> ><br /> > I for one would be interested in learning some more specifics on how<br /> > you're using it. I suspect others might be, too...<br /> ><br /> > Mark<br /> ><br /> > On Sat, Jul 23, 2011 at 4:40 PM, francisco treacy<br /> > <<a href="mailto:francisco.treacy@gmail.com">francisco.treacy@gmail.com</a>> wrote:<br /> >> Hey all,<br /> >><br /> >> Just wondering... is anyone using, or have tried out riak-ql?<br /> >> <a href="https://github.com/frank06/riak-ql">https://github.com/frank06/riak-ql</a><br /> >><br /> >> Not because I developed it -- but I'm regularly making use of it and I<br /> >> think it kicks ass. Especially in the repl in combo with riak-js.<br /> >><br /> >> What do you guys think?<br /> >><br /> >> Francisco<br /> >><br /> >> ps: really curious/excited about the upcoming Secondary Indices functionality<br /> >><br /> >> _______________________________________________<br /> >> riak-users mailing list<br /> >> <a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br /> >> <a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br /> >><br /> ><br /><br /> _______________________________________________<br /> riak-users mailing list<br /><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br /><a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a></div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br />_______________________________________________<br /> riak-users mailing list<br /><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br /><a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br /><br /></blockquote>
</div>
</div>
</div>
<br />_______________________________________________<br /> riak-users mailing list<br /><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br /><a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br /><br /></blockquote>
</div>
</div>
</div>
</blockquote>
<div>-- <br />
<div><img src="http://webmail.mahalostudio.com/sig_top.gif" alt="line" width="643" height="7" />
<table style="margin-bottom: 7px; width: 643px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="190"><a href="http://mahalostudio.com" target="_blank"><img style="margin-left: 10px;" src="http://webmail.mahalostudio.com/mahalo-logo-mini.png" alt="logo" width="162" height="44" border="0" /></a></td>
<td width="10"> </td>
<td valign="top" width="225"><span style="color: #5f5f5f; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: small;"><strong>Antonio Rohman Fernandez</strong></span><br /><span style="color: #5f5f5f; font-family: Arial,Helvetica,sans-serif; font-size: xx-small;"><span style="font-size: 8.5pt; color: #5f5f5f;">CEO, Founder & Lead Engineer</span><br /><a style="text-decoration: none;" href="mailto:rohman@mahalostudio.com" target="_blank"><span style="font-size: 8.5pt; color: #519f3f;">rohman@mahalostudio.com</span></a></span></td>
<td width="10"> </td>
<td valign="top" width="225"><span style="color: #5f5f5f; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: small;"><strong>Projects</strong></span><br /><span style="color: #5f5f5f; font-family: Arial,Helvetica,sans-serif; font-size: xx-small;"><a style="text-decoration: none;" href="http://marubatsu.es" target="_blank"><span style="font-size: 8.5pt; color: #2e974d;">MaruBatsu.es</span></a><br /><a style="text-decoration: none;" href="http://pupcloud.com" target="_blank"><span style="font-size: 8.5pt; color: #519f3f;">PupCloud.com</span></a><br /><a style="text-decoration: none;" href="http://wedding.mahalostudio.com" target="_blank"><span style="font-size: 8.5pt; color: #519f3f;">Wedding Album</span></a></span></td>
</tr>
</tbody>
</table>
<img src="http://webmail.mahalostudio.com/sig_top.gif" alt="line" width="643" height="7" /></div>
</div>
</body></html>