riak-ql

Antonio Rohman Fernandez rohman at mahalostudio.com
Tue Jul 26 21:23:05 EDT 2011


  

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.
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 ):

http://mahalostudio.com/Riak_phpCloud.pptx

Rohman 

--  

 		
[13]

 ANTONIO ROHMAN FERNANDEZ
CEO, Founder & Lead
Engineer
rohman at mahalostudio.com [14] 		 
 PROJECTS
MaruBatsu.es
[15]
PupCloud.com [16]
Wedding Album [17] 

On Tue, 26 Jul 2011 20:00:27
-0400, Jonathan Langevin wrote: 

> Looks interesting, but doesn't
appear very intuitive (at least, to a PHP dev) 
> 
> [9]
> 
> _JONATHAN
LANGEVIN_
> Systems Administrator 
> 
> LOOM INC.
> Wilmington, NC:
(910) 241-0433 - jlangevin at loomlearning.com [10] - www.loomlearning.com
[11] - Skype: intel352 
> 
> On Mon, Jul 25, 2011 at 9:40 AM, francisco
treacy wrote:
> 
>> It's awesome for ad-hoc querying, at least. An
example can better explain.
>> 
>> Consider this:
>> 
>>
db.add('users').map('query', '.address .street where
>> .weight:expr(x
!.expired').run()
>> 
>> as opposed to:
>> 
>>
db.add('users').map(function(v) {
>> v = Riak.mapValuesJson(v)[0];
>>
var result = [];
>> if ((v.weight < 180 || v.exempt) && v.acl &&
v.acl.state === '1101'
>> && !v.expired) {
>> if (v.address) {
>>
result.push(v.address.street);
>> }
>> }
>> return result;
>>
}).run()
>> 
>> riak-ql is basically adding some query sugar (where, &&)
on top of
>> JSONSelect... which you can try it out here:
>>
http://jsonselect.org/#tryit [1]
>> 
>> 2011/7/25 Mark Phillips :
>>

>>> Hey Francisco,
>> >
>> > I for one would be interested in learning
some more specifics on how
>> > you're using it. I suspect others might
be, too...
>> >
>> > Mark
>> >
>> > On Sat, Jul 23, 2011 at 4:40 PM,
francisco treacy
>> > wrote:
>> >> Hey all,
>> >>
>> >> Just
wondering... is anyone using, or have tried out riak-ql?
>> >>
https://github.com/frank06/riak-ql [4]
>> >>
>> >> Not because I
developed it -- but I'm regularly making use of it and I
>> >> think it
kicks ass. Especially in the repl in combo with riak-js.
>> >>
>> >>
What do you guys think?
>> >>
>> >> Francisco
>> >>
>> >> ps: really
curious/excited about the upcoming Secondary Indices functionality
>>
>>
>> >> _______________________________________________
>> >>
riak-users mailing list
>> >> riak-users at lists.basho.com [5]
>> >>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
[6]
>> >>
>> >
>> 
>> _______________________________________________
>>
riak-users mailing list
>> riak-users at lists.basho.com [7]
>>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com [8]



Links:
------
[1] http://jsonselect.org/#tryit
[2]
mailto:mark at basho.com
[3] mailto:francisco.treacy at gmail.com
[4]
https://github.com/frank06/riak-ql
[5]
mailto:riak-users at lists.basho.com
[6]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
[7]
mailto:riak-users at lists.basho.com
[8]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
[9]
http://www.loomlearning.com/
[10] mailto:jlangevin at loomlearning.com
[11]
http://www.loomlearning.com/
[12] mailto:francisco.treacy at gmail.com
[13]
http://mahalostudio.com/
[14] mailto:rohman at mahalostudio.com
[15]
http://marubatsu.es/
[16] http://pupcloud.com/
[17]
http://wedding.mahalostudio.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110727/169f0c73/attachment.html>


More information about the riak-users mailing list