Greetings, In building RIA''s i''ve run into quite a few pitfalls myself, and as everyone says this technology is so new that no one really knows "best practices" yet, but I think i may have developed something worth noting. I have certainly experienced a benefit from the architecture of an "Ajax Service" I''ve written a complete article about it including example code. As this idea is so new I havn''t had much time to really kick the tires so I''m really looking forward to what this community thinks about the idea. http://positionabsolute.net/blog/2007/07/javascript-service.php Cheers, Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey Matt, just read the post. Good stuff man. It looks like you''re making some of the same natural progressions towards a complete RIA/widget framework that we made while creating WebWidgetry and MashupStudio. You''re definitely doing cool stuff!! The next steps are adding support for multiple transport types (script insertion, iframe, etc..), garbage collection services (becomes important for long running single page apps in order to not have degraded performance as elements and event handlers continue to come in and out of existence), binding to data feeds and web services, etc... BTW - thanks for the link to my blog on your custom events post :-) If you ever want to chat off-list about this stuff, I would love to talk widgets with you, share implementation ideas, demo our tech, etc... just send me a gmail chat or an email. On 7/12/07, Matt <mattfoster01-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Greetings, > > > In building RIA''s i''ve run into quite a few pitfalls myself, > and as everyone says this technology is so new that no one really > knows "best practices" yet, but I think i may have developed something > worth noting. I have certainly experienced a benefit from the > architecture of an "Ajax Service" I''ve written a complete article > about it including example code. As this idea is so new I havn''t had > much time to really kick the tires so I''m really looking forward to > what this community thinks about the idea. > > http://positionabsolute.net/blog/2007/07/javascript-service.php > > Cheers, > Matt > > > > >-- Ryan Gahl Manager, Senior Software Engineer Nth Penguin, LLC http://www.nthpenguin.com -- Architect WebWidgetry.com / MashupStudio.com Future Home of the World''s First Complete Web Platform -- Inquire: 1-262-951-6727 Blog: http://www.someElement.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Matt, Ryan, I just read Matt''s post and linked article (3 times). I am afraid I don''t get it. Not because I think it is a bad idea but I lack the understanding and background to appreciate what you are doing or suggesting. If you had to sum up in three of four sentences the Ajax service what would you say. I am trying to get my head around Javascript. Been reading a lot but find the information to fall into two camps. 1. The cut and paste camp - They provide a cookbook with step by step instructions. 2. The object oriented camp - This camp has a very advanced audience. I find myself wanting to be in the company of camp #2, and out of camp #1. Kind of like Junior High. That awkward stage where you don''t really know what to do so you just do stupid, obnoxious things. What would you guys recommend for me as I try to advance my javascript skills? Thanks, Terry Riegel p.s. Ryan, how can I learn more about webwidgetry and mashupstudio? On Jul 12, 2007, at 1:20 PM, Ryan Gahl wrote:> Hey Matt, just read the post. Good stuff man. It looks like you''re > making some of the same natural progressions towards a complete RIA/ > widget framework that we made while creating WebWidgetry and > MashupStudio. You''re definitely doing cool stuff!! > > The next steps are adding support for multiple transport types > (script insertion, iframe, etc..), garbage collection services > (becomes important for long running single page apps in order to > not have degraded performance as elements and event handlers > continue to come in and out of existence), binding to data feeds > and web services, etc... > > BTW - thanks for the link to my blog on your custom events post :-) > > If you ever want to chat off-list about this stuff, I would love to > talk widgets with you, share implementation ideas, demo our tech, > etc... just send me a gmail chat or an email. > > On 7/12/07, Matt <mattfoster01-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Greetings, > > > In building RIA''s i''ve run into quite a few pitfalls myself, > and as everyone says this technology is so new that no one really > knows "best practices" yet, but I think i may have developed something > worth noting. I have certainly experienced a benefit from the > architecture of an "Ajax Service" I''ve written a complete article > about it including example code. As this idea is so new I havn''t had > much time to really kick the tires so I''m really looking forward to > what this community thinks about the idea. > > http://positionabsolute.net/blog/2007/07/javascript-service.php > > Cheers, > Matt > > > http://www.nthpenguin.com > -- > Architect > WebWidgetry.com / MashupStudio.com > Future Home of the World''s First Complete Web Platform > -- > Inquire: 1-262-951-6727 > Blog: http://www.someElement.com > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Terry, I recommend (and I think many folks around would as well) reading JavaScript: The Definitive Guide by Flanagan This would be a huge step for you towards professional OO Javascript... Terry Riegel wrote:> > Matt, Ryan, > > I just read Matt''s post and linked article (3 times). I am afraid I > don''t get it. Not because I think it is a bad idea but I lack the > understanding and background to appreciate what you are doing or > suggesting. > > If you had to sum up in three of four sentences the Ajax service what > would you say. > > I am trying to get my head around Javascript. Been reading a lot but > find the information to fall into two camps. > > 1. The cut and paste camp - They provide a cookbook with step by step > instructions. > 2. The object oriented camp - This camp has a very advanced audience. > > I find myself wanting to be in the company of camp #2, and out of > camp #1. Kind of like Junior High. That awkward stage where you don''t > really know what to do so you just do stupid, obnoxious things. > > What would you guys recommend for me as I try to advance my > javascript skills? > > Thanks, > > Terry Riegel > > p.s. Ryan, how can I learn more about webwidgetry and mashupstudio? > > > > > On Jul 12, 2007, at 1:20 PM, Ryan Gahl wrote: > >> Hey Matt, just read the post. Good stuff man. It looks like you''re >> making some of the same natural progressions towards a complete RIA/ >> widget framework that we made while creating WebWidgetry and >> MashupStudio. You''re definitely doing cool stuff!! >> >> The next steps are adding support for multiple transport types >> (script insertion, iframe, etc..), garbage collection services >> (becomes important for long running single page apps in order to >> not have degraded performance as elements and event handlers >> continue to come in and out of existence), binding to data feeds >> and web services, etc... >> >> BTW - thanks for the link to my blog on your custom events post :-) >> >> If you ever want to chat off-list about this stuff, I would love to >> talk widgets with you, share implementation ideas, demo our tech, >> etc... just send me a gmail chat or an email. >> >> On 7/12/07, Matt <mattfoster01-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Greetings, >> >> >> In building RIA''s i''ve run into quite a few pitfalls myself, >> and as everyone says this technology is so new that no one really >> knows "best practices" yet, but I think i may have developed something >> worth noting. I have certainly experienced a benefit from the >> architecture of an "Ajax Service" I''ve written a complete article >> about it including example code. As this idea is so new I havn''t had >> much time to really kick the tires so I''m really looking forward to >> what this community thinks about the idea. >> >> http://positionabsolute.net/blog/2007/07/javascript-service.php >> >> Cheers, >> Matt >> >> >> http://www.nthpenguin.com >> -- >> Architect >> WebWidgetry.com / MashupStudio.com >> Future Home of the World''s First Complete Web Platform >> -- >> Inquire: 1-262-951-6727 >> Blog: http://www.someElement.com >> > > > > > > >-- View this message in context: http://www.nabble.com/Ajax-Service-tf4069460.html#a11598184 Sent from the RubyOnRails Spinoffs mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On the topic of the service, I began to ponder about the idea of handling the history problem. If state is defined by the information represented by the components then what if the service would be able to dispatch events in reverse order by stashing them in an array to produce the effect of stepping back through the interface. Terry, I recommend a new approach to graduation, cut, paste, read. I have absorbed most of my knowledge about OO javascript from reading Thomas Fuchs Effect classes and his uses of Inheritance. Also read Prototype source code, get your head around Function.prototype.bind and the idea of a function closure. Cheers, Matt On Jul 14, 7:13 pm, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Terry, > > I recommend (and I think many folks around would as well) reading > JavaScript: The Definitive Guide by Flanagan > > This would be a huge step for you towards professional OO Javascript... > > > > Terry Riegel wrote: > > > Matt, Ryan, > > > I just read Matt''s post and linked article (3 times). I am afraid I > > don''t get it. Not because I think it is a bad idea but I lack the > > understanding and background to appreciate what you are doing or > > suggesting. > > > If you had to sum up in three of four sentences the Ajax service what > > would you say. > > > I am trying to get my head around Javascript. Been reading a lot but > > find the information to fall into two camps. > > > 1. The cut and paste camp - They provide a cookbook with step by step > > instructions. > > 2. The object oriented camp - This camp has a very advanced audience. > > > I find myself wanting to be in the company of camp #2, and out of > > camp #1. Kind of like Junior High. That awkward stage where you don''t > > really know what to do so you just do stupid, obnoxious things. > > > What would you guys recommend for me as I try to advance my > > javascript skills? > > > Thanks, > > > Terry Riegel > > > p.s. Ryan, how can I learn more about webwidgetry and mashupstudio? > > > On Jul 12, 2007, at 1:20 PM, Ryan Gahl wrote: > > >> Hey Matt, just read the post. Good stuff man. It looks like you''re > >> making some of the same natural progressions towards a complete RIA/ > >> widget framework that we made while creating WebWidgetry and > >> MashupStudio. You''re definitely doing cool stuff!! > > >> The next steps are adding support for multiple transport types > >> (script insertion, iframe, etc..), garbage collection services > >> (becomes important for long running single page apps in order to > >> not have degraded performance as elements and event handlers > >> continue to come in and out of existence), binding to data feeds > >> and web services, etc... > > >> BTW - thanks for the link to my blog on your custom events post :-) > > >> If you ever want to chat off-list about this stuff, I would love to > >> talk widgets with you, share implementation ideas, demo our tech, > >> etc... just send me a gmail chat or an email. > > >> On 7/12/07, Matt <mattfoste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > >> Greetings, > > >> In building RIA''s i''ve run into quite a few pitfalls myself, > >> and as everyone says this technology is so new that no one really > >> knows "best practices" yet, but I think i may have developed something > >> worth noting. I have certainly experienced a benefit from the > >> architecture of an "Ajax Service" I''ve written a complete article > >> about it including example code. As this idea is so new I havn''t had > >> much time to really kick the tires so I''m really looking forward to > >> what this community thinks about the idea. > > >>http://positionabsolute.net/blog/2007/07/javascript-service.php > > >> Cheers, > >> Matt > > >>http://www.nthpenguin.com > >> -- > >> Architect > >> WebWidgetry.com / MashupStudio.com > >> Future Home of the World''s First Complete Web Platform > >> -- > >> Inquire: 1-262-951-6727 > >> Blog:http://www.someElement.com > > -- > View this message in context:http://www.nabble.com/Ajax-Service-tf4069460.html#a11598184 > Sent from the RubyOnRails Spinoffs mailing list archive at Nabble.com.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---