- Uncategorized by Peter Goodman on Sep 2, 2006 @ 9:22am with no comments
Off to University
jQuery Inspired Actionscript Library, part 2
Hah, didn't expect a part II now did you? Well, I was contemplating it too. So, here's why: last night I was thinking about how I would make the categories (groups of tags with a single name) section in OneLobby interesting, and somewhat different than the single tag view, so I decided I will show a category relationships section. The way this will work is that I will find similar categories (based on categories that use some of the tags of the current category) and then find similar categories of those categories. Only two levels deep. Then hopefully I will sort out all the unique ones, and find a nice way of finding links between them (efficiently). Finally, I'll output all this info to XML and flash with read it.
» read the rest of this entry.
- Development
- OneLobby
- Flash
- Actionscript by Peter Goodman on Aug 29, 2006 @ 5:49pm with 2 comments
New Google Search Result Layout?
Edit: It's actually the SEO Books extension that causes this. I had it installed but didn't know what it was. My bad. Otherwise, I think it's still pretty cool!
For the first time I'm the one who gets to see the cool new UI tests google does. Well, I took a screenshot of it...
» read the rest of this entry.
- Uncategorized by Peter Goodman on Aug 28, 2006 @ 9:49pm with 4 comments
Globals, Singletons and (Public) Static Members
I've decided that a solid explanation of where global variables, singletons and public static members of a class should be used is in order. Even though none of these three things are the same, they all share a single commonality: they can be accessed anywhere and in any scope. Lets get to it then...
» read the rest of this entry.
- Development
- PHP by Peter Goodman on Aug 27, 2006 @ 8:49pm with 2 comments
jQuery Inspired Actionscript Library
So the other week while I was fooling around with flash, I decided to make something. It was nothing really, just a good way for me to learn how to use the Actionscript language. I got generally far when I realized: "some of the things in this language annoy me. I wish there could be a jQuery for actionscript." And so on that wish, I made a jQuery for actionscript.
» read the rest of this entry.
- Flash
- Actionscript by Peter Goodman on Aug 25, 2006 @ 3:23pm with 3 comments
Observers and Dispatchers
Maybe you've used a framework that uses Observers and Dispatchers, or you've heard of them but don't know how they work. Well, I'm going to explain them and tell you why they're so useful.
First, what are the observer and dispatcher patterns? Well, just as their names imply, they are a set of classes that observe events and another set of classes that dispatch events. This might seem like a mouthful, so instead of giving you more explanations, I will show you how they work:
» read the rest of this entry.
- Development
- PHP by Peter Goodman on Aug 24, 2006 @ 10:01pm with 6 comments
PHP4 Iterators Explained
The common PHP application will generally have this layout:
- Query the database
- Loop over the database result set, and on each loop, add the result to a large array of data.
- Loop over that large array of data and format it. (Most application will just skip this step and do it in the previous one)
- Set the big formatted array of database information to the template
- The template engine loops over the array and displays the appropriate thing for each row.
Woah. That's a lot of looping! Now, before I even tell you how iterators work, I'm going to show you how they can change your application. Here is how all of the above would work with a setup using iterators:
- Query the database.
- Use an iterator to deal with the database result set. On each iteration, a row will be taken from the database result.
- Use another iterator on top of the database result set iterator to format the data. On each iteration, the row will be formatted.
- Set the data formatting iterator, which has the database result set iterator in it, to the template.
- The template loops over the iterator for the first time, in each iterator the result row is fetched from the database, then formatted, then displayed.
At this point you might be thinking, your list of how the iterator works is longer and more complicated. Not so! You might also not see the benefit of the iterator yet either, so let me explain them in more detail...
» read the rest of this entry.
- Development
- PHP by Peter Goodman on Aug 24, 2006 @ 1:29pm with 3 comments
Accessible Flash
» read the rest of this entry.
- Development
- Javascript
- Flash
- Actionscript by Peter Goodman on Aug 22, 2006 @ 6:49pm with 1 comments
- Categories
-
- Uncategorized (28)
-
Development (31)
- PHP (35)
- Javascript (6)
- CSS (1)
- XHTML (2)
- Flash (5)
- Actionscript (5)
- Common Lisp (2)
- Python (4)
- C (2)
-
Applications (6)
- OneLobby (5)
- Rants (3)
- Archives
-
- August 2008 (1)
- July 2008 (2)
- June 2008 (5)
- May 2008 (1)
- January 2008 (2)
- December 2007 (2)
- August 2007 (7)
- July 2007 (7)
- June 2007 (8)
- May 2007 (9)
- April 2007 (4)
- March 2007 (1)
- February 2007 (5)
- January 2007 (3)
- December 2006 (6)
- November 2006 (3)
- October 2006 (3)
- September 2006 (4)
- August 2006 (7)
- Blogroll

