« March 2007 | Main

April 2007 Archives

April 2, 2007

mini-project frustrations

I have to say, I'm quite frustrated with trying to get cross compatibility with IE and Firefox running my mini-project. I've been conversing with a gentlemen from a blog I was using and he offered some suggestions...he actually sent it as a comment, which you can see on this post.

This is the response I sent him, which I'm now posting on here, because I'm so frustrated with this thing!!!

I've been playing with the website, putting a new version here:
http://people.emich.edu/rschwartz/696/miniprojects/iteration3/browserTests/browserTest2/weather3.html
I've changed the var weather = request.responseXML; request to var weather = request.responseXML.firstChild.nextSibling; on my two updatePage functions (one calls current weather, the other calls future).

Both functions are getting to the point where I was having trouble before with the Firefox...I'm not sure if this is a good thing or a bad thing, because before I wasn't using a debugger....at least now I'm seeing WHERE the problem is, although, I'm still not sure WHAT it is. With Firefox, I was able to fix it with using the getElementsByTagNS('site','nodename')...unfortunately, IE doesn't support level 2 DOM at this point, which is why I'm having trouble in the first place. When I made the changes you suggested, I commented out the getElementsByTagNS('site', 'nodename') and typed in getElementsByTag('nodename') in it's place. But it's still stuck!


On the current weather request IE bugs here;

document.getElementById("response").innerHTML =
"" + station[0].getAttribute('name') + "
" +
station[0].getAttribute('city') + ", " + station[0].getAttribute('state') + " "+ station[0].getAttribute('zipcode') + "
" +
"Temperature: " + temp[0].childNodes[0].nodeValue +" " + temp[0].getAttribute('units') + "
" +
"Rain Today: " + rain[0].childNodes[0].nodeValue +"
" +
"Wind Speed: " + windSpeed[0].childNodes[0].nodeValue +" " + windSpeed[0].getAttribute('units') + "
" +
"Wind Direction: " + windDir[0].childNodes[0].nodeValue +"


";

The debugger highlights this entire call.

On the future weather request IE bugs here:

var myResult1= "Forecast for " +
city[0].childNodes[0].nodeValue + ", " + state[0].childNodes[0].nodeValue +
" " + zip[0].childNodes[0].nodeValue + "

" + date[0].childNodes[0].nodeValue + "

";


Also, with the changes to the node calls and the response.responseXML, I'm getting the same error I was getting before with Firefox BEFORE I put in the getElementsByTagNS call.

I'm utterly lost. I have no clue what to do. My teacher suggested using some sort of try/catch, which I did. I created four updatepages...two for firefox and two for IE...the problem is, IE jumps into the firefox one if I put that first and fails (because of the not supporting level 2 DOM thing...). If firefox jumps into it, it works fine....if I put the IE version first, IE is fine, but firefox errors because I need to use the level 2 DOM to parse out the data.

Anything that's bold, you'll have to ignore, because I see that the blog is taking the bold requests that I've put in quotes for my javascript requests.
Anyhow, I am asking for help at this point, because I'm so frustrated! I won't be in class next week. I'm trying to get it finished this week so I can present it on Wednesday!
Thanks everyone!

IE script debugging

I've found an IE script debugger that seems to help catch where errors are. It's not as extensive as Firebug, but it has helped me to narrow down where I'm having problems with my Javascript. You can find it here.

You have to turn on debugging in IE. You can do that by following directions here.

Hope it helps.

April 22, 2007

class reflections

I just wanted to say, that this has been the best class I've ever taken in the MSIS program. I've been at EMU on and off for the last 10 years (mostly on) and I've never enjoyed a class like I enjoyed this one.

I feel like I've learned more in this class than in any other class and Bud's just a great job teaching some really cool stuff!

Thanks so much for everything, everyone...

I've finally finished my Master's (well, except for that trip to China)! Now it's time to find a "big girl job"....any one have any good IT job search places? :)

Open ID

I really like this idea of using your YahooID with OpenID

This is really cool because I have an openID and it's a pain in the bottom to remember the user name/password combination. I never can remember it...so I'm happen that it's getting done this way.

I use this with flickr as well, I can't remember my flickr ID, so i just use my YahooID to login there.

comments on Hack N Mash Iteration 3

I've been reading through some of the Hack N Mash Iteration 3 reviews and it's really interesting...I wanted to make some comments.

I'm really surprised that people thing we made such a huge difference...when in all reality, we didn't do that many changes...is it because we didn't show the main page this time? It really seems like that's what it is.

I also want to thank Linda for doing such a great job. Sometimes, I felt people were kinda harsh..most groups had 3-4 people and were doing the same amount of work as just the two of us. It was hard to come into class to see the amount of progress the groups were making from week to week and knowing that we didn't have that kinda of progress each time. I'm not complaining about not having another person..I really liked working with just one other person, but sometimes it was really overwhelming trying to get so much done!

In the end, though, I'm really proud of what we accomplished. Thanks so much for all your feedback, good and bad....anal and general! This was a great experience!

ideas for the next class

These are my ideas the Learning Remix and the next group of people in the capstone course:

1. Have the blog organization on the side bar have the same capabilities that the tag listing has.
2. Have the page that has the listing of the blogs with a certain tags also have a link back to the main learning remix site
3.Allow for bloggers to change the colors of their site....not the style, just the color.

I have others, but I can't think of anything right now.

outsourcing and IT

One of the biggest things happening now a days is outsourcing in IT...we've all been in courses that teachers have talked about it, especially if you were in the Consulting course.

I'm wondering where it's all going to? I think one place is China. I'm interested to see what, if anything, will be said in the short business courses I'll be taking while I'm in China regarding this issue. What does everyone else think?

learning and API's

I came across this cool website. Just wanted to put it out there:

http://learningapi.com/

interesting website

Pretty cool site related to Ajax and Business:

http://blogs.pathf.com/agileajax/2006/05/10_business_rea.html

AJForm

I found this interesting little "cross browser tool kit" online...it's pretty interesting.

The website says:

Newcomers to Ajax may be looking for an easy way to get up and running with some basic Ajax behaviours in a minimal amount of time. A good option for rapid prototyping of some basic Ajax form behaviours is to use AJFORM. AJFORM is an extremely lightweight and simple cross browser toolkit. It returns the result to a specified JavaScript function or variable. The most interesting thing about AJFORM is it degrades gracefully if the browser won`t support it. In this case, the form is submitted normally with a full page refresh.


AJFORM is a good tool for beginners to provide some basic ajax form capabilities, but is mainly for really simple apps.

Web 4.0?

Have we really gotten this far? Web 4.0 is already in the works...I thought we haven't even gotten to Web 3.0?

Check it out:

Web 4.0 article

Mash ups and legal issues

I know we briefly talked about ownership and use of api's....Google charging a price if you get over x amount of hits..but what's really going on with ownership of mash ups?

Here's a nifty article that talks about just that.

Learning remix on the web

I did a google search of "learning remix" and this is so cool...

This website listed our stuff!

Now how cool is that? Talk about recognition!

congratulations

Well, I'm assuming that most of us are in 696 because we're graduating this year, so I wanted to say, congratulations.

If you need any information about the graduation ceremony, it's here.

CONGRATULATIONS MSIS STUDENTS!

Environmental Health:
An Inconvient Truth

Stuff from Google

Local Weather