Where do we begin?

Main menu

Post navigation

Lately I've been working on learning not only JQuery but also more on CSS, Javascript and more PHP.Â We're using API's to handle any sql calls.Â

An experimental project involved transfer courses and which schools offer which courses that have PSU equivalents was used to not only familiarize myself with jquery but also understand all the other components that are needed (or just desired) to have in the application.Â

Then I moved onto a program which allows a user (via an oracle directory object) to be able to upload their feeds without connecting to unix.Â JQuery handled this beautifully sans some obstacles such as quotes begin uploaded getting in the way etc.Â I would like to share bits of this technique.Â

Things that need to happen are:

Make sure all is secure,Â I use Yale CAS so the user not only needs a portal account, but they also need to be included in the authorization listing.Â

Set up the mechanism to get the file to be uploaded.Â

Give the filename a title which is passed as a parameter

Allow the user to view the contents before uploading.Â From the time the file is picked up, it is encoded.Â

Then when the user clicks on the upload button, it automatically goes to the directory for pickup later on.Â

I can not show allÂ the code, but can show the obstacles that got in my way while working on this.Â First issue was passing an array successfully.Â We ended up flattening it out like this:

What that basically did was, after I assigned a class called itemarray (in the template),Â jqueryÂ can now searchÂ for the class and pick up the attributes and values.Â If you want to put it back into an array afterwards, just assign the values in a loop back into it.Â

Issue #2:Â This one had me stumped at first, but although it picked up the file I was transferring correctly, when I tried to upload a comma quote delimited file - the items in behavior.js didn't know what to do with the quotes!Â Finally I found that if you do a urlencode first when sending the values and then urldecode the values when you wish to view the results, it works great.Â If you do nothing and there are quotes in the file, nothing will upload and the process will fail.Â

So, the process is now working.Â Thanks to Matt Batchelder for helping me with some of this and getting me started with jquery!Â Hope you find some of this useful.Â

Well, still having fun with Jquery.Â I'm curious though if there are any experts out there that have used Jquery in an application that involves downloading and uploading files?Â We've been experimenting with it and found that uploading and downloading involves more than I thought. Â The biggest hurdle with this is associative arrays.Â As soon as I can figure out the best way to handle this, will post.Â If you know easy ways to do this please do post!Â Thanks.

This stuff is great! If you are interested the site is: http://www.visualjquery.com/index.xml

Going to get into that technology - it appears to have the things we need. Technology is growing so fast these days.... one of my colleagues, Matt Batchelder just got back from an Ajax conference and I think that what he picked up will greatly enhance what we are trying to accomplish on campus. jQuery rocks!
..............and web surfing will be even more fun!

Getting ready to deliver the 2hr presentation to the SUNY Wizard Conference next Wednesday. Looking forward to meeting everyone and delivering the presentation. I love talking!

Start of the school year always is a trial.Â In the chaos of things we're still able to remain sane and productive.Â Yay!

I just got a CD done that reflects our experience at Sungard Summit this past year.Â Today I hope to show it. Â Always nervous about things like that though.... guess it's an artsy thing huh.Â Found a great site today for you history buffs.Â It's atÂ http://www.picture-history.com/ and shows pictures and stories of some of the most famous and intense times.Â Enjoy!

Got invited to speak at the Wizard's Conference in NY.Â I am so excited to be able to do this!Â It's the same presentation I gave at Summit and is so much fun to give except now I need to remember what I 'said' somewhat and remember what slides come next well (there are 98 or so of them).Â It's funny how much you forget in just a few months.....Â PSU definitely rocks!

Now and then at lunchtime I work on my book. The other day I went to see how many pages I had and found I could not see the page numbers. They *used* to work. Then while trying to do a mailmerge, I could not see the image for the header. That *used* to work. Then when merging and viewing merge results I could not see the merged field information! That *used* to work. I just love the idea that those programmers who probably live in Hollywood dream houses get paid a fortune to do that.... Yup.... makes me soooo happy. Yup... I'm just sooo happy... They really know how to test and put that stuff out there.... Yup. (NH translation Ayupppp)

