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:
class UserModel extends RiakModel {}
class MessageModel extends CassandraModel {} <- this one doesn't exist at the moment, just example
class WhateverModel extends SQLModel {} <- for traditional relational databases
etc...
Hope the examples on my ppt can help you with your "filtering by object column partially working" : )
Rohman
On Tue, 26 Jul 2011 22:32:56 -0400, Jonathan Langevin wrote:
Ominous reference to "virus-free" aside, interesting ppt.
I'm actually working on an ActiveRecord-style implementation for Riak in Yii Framework, functions like so:$user = new User;$user->attributes = $_POST['User']; // massively assigning attributes$user->name = 'Joe Dirt'; // individual attribute assignment$user->save();$user = User::model()->findByPk($id);$user->name = 'Joe Dirt';$user->save();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.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).Cheers, good luck on your CakePHP-style rendition.
Jonathan Langevin
Systems AdministratorLoom Inc.
Wilmington, NC: (910) 241-0433 - [email protected] - www.loomlearning.com - Skype: intel352
On Tue, Jul 26, 2011 at 10:21 PM, Kev Burns <[email protected]> wrote:
Here's a virus-free version of Antonio's slide deck (Google Docs)
https://docs.google.com/present/view?id=dhpxng6q_51gdj6r9wn
- Kev
c: +001 (650) 521-7791
On Tue, Jul 26, 2011 at 6:23 PM, Antonio Rohman Fernandez <[email protected]> wrote:
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--
![]()
Antonio Rohman Fernandez
CEO, Founder & Lead Engineer
[email protected]Projects
MaruBatsu.es
PupCloud.com
Wedding AlbumOn 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)
Jonathan Langevin
Systems AdministratorLoom Inc.
Wilmington, NC: (910) 241-0433 - [email protected] - www.loomlearning.com - Skype: intel352
On Mon, Jul 25, 2011 at 9:40 AM, francisco treacy <[email protected]> wrote:It's awesome for ad-hoc querying, at least. An example can better explain..weight:expr(x !.expired').run()
Consider this:
db.add('users').map('query', '.address .street where
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
2011/7/25 Mark Phillips <[email protected]>:
> 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
> <[email protected]> wrote:
>> Hey all,
>>
>> Just wondering... is anyone using, or have tried out riak-ql?
>> https://github.com/frank06/riak-ql
>>
>> 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
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
| Antonio Rohman Fernandez CEO, Founder & Lead Engineer [email protected] |
Projects MaruBatsu.es PupCloud.com Wedding Album |
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

