The short answer is no, but is possible. Even if implemented
it wont be magical, weather you have to code it yourself or is built in the 
framework
raw must be sent to all the user's channels/pipes. I have not spend the 
time documenting 
the code on the server side as much as i have in the client side but i did 
thought 
about this feature. Take a look at this block of code:

/*
 * Built-in object modifications
 */
Ape.user.prop = Ape.channel.prop = function(index, value){
if(typeof index == 'string' && typeof value != 'undefined'){
return this.setProperty(index, value);
}
 if(typeof index == 'string' && typeof value == 'undefined'){
return this.getProperty(index) || false;
}
 return this.pipe.toObject().properties;
}

I use this method in the server side to set and get properties of a user or 
channel object. 
For example to get the name from a user object it would be 
    user.prop("name")
to set or overwrite a property would be
    user.prop("name", "pablo')
and if for some reason you would need all the public properties
    user.prop()

By using a single method to set and get properties it would be easy to 
automate the process of the public property propagation with a raw/event

On Saturday, August 4, 2012 4:18:06 PM UTC-4, UTAN wrote:
>
> Does your implementation  saves user properties in the server side, 
> not only on add user but also after the user already joined the 
> channel? 
>
> If it does would be very handy because you will not need to 
> synchronize data set at server and update it with raw in client 
> side.. 
>
> I will open to  a lot of possibilities and will save a lot of code... 
> this what I think Ape is missing at the moment for the most part I've 
> wished they would add this on this same code we have at the moment , 
> and not just wait for Ape 2.. 
>
>
> On Aug 2, 1:43 pm, Pablo Tejada <[email protected]> wrote: 
> > I cant tell you yes or no, it all depends on the complexity of your app. 
> > You should dig into the demo sources, play with the API and determine if 
> it 
> > provides all the methods and data that your application requires. 
> > On Aug 2, 2012 4:04 PM, "Louis Charette" <[email protected]> 
> wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > For existing APE app, is it easy to switch to your framework? I'll 
> > > probably give it a try. 
> > 
> > > Envoyé de mon iPhone 
> > 
> > > Le 2012-08-02 à 15:52, Pablo Tejada <[email protected]> a écrit : 
> > 
> > > Hi everyone, 
> > 
> > > I've been working in an alternative APE framework for a while now, i 
> must 
> > > have one or two other posts in this mailing group about different 
> states of 
> > > this project. Now i want to share a more solid state in its progress. 
> > 
> > > When i first started the project my goal was to create a simple object 
> > > add-on to manage the APE server connection, ease multi channel 
> handling, 
> > > fix common session errors, better server reconnection and working user 
> to 
> > > user communication. While at one point i did accomplish this it just 
> made 
> > > the codebase more complex than it already is. 
> > 
> > > Now the project has evolve into a standalone light framework, no 
> longer 
> > > dependent on MooTools or the original APE_JSF. Compare to the original 
> > > framework it is simpler to setup since a domain nor wildcards are 
> requiere, 
> > > an IP will work just fine. Simplified RAWs and CMDs into just incoming 
> and 
> > > outgoing Events. Just simpler framework overall. 
> > 
> > > Is far from perfect, it is a work in progress after all. I put up a 
> few 
> > > demos to showcase the framework here 
> > > http:// <http://crusthq.com/script/ApePubSub/demo/>crusthq.com<
> http://crusthq.com/script/ApePubSub/demo/> 
> > > /script/ <http://crusthq.com/script/ApePubSub/demo/>ApePubSub<
> http://crusthq.com/script/ApePubSub/demo/> 
> > > /demo/ <http://crusthq.com/script/ApePubSub/demo/> 
> > 
> > > The source is in a github repo 
> > > https:// <https://github.com/ptejada/ApePubSub>github.com<
> https://github.com/ptejada/ApePubSub> 
> > > / <https://github.com/ptejada/ApePubSub>ptejada<
> https://github.com/ptejada/ApePubSub> 
> > > / <https://github.com/ptejada/ApePubSub>ApePubSub<
> https://github.com/ptejada/ApePubSub> 
> > 
> > > I also created a mailing list for those  interested in the project 
> > > https:// <
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > > groups.google.com<
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > > /forum/m/?<
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > > fromgroups<
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > > #!forum/ <
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > > apepubsub <
> https://groups.google.com/forum/m/?fromgroups#!forum/apepubsub> 
> > 
> > > As well as a quick github wiki for more information 
> > > https:// <https://github.com/ptejada/ApePubSub/wiki>github.com<
> https://github.com/ptejada/ApePubSub/wiki> 
> > > / <https://github.com/ptejada/ApePubSub/wiki>ptejada<
> https://github.com/ptejada/ApePubSub/wiki> 
> > > / <https://github.com/ptejada/ApePubSub/wiki>ApePubSub<
> https://github.com/ptejada/ApePubSub/wiki> 
> > > /wiki <https://github.com/ptejada/ApePubSub/wiki> 
> > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> > > Groups "APE Project" group. 
> > > To post to this group, send email to [email protected] 
> > > To unsubscribe from this group, send email to 
> > > [email protected] 
> > > For more options, visit this group at 
> > >http://groups.google.com/group/ape-project?hl=en 
> > > --- 
> > > APE Project (Ajax Push Engine) 
> > > Official website :http://www.ape-project.org/ 
> > > Git Hub :http://github.com/APE-Project/ 
> > 
> > >  -- 
> > > You received this message because you are subscribed to the Google 
> > > Groups "APE Project" group. 
> > > To post to this group, send email to [email protected] 
> > > To unsubscribe from this group, send email to 
> > > [email protected] 
> > > For more options, visit this group at 
> > >http://groups.google.com/group/ape-project?hl=en 
> > > --- 
> > > APE Project (Ajax Push Engine) 
> > > Official website :http://www.ape-project.org/ 
> > > Git Hub :http://github.com/APE-Project/ 
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to