<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jamie&#039;s Blog &#187; Programming</title>
	<atom:link href="http://www.angelforge.org/wordpress/tags/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.angelforge.org/wordpress</link>
	<description>My life is words.</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:00:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ActionScript Animation</title>
		<link>http://www.angelforge.org/wordpress/programming/actionscript-animation/</link>
		<comments>http://www.angelforge.org/wordpress/programming/actionscript-animation/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 18:33:24 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1724</guid>
		<description><![CDATA[Kosal had a problem pausing between tweens. We went through several revisions.
First I suggesting defining the tween properties via array and using anonymous functions passed to the setTimeout function. 
We found out anonymous functions were a no-go in his version of ActionScript. Then, I suggested using globals, which resulted in the following code:

// globals

var g_mc,
	g_a,
	g_b,
	g_c;

function [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://salsen.com">Kosal</a> had a <a href="http://stackoverflow.com/questions/976967/pausing-between-lines-of-actionscript">problem</a> pausing between tweens. We went through several revisions.</p>
<p>First I suggesting defining the tween properties via array and using anonymous functions passed to the setTimeout function. </p>
<p>We found out anonymous functions were a no-go in his version of ActionScript. Then, I suggested using globals, which resulted in the following code:</p>
<pre class="brush: jscript;">
// globals

var g_mc,
	g_a,
	g_b,
	g_c;

function animate () {
	var arr = [
			// mc, slideto vars, timeout
			[ car, 200, 100, 1, 10 ],
			[dog, 200, 100, 5, 5]
		];

	var timeout = 0;
	for ( var i = 0; i &lt; arr.length; i ++ ) {
		var item = arr [ i ];
		g_mc = item [ 0 ];
		g_a = item[1];
		g_b = item[2];
		g_c = item[3];

		timeout += item[4]; // total seconds to timeout

		setTimeout ( doSlide, timeout );
	}
}

function doSlide () {
	g_mc.slideTo ( g_a, g_b, g_c );
}
&lt;/code&gt;

That had a problem with it, as when I was visualizing the code, I forgot that the globals would always point to the last array. We finally wound up with the code below, which uses recursion instead.
&lt;code lang=&quot;actionscript&quot;&gt;
// globals

var g_index = 0,
 g_arr = [];

function animate () {
 g_index = 0;
        g_arr = [
 // mc, slideto vars, timeout
 [ car, 200, 100, 1, 10 ],
 [dog, 200, 100, 5, 5]
 ];
        doSlide ();
}

function doSlide () {
        if ( g_index &lt; g_arr.length  ) {
 var item = g_arr [ g_index ];
 g_mc = item [ 0 ];
 g_a = item[1];
 g_b = item[2];
 g_c = item[3];

 g_mc.slideTo ( g_a, g_b, g_c );
        	g_index ++;
         setTimeout ( doSlide, item[4] );
 }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/actionscript-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stack Overflow &#8211; Digg and Expert Exchange&#8217;s Love Child</title>
		<link>http://www.angelforge.org/wordpress/programming/stack-overflow-digg-and-expert-exchanges-love-child/</link>
		<comments>http://www.angelforge.org/wordpress/programming/stack-overflow-digg-and-expert-exchanges-love-child/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:12:07 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1265</guid>
		<description><![CDATA[There&#8217;s a great new&#8211;I think it&#8217;s new&#8211;site that combines the best aspects of Digg and Experts Exchange into a fun and addicting way to help and be helped!
http://stackoverflow.com/
Look me up:
http://stackoverflow.com/users/85905/jamie
]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a great new&#8211;I think it&#8217;s new&#8211;site that combines the best aspects of Digg and Experts Exchange into a fun and addicting way to help and be helped!</p>
<p><a href="http://stackoverflow.com/">http://stackoverflow.com/</a></p>
<p>Look me up:</p>
<p><a href="http://stackoverflow.com/users/85905/jamie">http://stackoverflow.com/users/85905/jamie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/stack-overflow-digg-and-expert-exchanges-love-child/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-SQL Export Table Data</title>
		<link>http://www.angelforge.org/wordpress/programming/t-sql-export-table-data/</link>
		<comments>http://www.angelforge.org/wordpress/programming/t-sql-export-table-data/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 21:55:59 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1261</guid>
		<description><![CDATA[Here&#8217;s a quick script to export table data:

if exists ( select * from sysobjects where name = 'ExportData_P' )
	drop proc ExportData_P
go

CREATE PROC dbo.ExportData_P (
	@tableName varchar(500),
	@where varchar(5000) = '(1=1)'
)
AS
BEGIN
	SET NOCOUNT ON

	DECLARE @sql varchar(8000)
	DECLARE @fieldList varchar(8000)
	DECLARE @valueList varchar(8000)
	SELECT @fieldList = '', @valueList = ''

	DECLARE @cols TABLE ( column_name nvarchar(250), data_type varchar(250) )
	DECLARE @c nvarchar(250), @data_type varchar(250)

	INSERT INTO [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick script to export table data:</p>
<pre class="brush: sql;">
if exists ( select * from sysobjects where name = 'ExportData_P' )
	drop proc ExportData_P
go

CREATE PROC dbo.ExportData_P (
	@tableName varchar(500),
	@where varchar(5000) = '(1=1)'
)
AS
BEGIN
	SET NOCOUNT ON

	DECLARE @sql varchar(8000)
	DECLARE @fieldList varchar(8000)
	DECLARE @valueList varchar(8000)
	SELECT @fieldList = '', @valueList = ''

	DECLARE @cols TABLE ( column_name nvarchar(250), data_type varchar(250) )
	DECLARE @c nvarchar(250), @data_type varchar(250)

	INSERT INTO @cols
	select column_name, data_type
	from information_Schema.columns
	where table_name = @tableName

	WHILE EXISTS ( SELECT TOP 1 * FROM @cols )
	BEGIN
		SELECT TOP 1 @c = column_name, @data_type = data_type FROM @cols

		SELECT
		@fieldList = @fieldList + @c + ', ',
		@valueList = @valueList + CHAR(13) + 'case when ' + @c + ' is null then ''NULL'' else '''''''' + ' +
			case when @data_type in ('text','ntext','char', 'nvarchar', 'varchar' ) then
				' REPLACE ( REPLACE ( REPLACE ( '
				else ''
			end +
			'IsNull ( convert(varchar' +
			( -- change this section to pass the length of varchar to convert
				case when @data_type in ( 'uniqueidentifier' ) then '(50)'
					when @data_type in ( 'text', 'ntext' ) then '(8000)'
				else '' end
			) +
			', ' +
			@c +
			'), '''' )' + -- end is null
			case when @data_type in ('text','ntext','char', 'nvarchar', 'varchar' ) then
				', CHAR(39), CHAR(39)+CHAR(39) ), CHAR(13), '''' + CHAR(13) + ''''), CHAR(9), '''' + CHAR(9) + '''') '
				else ''
			end +
			' + '''''''' end + '', '' + '

		DELETE FROM @cols WHERE column_name = @c
	END

	SELECT @fieldList = LEFT ( @fieldList, LEN(@fieldList)-1 ),
		@valueList = LEFT ( @valueList, LEN(@valueList)-1 )

	SELECT @sql = 'select ''insert into ' + @tableName + ' (' + @fieldList + ') ' +
		' VALUES ( ''+ ' + left ( @valueList, len(@valueList)-5) + ''') '' from ' + @tableName +
		' WHERE ' + @where

	-- into [#mcoe_temp_export' + @tableName + ']
	print @sql
	EXEC ( @sql )
	--EXEC ( 'select * from [#mcoe_temp_export' + @tableName + ']' )		

	SET NOCOUNT OFF
END

go

exec dbo.ExportData_P 'tablename'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/t-sql-export-table-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSXGraph</title>
		<link>http://www.angelforge.org/wordpress/programming/libraries/jsxgraph/</link>
		<comments>http://www.angelforge.org/wordpress/programming/libraries/jsxgraph/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 18:25:26 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Libraries]]></category>
		<category><![CDATA[computer graphics]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1172</guid>
		<description><![CDATA[Awesome JS graphics library compatible with JQuery and Prototype.
JSXGraph » Examples
]]></description>
			<content:encoded><![CDATA[<p>Awesome JS graphics library compatible with JQuery and Prototype.</p>
<p><a href="http://jsxgraph.uni-bayreuth.de/wp/examples/">JSXGraph » Examples</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/libraries/jsxgraph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gesture Recognition</title>
		<link>http://www.angelforge.org/wordpress/programming/libraries/gesture-recognition/</link>
		<comments>http://www.angelforge.org/wordpress/programming/libraries/gesture-recognition/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 18:20:12 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Libraries]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[gestures]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1167</guid>
		<description><![CDATA[I came across an awesome article on simple gesture recognition.
This page implements a &#8220;$1 Gesture Recognizer&#8221; that is easy, cheap, and usable almost anywhere. It requires under 100 lines of easy code and achieves 97% recognition rates with only one template defined for each gesture below. With 3+ templates defined, accuracy exceeds 99%.
http://depts.washington.edu/aimgroup/proj/dollar/


]]></description>
			<content:encoded><![CDATA[<p>I came across an awesome article on simple gesture recognition.</p>
<blockquote><p><em>This page implements a &#8220;$1 Gesture Recognizer&#8221; that is easy, cheap, and usable almost anywhere. It requires under 100 lines of easy code and achieves 97% recognition rates with only one template defined for each gesture below. With 3+ templates defined, accuracy exceeds 99%.</em></p>
<p><a href="http://depts.washington.edu/aimgroup/proj/dollar/">http://depts.washington.edu/aimgroup/proj/dollar/</a></p></blockquote>
<p><a href="http://depts.washington.edu/aimgroup/proj/dollar/"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/libraries/gesture-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Before We Begin in Earnest</title>
		<link>http://www.angelforge.org/wordpress/uncategorized/230/</link>
		<comments>http://www.angelforge.org/wordpress/uncategorized/230/#comments</comments>
		<pubDate>Thu, 24 Mar 2005 16:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[standardized testing]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=230</guid>
		<description><![CDATA[I haven&#8217;t written for awhile, so here are my last series of entries before I retire this blog.

PatientPro Design Diary
Before We Begin In Earnest
As a prepubscent child, I had but a passing interest in computers. They were as enchanting in their use as edutainment devices&#8211;I must&#8217;ve hogged our classroom computer playing Oregon Trail for hours. [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written for awhile, so here are my last series of entries before I retire this blog.</p>
<hr />
<h5><a href="http://patientpro.blogspot.com" target="_new">PatientPro Design Diary</a></h5>
<h3>Before We Begin In Earnest</h3>
<p><span style="font-family: verdana;">As a prepubscent child, I had but a passing interest in computers. They were as enchanting in their use as edutainment devices&#8211;I must&#8217;ve hogged our classroom computer playing Oregon Trail for hours. I even got a chance to &#8220;program&#8221; in sixth grade, when we were introduced to Basic. I created a program to display an image of Darkwing Duck on screen by drawing the cartoon character on graph paper and plotting pixels by hand&#8211;I felt like I was on the bleeding edge of technology. Still, at home, I didn&#8217;t have a computer, and to aggravate matters, I had a Nintendo. So, instead of becoming profiecient with computers at an early age, I learned to excel at video games.</span></p>
<p>My highschool years offered increased contact with computers at home and at school. My dad purchased a gleaming new Gateway (which still served as the family&#8217;s main computer until a couple months ago), a Pentium II 233 with 10 gigabytes of space. At the time, it cost a couple thousand dollars. At school, we had rows of computers, but they were Macs, and I hated Macs.</p>
<p>My interest in computers mushroomed when I took my first real programming class. We used Borland&#8217;s Turbo C compiler to do trivial tasks that I excelled at. My senior year, I decided to go to Drexel University to study Computer Science, and I took the Computer Science AP* class at my high school. It was an interesting class that gave me lots of things to talk about when I went to my scholarship interview at Drexel. I was able to talk to Professor Bruce Char about things like linked lists and recursion.</p>
<p>I&#8217;ve been blessed with the chance to do pretty much anything I want to do in life&#8211;it&#8217;s a rare gift that the best of us never receive. So, why did I choose to major in Computer Science?</p>
<ol>
<li>I love computers!</li>
<li>I am part idealist and part pramatist, and the job outlook for computer science graduates was looking pretty good in 2000.</li>
</ol>
<p><span style="font-family: verdana;">These past five years, there have been many times when the work seemed impossible to finish, or the rewards too little to drive me forward. Still, I have learned so much, and have had fun doing it. My love of computers has only become deeper, an intimate relationship cultivated over several years.</span></p>
<p>Now, everything I have learned in college will be tested with one final project. To me, my success or failure with this project will measure the progress I have made these passed five years. That project is <span style="font-weight: bold;">PatientPro</span>.</p>
<hr />*<span style="font-size: 78%;"> I received a 1 on the Computer Science AP test, the lowest score one can receive on an AP test.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/uncategorized/230/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reversi (Java)</title>
		<link>http://www.angelforge.org/wordpress/programming/othello-java/</link>
		<comments>http://www.angelforge.org/wordpress/programming/othello-java/#comments</comments>
		<pubDate>Fri, 02 Jul 2004 06:42:55 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[game programming]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[othello]]></category>
		<category><![CDATA[reversi]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=1544</guid>
		<description><![CDATA[This program was written for my first AI class at Drexel University. It features an AI opponent using the MiniMax algorithm.
A Youtube video of the program in action is provided in case you do not want to download the executables:

To run, download the zip file, unzip, and run:
java OthelloApplication
The game was designed to be run [...]]]></description>
			<content:encoded><![CDATA[<p>This program was written for my first AI class at Drexel University. It features an AI opponent using the MiniMax algorithm.</p>
<p>A Youtube video of the program in action is provided in case you do not want to download the executables:<br />
<object width="580" height="360" data="http://www.youtube.com/v/9lsuVibP9p4&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/9lsuVibP9p4&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x234900&amp;color2=0x4e9e00&amp;border=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>To run, download the zip file, unzip, and run:</p>
<pre>java OthelloApplication</pre>
<p>The game was designed to be run as an applet but may not work as such.</p>

<a href='http://www.angelforge.org/wordpress/programming/othello-java/attachment/othello_midplay1/' title='othello_midplay1'><img width="150" height="150" src="http://www.angelforge.org/wordpress/wp-content/uploads/2009/05/othello_midplay1-150x150.gif" class="attachment-thumbnail" alt="" title="othello_midplay1" /></a>
<a href='http://www.angelforge.org/wordpress/programming/othello-java/attachment/othello/' title='othello'><img width="150" height="150" src="http://www.angelforge.org/wordpress/wp-content/uploads/2009/05/othello-150x150.gif" class="attachment-thumbnail" alt="" title="othello" /></a>

<p><a href="https://code.google.com/p/reversi-java/">Project Page (Downloads available)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/othello-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Homework Update</title>
		<link>http://www.angelforge.org/wordpress/programming/343/</link>
		<comments>http://www.angelforge.org/wordpress/programming/343/#comments</comments>
		<pubDate>Mon, 24 May 2004 10:35:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[college]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=343</guid>
		<description><![CDATA[Homework Update!
Work hard people! We&#8217;re almost done! Yay!
Finished
Travelling Tournament Problem [see last wednesday's entry] (cs381)
- 8 teams
- 10/12 teams not fully functional
Othello v .3 (cs451)
- added midgame save feature
- added load feature
- added test units and coverage reports
To Finish
Several Concurrent Programming Problems (cs361) due 5/31
- 1 semaphore problem
- 3 monitor problems
Lucky 13 V .2 (cs338) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Homework Update!</strong></p>
<p>Work hard people! We&#8217;re almost done! Yay!</p>
<p><strong>Finished</strong></p>
<p>Travelling Tournament Problem [see last wednesday's entry] (cs381)<br />
- 8 teams<br />
- 10/12 teams not fully functional</p>
<p><a href="/wordpress/programming/othello-java">Othello v .3 (cs451)</a><br />
- added midgame save feature<br />
- added load feature<br />
- added test units and coverage reports</p>
<p><strong>To Finish</strong></p>
<p>Several Concurrent Programming Problems (cs361) due 5/31<br />
- 1 semaphore problem<br />
- 3 monitor problems</p>
<p>Lucky 13 V .2 (cs338) due 6/1<br />
- will add random ai<br />
- will add gui</p>
<p>Group Term Paper (psy337) due 6/1<br />
- topic: verbal protocols</p>
<p>Human Sociology as Related to PCs (psy337) due 6/1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/programming/343/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Party GUI</title>
		<link>http://www.angelforge.org/wordpress/uncategorized/51/</link>
		<comments>http://www.angelforge.org/wordpress/uncategorized/51/#comments</comments>
		<pubDate>Wed, 03 Dec 2003 19:06:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=51</guid>
		<description><![CDATA[My party goers, click here to see a list of couples who will be playing for title of &#8220;Best Couple.&#8221; http://dusers.drexel.edu/~asian/bd2003/gui.swf
This is version 1 of my party-competition interface. I tested the login on my laptop and it worked fine, but I believe the dusers server uses a older version of PHP, so my scripts may [...]]]></description>
			<content:encoded><![CDATA[<p>My party goers, click here to see a list of couples who will be playing for title of &#8220;Best Couple.&#8221; <a href="http://dusers.drexel.edu/~asian/bd2003/gui.swf" target=_new>http://dusers.drexel.edu/~asian/bd2003/gui.swf</a></p>
<p>This is version 1 of my party-competition interface. I tested the login on my laptop and it worked fine, but I believe the dusers server uses a older version of PHP, so my scripts may need to be modified.</p>
<p><strong>CS/IS/Computer-Related FAQ </strong></p>
<p><strong>Topic: My Party Competition Interface</strong></p>
<p><strong>Question<br /></strong>What did you use to build the interface? How does it work?</p>
<p><strong>Answer<br /></strong>Well, you should all have realized that the graphical user interface (GUI) is presented in Flash SWF format. A discussion on how flash works is beyond the scope of this lesson; suffice it to say that it is a wonderful medium for web-based multimedia. </p>
<p>Each person, along with their email address, full name, and password is stored in a database table called &#8216;People&#8217;. Each of these people has a unique numerical identifier. </p>
<p>Each team, along with the numerical identifier corresponding to the captain of the team and his/her partner, their team name, and score, is stored in a database table called &#8216;Teams&#8217;. Each of these teams has a unique numerical indentifier.</p>
<p>Using PHP: Hypertext Preprocessor (PHP), the database is queried, and class objects corresponding to each Person and each Team are created.</p>
<p>These objects are sent to an XML Renderer, where their attributes are parsed into XML. To see the Renderer in action click one of the following links: <a href="http://www.dusers.drexel.edu/~asian/bd2003/xmlDump.php?type=people" target=_new>View All People</a> | <a href="http://www.dusers.drexel.edu/~asian/bd2003/xmlDump.php?type=teams" target=_new>View All Teams</a>. </p>
<p>Flash loads this dynamically generated XML and generates its own internal objects representing each person and each team.</p>
<p>A movieclip instance for each person is created within Flash, as well as for each team, and the results are displayed as what you see.</p>
<p><img src="http://dusers.drexel.edu/~asian/jamie/flowChart.gif"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/uncategorized/51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Joins</title>
		<link>http://www.angelforge.org/wordpress/uncategorized/55/</link>
		<comments>http://www.angelforge.org/wordpress/uncategorized/55/#comments</comments>
		<pubDate>Mon, 24 Nov 2003 23:37:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.angelforge.org/wordpress/?p=55</guid>
		<description><![CDATA[CS/IS/Computer-Related FAQ 
Topic: SQL
QuestionWhat are joins? What is the difference between all of the different types of joins?
AnswerA join is the combination of columsn across multiple tables. This differs from a union, in that unions are combinations of rows.
The join syntax looks something like:SELECT * FROM tbl1 [LEFT &#124; RIGHT &#124; INNER &#124; OUTER] JOIN [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CS/IS/Computer-Related FAQ </strong></p>
<p><strong>Topic: SQL</strong></p>
<p><strong>Question</strong><br />What are joins? What is the difference between all of the different types of joins?</p>
<p><strong>Answer</strong><br />A <strong>join</strong> is the combination of columsn across multiple tables. This differs from a union, in that unions are combinations of rows.</p>
<p>The join syntax looks something like:<br /><strong>SELECT</strong> * <strong>FROM</strong> <em>tbl1</em> [<strong>LEFT </strong>| <strong>RIGHT </strong>| <strong>INNER </strong>| <strong>OUTER</strong>] <strong>JOIN</strong> <em>tbl2</em> <strong>ON</strong> <em>tbl1.id</em>=<em>tbl2.id</em>;</p>
<p>The syntax of course can have slight variations with additional or alternative keywords. The line above will append the columns of tbl2 onto tbl1, aligning records where the <em>id</em> field of tbl1 is equal to the <em>id</em> field of tbl2.</p>
<p>An <strong>inner join</strong> will return all those records in tbl1 that have a match in tbl2.<br />A <strong>left join</strong> will return all records in tbl1 regardless of it having a match in tbl2. Any missing fields will be filled with <em>NULL</em><strong><em>.<br /></em></strong>A <strong>right join</strong> will return all records in tbl2 regardless of it having a match in tbl1. It is important to note that a left join can be made into a right join by swapping the order of the tables.<br />An <strong>outer join</strong> will return the cross product of the tables, meaning all possible combinations from tbl1 and tbl2.</p>
<p>This concludes today&#8217;s tip. Thank you for <em>join</em>ing me. A har har.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.angelforge.org/wordpress/uncategorized/55/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
