firebug debugging

1 view
Skip to first unread message

justin kruger

unread,
May 2, 2008, 11:31:01 AM5/2/08
to opensoc...@googlegroups.com
i was wondering if anyone had put some effort into creating a JS
framework file for opensocial debugging in FireFox's Firebug?

i would think that it would be fairly easy to link to a JS file with
some default data. i would assume that there would either be a
varrable in or a different JS file to load depending on whether the
viewer is anonymous, a friend of the owner, a friend of a friend of
the owner, just logged in, or the owner. This should give an easier
method of testing locally without a network.

--
--
Justin Kruger
http://jDavid.net
jDavi...@gmail.com

"If you are successful, it is because somewhere, sometime, someone
gave you a life or an idea that started you in the right direction.
Remember also that you are indebted to life until you help some less
fortunate person, just as you were helped." --Melinda Gates

jfahrenkrug

unread,
May 6, 2008, 10:09:55 AM5/6/08
to OpenSocial - OpenSocial Application Development
Hi Justin,

that sounds very interesting. I was already thinking about building a
local testing environment based on the ruby on rails opensocial
container implementation. But a pure JS approach would be a lot cooler
and more lightweight. I have Firebug installed of course and love
using it, but have never extended it (if that's what you're talking
about). Do you have experience with this? I would be on board to help
with this.

- Johannes

--
http://blog.springenwerk.com

On May 2, 5:31 pm, "justin kruger" <justin.kru...@gmail.com> wrote:
> i was wondering if anyone had put some effort into creating a JS
> framework file for opensocial debugging in FireFox's Firebug?
>
> i would think that it would be fairly easy to link to a JS file with
> some default data. i would assume that there would either be a
> varrable in or a different JS file to load depending on whether the
> viewer is anonymous, a friend of the owner, a friend of a friend of
> the owner, just logged in, or the owner. This should give an easier
> method of testing locally without a network.
>
> --
> --
> Justin Krugerhttp://jDavid.net
> jDavid....@gmail.com

justin kruger

unread,
May 6, 2008, 10:28:46 AM5/6/08
to opensoc...@googlegroups.com
actually someone has done some very interesting work for us.

check out happyhour http://code.google.com/p/happyhour/

its a js file that implements the OpenSocial v0.7 Framework, and
connects it to google gears.
i think i would prefer to have it as a full browser plugin, and
instead of getting data from a local store,
i would like to be able to get access to prototype examples that are
community built.

like
"george" is someone with no friends, but is married with "laura"
"laura" has 2 kids, barbara, and jenna, but they don't want their dad
"george" to know what they are up to and they sometimes share more
data with their mom.

"barrak" and "paul" have a lot of friends in common but also a lot
that are not in common, each might have 50,000- 2,000,000 friends

"john" who went to school with "george" but they don't get along now

"arnold" who has a lot of friends, and is part of two groups,
"hollywood" and "politics"

"violet" might like gothic styles, so everything is black, and she
always hates it when apps use black text and white backgrounds

my point, even though its themed a little, is it would be great to
have a community of open data that prototypes a number of scenarios
and would be cached locally in browser, but the data warehouse would
be on line.

having a standard set of characters, would mean that when we are
testing, we can say i was having a problem with the "VIOLET" profile
rendering my widget, can you take a look at it. I think it might also
create a few inside jokes.

Ok, time to get back to work, let me know if you start using HappyHour.

--

"If you are successful, it is because somewhere, sometime, someone

jfahrenkrug

unread,
May 7, 2008, 4:28:59 AM5/7/08
to OpenSocial - OpenSocial Application Development
Justin,

thank you so much for the info about Happyhour! It's really great! I
wrote a super-mini tutorial about it on my blog:
http://blog.springenwerk.com/2008/05/local-opensocial-development-and.html

As soon as I have some time I'll look into packaging it into an
extension. I've built Firefox extensions before, so it shouldn't be
too hard.

Cheers,

Johannes

On May 6, 4:28 pm, "justin kruger" <justin.kru...@gmail.com> wrote:
> actually someone has done some very interesting work for us.
>
> check out happyhourhttp://code.google.com/p/happyhour/

justin kruger

unread,
May 7, 2008, 10:31:47 AM5/7/08
to opensoc...@googlegroups.com
Great post, keep me posted. I need to practice the XUL thing, we
should work on the project together.

Do you want to lead a google code project?

--

"If you are successful, it is because somewhere, sometime, someone

jfahrenkrug

unread,
May 13, 2008, 9:56:59 AM5/13/08
to OpenSocial - OpenSocial Application Development
Maybe we should get in touch with the happyhour guys first, what do
you think?

On May 7, 4:31 pm, "justin kruger" <justin.kru...@gmail.com> wrote:
> Great post, keep me posted. I need to practice the XUL thing, we
> should work on the project together.
>
> Do you want to lead a google code project?
>
>
>
> On Wed, May 7, 2008 at 3:28 AM, jfahrenkrug <jfahrenk...@gmail.com> wrote:
>
> > Justin,
>
> > thank you so much for the info about Happyhour! It's really great! I
> > wrote a super-mini tutorial about it on my blog:
> > http://blog.springenwerk.com/2008/05/local-opensocial-development-and...

justin kruger

unread,
May 13, 2008, 10:00:46 AM5/13/08
to opensoc...@googlegroups.com
yeah, i tried using happyhour for my project, and it did not work. my
file namespace was so all over the place and it was just as
unpredictable as deployment, not to mention caching problems.

i want to get my app launched and then i might work to fix happyhour/
port it to xul.

--

"If you are successful, it is because somewhere, sometime, someone

Viveka

unread,
Jul 8, 2008, 2:41:20 PM7/8/08
to OpenSocial - OpenSocial Application Development
I installed google gears and happy hour. Happy hour seems to load the
simple xml files. Hello world kind of gadgets work well. But, If I
start using onclick in javascript, it doesn't work at all.
Reply all
Reply to author
Forward
0 new messages