Just LUV those upgrades..... just LUV those bugs/er/features even more!
Gotta find some paper that needs TEARING UP!!!! Yup Yup Yup...... Off to RIP AND TEAR! (It's a healthy thing you know.....)

Had a very bad last week and worst weekend but it's over for now.Â I just found the most unique and interesting site I absolutely LOVE!Â For you math buffs try: http://scienceblogs.com/goodmath/

It's a bit complicated, but makes total sense.Â I always knew that math has a lot to do with what goes on around us, whether we see it or not, and to think in those terms - hey, lies can be built so easily from it.... it's scarey.Â Folks using statistics to easily lie to the public.... Big important folks like Homeland Security.... ouch!Â If you have the time, check it out.Â It's a real eye-opener.

Am thinking of how easy it is to just wake up, hit that blue button and everything just automagically falls into place..... It doesn't matter what you are trying to accomplish - just hit that button and your job is done! -grin-

The blue button was a beast that lived regularly during our POISE stage. It was easy to create a report by just hitting that one command. We got really used to those! Of course, that command has a ton of processes behind it that the user sometimes does and sometimes does not know about. Over time, the blue button eventually becomes a black box.

Enter a new database system! Blue buttons were abandoned and scattered everywhere in a frenzy of survival and panic. Everyone wanted them back, but they were just blue non-functional things now and the question is - should they be replaced? Can they be recreated?

Doing a daily routine of a lot of not so complicated things is a very desirable situation to be in for those who really don't mind change. Of course, that's usually the individual who doesn't use a blue button or is even aware that they are using one. Also, it's hard to be challenged in an environment that nobody is 100% used to yet. We have been drawn into a situation where depending on others is much more important than before. We find we now need to communicate and work with each other, and we find, most importantly, how much we need each other's skills.

The blue button world was where a person could come in, push it, wait for the outcome and then deliver. Rarely would a group effort enter into this. That button was that person's responsibility and in no way should anyone else touch it..... But, the value of "the button" suddenly decreases for the department. That button is dependent on that person, and that person alone. Were we in that situation? I've seen it here and there, but fortunately not too often, and those buttons are now long gone.

Are blue buttons good or bad? I can't help but think of the fact that technology changes wait for nobody. Change seems to destroy those "blue buttons" so maybe they'll evolve into something less stiff and black-boxy. I'm extremely uncomfortable with the idea of applications being developed by folks with absolutely no programming background or experience whatsoever. Push this button and code automagically just pops out? Those are very scarey applications.
Thoughts?

I'm sitting here counting on my fingers the number of things I keep putting off, like:

Getting the video I was working on done that uses the pictures from Summit 2006.

Working on my book

Submitting photos to the Photographer's Workshop

This list really does go on and on... and practically none of it is work related.Â I don't get it that I can procrastinate with the things I love to do vs the things I need to do - like work.Â (slapping side of head right now)....Â Â that's soooo wrooong......
It's down time!Â I have bad case of "downatimeaanemia", I just know it!Â It would be nice to just have a week to do absolutely nothing so I guilt myself into doing at least those three items above.Â Ahhh yes, that, and a nice tall - very tall - (no - even taller!) glass of Planter's Punch from Fosters would definitely do the trick.Â Got a week off after next week and can't wait!

This morning I woke up to find my cats playing with a live snake.Â How it got into the house is beyond me but it was a little one and very fast so it's likely it slipped in while a door was open and we weren't looking.Â Then, in the shower I found a fat spider.Â Waking up to snakes and spiders isn't exactly what I had in mind!Â Mind you tho - I turned them loose safely in the back yard.Â Did ya ever feel like that religious bald guy that turns everything loose and safe on that commercial on TV?Â Â Â Something like that.