Hi All I am new to BlackBook Gem , and i am really exited to implement this utility in my web application to enable the users of my website to fetch their contacts from the AOL , Yahoo , Gmail etc. My Application is implemented in PHP. So please suggest me how to use blackbook gem with my existing PHP application. Any help or suggestion would be greatly appriciated. Thanks Gaurav -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 9 Jan 2009, at 10:30, Gaurav Sharma wrote:> > Hi All > > I am new to BlackBook Gem , and i am really exited to implement this > utility in my web application to enable the users of my website to > fetch > their contacts from the AOL , Yahoo , Gmail etc. > > My Application is implemented in PHP. So please suggest me how to use > blackbook gem with my existing PHP application.It''s a ruby library. You can only access it from ruby, so I suggest you learn some ruby Fred> > > Any help or suggestion would be greatly appriciated. > > Thanks > Gaurav > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 9 Jan 2009, at 10:30, Gaurav Sharma wrote: > >> >> Hi All >> >> I am new to BlackBook Gem , and i am really exited to implement this >> utility in my web application to enable the users of my website to >> fetch >> their contacts from the AOL , Yahoo , Gmail etc. >> >> My Application is implemented in PHP. So please suggest me how to use >> blackbook gem with my existing PHP application. > It''s a ruby library. You can only access it from ruby, so I suggest > you learn some ruby > > FredHi Fred Thanks for your response , can i embed this ruby application in my PHP application.?? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Gaurav, You can have rails and PHP co-existing in the same server, but you would have to "glue" the applications together... You cannout use the gem directly in your PHP application. Cheers, Sazima On Jan 9, 8:46 am, Gaurav Sharma <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Frederick Cheung wrote: > > On 9 Jan 2009, at 10:30, Gaurav Sharma wrote: > > >> Hi All > > >> I am new to BlackBook Gem , and i am really exited to implement this > >> utility in my web application to enable the users of my website to > >> fetch > >> their contacts from the AOL , Yahoo , Gmail etc. > > >> My Application is implemented in PHP. So please suggest me how to use > >> blackbook gem with my existing PHP application. > > It''s a ruby library. You can only access it from ruby, so I suggest > > you learn some ruby > > > Fred > > Hi Fred > > Thanks for your response , can i embed this ruby application in my PHP > application.?? > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sazima wrote:> Gaurav, > > You can have rails and PHP co-existing in the same server, but you > would have to "glue" the applications together... You cannout use the > gem directly in your PHP application. > > Cheers, Sazima > > On Jan 9, 8:46�am, Gaurav Sharma <rails-mailing-l...-ARtvInVfO7m5VldFQK4jKA@public.gmane.orgt>Hi Sazima, Thanks for your response , can i invoke the ruby file/application that is using gem and returning the output to the PHP variable or i need to develop an web service in ruby and to invoke that web service from PHP. Waiting for your response. Thanks Gaurav -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Well, you could develop a shell script / rake task or something like this, but I think its cleaner to do it via web service. Cheers, Sazima On Jan 20, 6:30 am, Gaurav Sharma <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Sazima wrote: > > Gaurav, > > > You can have rails and PHP co-existing in the same server, but you > > would have to "glue" the applications together... You cannout use the > > gem directly in your PHP application. > > > Cheers, Sazima > > > On Jan 9, 8:46 am, Gaurav Sharma <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > Hi Sazima, > > Thanks for your response , can i invoke the ruby file/application that > is using gem and returning the output to the PHP variable or i need to > develop an web service in ruby and to invoke that web service from PHP. > > Waiting for your response. > > Thanks > Gaurav > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---