Flush

This Blogger version of the blog has been archived. You may visit the WordPress version of the blog at the regular address http://www.ivanwlam.com/blog/flush/.

Saturday, October 11, 2008

What Am I Doing? (Oct 2008)

Web Languages

As I had posted in the past few entries, I’m teaching myself the relatively basic web programming languages by working on my site, mostly the portfolio section. I’ve conducted a couple experiments to get a better understanding and grip of these languages. Learning Cookies, Ajax, and PHP has been very exciting and has stirred up project ideas.

Every day I wish I would have enough energy after work to work a little bit on my site or an experiment. I could see myself doing this as a career, although I haven’t been with the big kids yet, so troubleshooting one line in the haystack of hundreds that others have written might make me think otherwise. Still, it’s exciting when things work the way you want it to, and that might make it all worth it.

Economy and Job

So the economy’s not doing so well. Just when you think you’re at the bottom, you’re wrong. This isn’t really affecting me as directly as other Americans, since I don’t intend to buy a house or borrow large sums of money in the near future.

But when others suffer, we might, too. I’m talking specifically about companies’ ability (or inability) to keep their finances in the black, which may require them to lay off some employees, employees who might now compete with me in the job market, or employees whose positions that I desire but seize to exist because they’re laid off.

So that makes me reconsider the length of my employment at Peet’s. But then again, if I worry too much, which I probably already have, I won’t get anywhere.

Flush.

Labels: , , , , , , , , , , , , ,

Monday, September 15, 2008

Cookies Basics

Portfolio section, Show/Hide Panels button

I can now write cookies. I had been avoiding it for a while because I knew it would be a little more complex than basic JavaScript, and that I don’t like how cookies are used for “evil” sometimes. Cookies have a bad rap of taking personal information and whatnot, and I want to avoid that for my sites as much and as long as possible. And now I’m using it only to enhance visitor experience and it does not collect personal information.

I created an experiment with cookies in my Experiments section. It involves taking a name and storing it into the browser cookies, and then also created a switch button that just makes a setting go on and off. I did it for my portfolio section, where I want the visitor to have the option to show the “panels” of navigation within the portfolio section or to hide them, and not have to keep setting it every time the visitor returns to the site.

It’s a basic function, and it’s non-intrusive, and it still works without the function or JavaScript. In fact, if the browser disables JavaScript, the button disappears! You can test it yourself with your browser. And like I said before, the portfolio page exists; follow my site’s navigation format and you’ll get there.

Flush.

Labels: , , , ,